Convert YAML and JSON
Paste YAML to get JSON, or JSON to get YAML: the text decides the direction, not you. The result updates as you type and never leaves your device.
Your text stays on your device: nothing is uploaded
Comments and the original punctuation do not survive the conversion: the values do.
Result
Paste something on the left: the result appears as you type.
How it works
The text is read with the YAML 1.2 core schema, the one modern tools use: “no”, “on” and “off” stay words instead of becoming true and false, and a date stays the string you wrote. Anchors (“&name”) and merge keys (“<<: *name”) are expanded, because a “<<” key inside JSON means nothing to anyone. If the file holds several documents separated by “---” you get a list, and we say so, because that separator does not exist in JSON. What JSON cannot represent — binary data, sets, ordered maps, application tags, keys that are not text — is not converted at random: the conversion stops and tells you what stopped it and on which line. In the other direction strings are quoted where it matters, so a postcode like 01234 and a word like “no” come back identical. Comments do not survive: JSON has none, and no converter can invent them on the way back.
What you paste is never uploaded. Anywhere.
Not to a server of ours, not to a third party, never. The text you type stays in your browser’s memory: it is read, processed and shown here, and you copy it. There is no path that takes it elsewhere, because there is no server to send it to. You can paste something confidential.
- Processed locallyThe computation happens on this page, using the browser’s own engine: no request goes out while you type.
- Nothing to upload, nothing to wait forOther services send your file to a server and then send it back to you. Here the file never leaves: there is no upload to wait for.
- No accountNo sign-up, no email, no daily limits to get around by paying.
- Nothing to deleteOthers promise to delete what you paste after an hour. We have nothing to delete: it never reached us.