YAML, TOML and XML
Convert YAML, TOML or XML to JSON and back. Errors are marked where they are.
Input
From
JSON
To
Indent
What it does
This converter turns YAML, TOML, XML and JSON into each other, for config files, API responses and CI settings. If the input has an error, it shows the line. Pick the indent of the output, then copy it or download the file. It runs in your browser.
How to use it
- 1Paste YAML, TOML, XML or JSON.
- 2Pick the format to convert from and to.
- 3Copy the result or download the file.
Questions
Which directions work?
Any of YAML, TOML, XML and JSON to any other.
Why does my YAML fail?
Most often it is the indentation: YAML needs spaces, not tabs, and the same depth for items on one level. The error shows the line.
Is my file uploaded?
No. It is converted on your device.
AD320 × 100