CSV ⇄ JSON — Convert data
CSV to JSON and JSON to CSV Converter
Move data between spreadsheets and code. Numbers and booleans are detected automatically, and nested JSON becomes dotted columns like user.name.
Loading tool…
How to use CSV ⇄ JSON
- Choose CSV → JSON or JSON → CSV.
- Paste data or open a file.
- Copy or download the result.
Features
- CSV and TSV input
- Type detection
- Nested objects flattened to dotted columns; arrays kept as JSON text
- Download the output
Popular uses
- Turn a spreadsheet export into JSON for an app
- Seed a database or mock API
- Export API JSON to open in Excel or Sheets
- Clean up data between tools
Frequently asked questions
Is my data uploaded?
No. Conversion happens in your browser.
Can it convert JSON back to CSV?
Yes. Nested objects become dotted column names and arrays are kept as JSON text.
Does it handle tab-separated files?
Yes. TSV input works the same way as CSV.
Related tools
- JSON Studio Pretty-print, minify and validate JSON, and generate TypeScript interfaces.
- Diff Checker Line-by-line diff of two texts, with a copyable patch.
- Regex Tester Test JavaScript regular expressions with highlighting, groups and replace.
More developer tools