JSON, YAML & TOML converter
Paste a config file or API payload in any of the three formats and get it in the others — validated as you type, with the line and column of any mistake.
- Runs in your browser
- Nothing uploaded
- Free, no sign-up
Converted in your browser. Config files with secrets never leave your device.
How to use it
- Paste or open a fileThe input format is detected automatically, or pick it yourself. JSON with comments and trailing commas (like tsconfig.json) is accepted.
- Pick the outputChoose JSON, YAML or TOML. The result updates as you type; errors point to the exact line and column.
- Copy or saveCopy the result or save it with the right extension. The swap button turns the output into the new input.
Questions
Will comments be kept?
No. Comments aren’t part of the data, so JSON, YAML and TOML parsers all drop them. Copy important comments across by hand.
Why does TOML give an error for my JSON?
TOML has no null value and its top level must be a table (an object). Nulls are left out with a notice; a top-level array is placed under an “items” key.
What about several YAML documents in one file?
Files with “---” separators are read as a list of documents, so converting to JSON gives an array with one entry per document.
Are dates converted correctly?
YAML and TOML dates become ISO 8601 strings in JSON, for example 2026-12-04T10:30:00.000Z. Large integers beyond 2⁵³ may lose precision in JSON.
Is anything uploaded?
No. Parsing and conversion run on your device.