JSON ↔ CSV ↔ YAML
Convert between JSON, CSV, and YAML.
- name: Sam role: admin - name: Jo role: editor
CSV works with an array of flat records (a table). YAML support covers the common block-style subset (mappings, sequences, scalars) — not anchors, multi-line scalars, or multiple documents.
Runs entirely in your browser — nothing you enter is uploaded or sent to a server.
YAML support covers the common block style (no anchors, multi-line scalars or multiple documents) and CSV needs a flat array of records — check the output when your data is deeply nested. Read our full disclaimer.
About this tool
A single converter for the three formats you move data between most: JSON, CSV, and YAML. Paste your data, choose the source and target formats, and the converted output appears instantly. CSV works with tabular data (an array of records), and YAML support covers the common block-style subset — mappings, sequences, and scalars. It's all done in your browser with an in-house converter.
Try it
A JSON array like [{"name":"Sam","role":"admin"}] converts to CSV (name,role / Sam,admin) or to YAML (a list of mappings), and back again.
How to use
- 1Choose the format you're converting from and to.
- 2Paste your data into the input box.
- 3Read the converted output and copy it in one click.
- 4Use the swap button to reverse the direction.
Features
- Convert between JSON, CSV, and YAML in any direction.
- Swap source and target with one click.
- In-house converter — no third-party libraries.
Frequently asked questions
How complete is the YAML support?
It handles the common block-style subset: mappings, sequences, nesting, and scalars (strings, numbers, booleans, null), plus quoted strings. It doesn't support anchors/aliases, multi-line scalars, or multiple documents.
What shape does CSV need?
CSV represents a table, so converting to CSV needs an array of flat records (objects). Converting from CSV treats the first row as headers.
More developer tools
View allJSON Formatter
Paste raw JSON and get it neatly indented, minified, or validated — entirely in your browser.
Open toolJSON Diff
Compare two JSON objects and get a clear list of the fields that were added, removed, or changed — with full paths.
Open toolBase64 Encoder / Decoder
Encode any text to Base64 or decode it back, instantly and locally — with full Unicode and emoji support.
Open tool