Home / Tools / Data and formats
CSV to JSON Converter
Turn CSV or TSV into JSON and JSON arrays into CSV.
Runs in your browserFree, no sign-upOpens .csv, .tsv, .json
Loading tool…
How to use it
- Choose CSV → JSON or JSON → CSV.
- Paste the data or open a .csv file. Tabs are detected automatically.
- Download the result as .json or .csv.
About this tool
The first row is used as the header. Quoted fields, commas inside quotes and line breaks inside quotes are handled. Numbers and true/false can be converted to real types. Going the other way, an array of objects becomes a CSV with one column per key, ready for Excel or Google Sheets.
Your input is processed on your device. Nothing is sent to a server or stored.
Questions
What delimiter does it use?
It detects commas, semicolons and tabs from the header row.
Can I open the CSV in Excel?
Yes. The output uses commas and quotes fields that need it, which Excel and Sheets both read.
Data and formats
All data and formatsMore tools like this
Data and formatsJSON Formatter & ValidatorFormat, validate, minify, stringify and parse JSON.Opens filesOpen →Data and formatsXML to JSON ConverterConvert XML to JSON and JSON back to XML.Opens filesOpen →Data and formatsYAML to JSON ConverterConvert YAML to JSON and JSON to YAML.Opens filesOpen →Data and formatsJSON to TypeScriptGenerate TypeScript interfaces from a JSON sample.Opens filesOpen →Data and formatsSQL FormatterFormat messy SQL into readable, indented queries.Opens filesOpen →Data and formatsHTML Beautifier & MinifierIndent minified HTML or minify it for production.Opens filesOpen →Data and formatsMarkdown Table GeneratorTurn CSV or spreadsheet cells into a Markdown table.Opens filesOpen →Data and formatsQuery String to JSONTurn URL parameters into JSON and JSON into a query string.Open →