Convert JSON to YAML in your browser
Paste JSON, get YAML with two-space indentation and no line wrapping. Strings that would be read as numbers are quoted, so an ID like 0123 stays a string.
- Files never leave your device
- No account, no queue
- Works offline
- No upload step
How it works
- 1
Paste the JSON
Any valid JSON value: an object, an array, or a scalar.
- 2
Read the YAML
Keys keep their original order and long strings are not folded.
- 3
Copy or download
Ready for a manifest, a config file or a README example.
Frequently asked questions
Why are some strings quoted in the output?
Because YAML would otherwise change their type. "no" parses as false and "0123" as an octal-ish number, so the writer quotes them. That quoting is what keeps the conversion lossless.
Does it wrap long lines?
No. Line wrapping is disabled because folded scalars are easy to misread and hard to diff.
Can it produce multiple documents?
No. One JSON value becomes one YAML document; --- separators are not generated.
Is the order of keys preserved?
Yes, insertion order is kept. YAML has no ordering guarantee in theory, but keeping it makes diffs readable in practice.
Is my data uploaded?
No — the conversion runs in this tab and never touches the network.
Other tools
JSON formatter
Format, minify and validate JSON as you type, with the exact error position when it is malformed.
Base64 encoder
Encode and decode Base64 with correct UTF-8 handling, plus the URL-safe alphabet for tokens and filenames.
CSV to JSON
Turn a CSV export into a JSON array of objects — quoted fields, embedded commas and CRLF included.