Skip to content
Handy Browser Tools

JSON to YAML Converter

Paste JSON below and get equivalent YAML with block-style indentation, handy for Kubernetes manifests, Docker Compose, GitHub Actions and other config files. Values that could be misread as YAML are quoted automatically.

Private by default: processing stays on your device
YOUR JSON

Paste or type JSON to convert

YAML, instantly.

Converts as you type; downloads as .yaml.

YAML output

Good to know

Large integers are preserved exactly. Conversion runs entirely in your browser.

Example: JSON → YAML

Input

{
  "name": "Ada",
  "tags": [
    "dev",
    "admin"
  ]
}

Output

name: Ada
tags:
  - dev
  - admin
Share this page X LinkedIn Reddit

These buttons share the page link, not your input.

Frequently asked questions

What JSON does it accept?

Any valid JSON value, including objects, arrays, strings, numbers, booleans and null, nested to any depth. Invalid JSON is reported inline so you can fix it before converting.

Why are some strings wrapped in quotes?

Strings that YAML would otherwise read as a number, boolean, null or a special character (like "true", "123" or "a: b") are double-quoted so the YAML round-trips back to the same value.

Does it convert YAML back to JSON?

This tool goes JSON → YAML. For the reverse, format your JSON with the JSON Formatter; YAML parsing may be added as a separate tool.

Is my data private?

Completely. Conversion happens entirely in your browser, and nothing is ever uploaded to a server.

JSON Formatter

Format, beautify and validate JSON instantly in your browser.

XML Formatter

Format and validate XML online with proper indentation.

JSON Minifier

Minify JSON online by removing all whitespace and line breaks.