JSON ⇄ YAML ⇄ CSV Converter
Convert between JSON, YAML and CSV instantly, with validation and pretty-print.
- 👨💻 Developer Tool
- ✓ Free
- ✓ No sign-up
- ✓ Private — runs in your browser
- ✓ Any device
Converted output appears here
Paste on the left, or hit .
100% in your browser — nothing is uploaded. CSV uses the first row as headers and nested objects are flattened with dotted keys.
Why you’ll love JSON ⇄ YAML ⇄ CSV Converter
How to use it
- 01
Open it
No download and no login — the tool is ready right at the top of this page.
- 02
Use it
Enter your details or start interacting. Everything updates live as you go.
- 03
Get your result
Copy, download or share your result in a single tap. That’s it.
About JSON ⇄ YAML ⇄ CSV Converter
This converter moves data between JSON, YAML and CSV in any direction — JSON to CSV, CSV to JSON, YAML to JSON and back — entirely in your browser. Nothing is uploaded to a server, which makes it safe for API responses, config files with secrets, or production database exports. You can paste text, or drop a .json, .yaml or .csv file up to 5 MB straight onto the input pane.
Each format gets proper treatment rather than a naive string swap. JSON is strictly parsed and pretty-printed with your choice of 2-space, 4-space or tab indentation, with optional recursive key sorting. YAML goes through a full parser, so quoting, multi-line values and nested lists behave correctly. CSV parsing is RFC-4180 aware — quoted fields, embedded delimiters and newlines inside quotes all work — and you can switch the delimiter between comma, semicolon, tab and pipe, with optional type inference that turns "42", "true" and "null" into real numbers, booleans and nulls.
The tricky part of any JSON-to-CSV conversion is nesting, and this tool handles it losslessly: nested objects are flattened into dotted column names (address.city), arrays of scalars are joined into one cell, and arrays of objects are stored as JSON strings. Going the other way, dotted CSV headers rebuild the original nested structure. The swap button feeds valid output back in as input, so you can round-trip data through formats without re-pasting.
Popular uses
- ✦ Turn an API's JSON response into a CSV you can open in Excel or Google Sheets
- ✦ Convert a docker-compose or CI pipeline YAML file to JSON to inspect or query it
- ✦ Rebuild nested JSON from a spreadsheet export using dotted column headers
- ✦ Switch a config file between JSON and YAML when moving between tools
- ✦ Pretty-print and key-sort minified JSON before a code review or diff
Frequently asked questions
How does the converter turn nested JSON into flat CSV columns?
Why are my CSV numbers coming out as strings (or my ZIP codes losing zeros)?
Can it read CSV files that use semicolons or tabs instead of commas?
Is my data uploaded anywhere when I convert it?
Is JSON ⇄ YAML ⇄ CSV Converter free to use?
Is my code or data sent anywhere?
More developer tools
All developer toolsPeople also use
We built this. We can build yours.
JSON ⇄ YAML ⇄ CSV Converter is one of our free tools. Need a website, app, AI agent or automation? Fixed price — and you own the code.