JSON, YAML, TOML, XML and CSV converter

Input format

Output format

Enter something to see the result.

Validate against JSON Schema

Paste a schema, or use the one generated from your data.

Help & info

About this tool

Paste data and choose the output format: JSON, YAML, TOML, XML or CSV. The input format is detected automatically, errors are shown with line and column. XML attributes become keys starting with @_, repeated elements become lists. CSV is read as a list of objects with the first row as column names.

Good to know

TOML needs an object at the top and has no null; CSV needs a list of flat objects; XML needs one root element (added automatically if missing). YAML comments are not kept when converting.

More tools