Skip to content

Free text & data tool

JSON, YAML and CSV converter: convert in any direction online

Convert JSON to YAML, YAML to JSON, CSV to JSON and back — format and CSV delimiter detected, nested fields kept. Free, in your browser, nothing uploaded.

Free, no sign-up to use · what you type or add stays on your device · works offline · How it works

From
To
CSV delimiter
Indent

 

YAML: maps, lists, quotes, | and > blocks and inline [ ] { } are supported; anchors, tags and multiple documents are not. CSV: nested fields become dotted columns (contato.email) and come back as objects.

Everything runs in your browser; nothing you type is sent anywhere.

Sponsor this tool

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. 1 Paste the data (or keep "Detect" to let the tool recognise the format).
  2. 2 Choose the output: JSON, YAML or CSV.
  3. 3 For CSV, choose the delimiter if it was not detected, and the indent for JSON and YAML.
  4. 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 →

More in Developers

Developers · Browse all 122 free tools