YAML ⇄ JSON Converter
Convert YAML to JSON or JSON to YAML, with errors that point to the exact line.
Runs in your browser. Files stay on this device.Built with yaml (ISC)
Open YAML ⇄ JSON Converter
Free, no account, no watermark and no daily limit.
How to use YAML ⇄ JSON Converter
- 1Paste YAML or JSON, or drop a .yaml, .yml or .json file.
- 2The direction is picked for you; switch it if you need to.
- 3Copy the result or download it as a file.
Questions
Are comments kept?
JSON has no comments, so YAML comments are lost going to JSON. Going to YAML, there are none to keep.
What about files with several documents (---)?
Each document becomes one item in a JSON array. Going back, an array becomes a single YAML list.
Is my file uploaded?
No. It is converted in your browser.
Is it free?
Yes. No account, no watermark and no daily limit.
Related tools
- DeveloperTimestamp ConverterTurn Unix timestamps into readable dates and back, in seconds or milliseconds, in your time zone and UTC.
- DeveloperBase64 EncoderEncode text or files to Base64 and decode it back, with URL-safe and data URL options.
- DeveloperDiff CheckerCompare two texts and see what was added and removed, line by line or word by word, and download a patch.
- DeveloperHash GeneratorGet the MD5, SHA-1, SHA-256, SHA-384 and SHA-512 of text or any file, and check it against a hash you were given.
- DeveloperJSON FormatterFormat, check and minify JSON, with the exact line of any error.
- DeveloperJWT DecoderRead the header and claims of a JSON Web Token, see when it expires, and check an HMAC signature.