About this tool
Paste JSON, YAML or CSV and pick the format you want: the converter detects what you pasted and shows the result as you type, with a clear message and line number when something is wrong. YAML covers what config files use — maps, lists, quoted strings, | and > blocks and inline [ ] and { } — and the output is clean, indented YAML. For CSV it handles quotes, line breaks inside quotes and the , ; or tab delimiter (Brazilian Excel uses ;), turns the header row into keys, detects numbers and true/false, and flattens nested objects into dotted columns such as contato.email so they come back as objects. Copy or download the result; nothing leaves your device.
How to use it
- 1 Paste the data (or keep "Detect" to let the tool recognise the format).
- 2 Choose the output: JSON, YAML or CSV.
- 3 For CSV, choose the delimiter if it was not detected, and the indent for JSON and YAML.
- 4 Copy or download the result, or use it as the new input.
Frequently asked questions
Is all of YAML supported?
The part used in config files is: maps, lists, comments, single and double quotes, | and > blocks and inline collections. Anchors and aliases (& and *), tags (!) and several documents in one file are rejected with a message instead of being converted wrongly.
How are nested JSON objects turned into CSV?
Each nested field becomes a column with a dotted name, such as user.name; lists go into one cell as JSON. Converting that CSV back to JSON rebuilds the nested objects.
My CSV from Excel uses semicolons. Does it work?
Yes. Excel in Portuguese and Spanish saves CSV with ; because the comma is the decimal separator. The delimiter is detected from the first line, and you can also choose it.
Embed this tool
Add this free tool to your own website — copy the code below. It stays up to date automatically.
Tools for your site →