JSON ↔ CSV Converter
Convert JSON to CSV
Runs locally in your browser
What it does
Runs Locally
Conversion happens in your browser. Customer exports and API payloads are never uploaded.
A Real CSV Parser
Quoted fields may contain commas, doubled quotes, and line breaks, and LF and CRLF files both work.
Predictable Columns
The header is the union of all keys in first-seen order, and missing keys become empty cells.
Safe for Spreadsheets
Spreadsheet-safe output is on by default: text that starts with =, +, - or @ is written so Excel and Sheets show it as text instead of running it. Numbers are written exactly as you typed them.
Comma, Semicolon or Tab
CSV to JSON detects the delimiter without counting ones inside quotes, tells you which it used, and lets you choose when the text is ambiguous.
No Surprise Type Changes
CSV values stay strings, so ZIP codes keep their leading zeros and true is not turned into a boolean.
Frequently asked questions
Is my data uploaded anywhere?
No. Conversion runs entirely in your browser. Nothing you paste is uploaded or stored. The page does download the code needed to run the tool.
What JSON shape is supported?
A top-level array of objects whose values are strings, numbers, booleans, or null. Nested objects and arrays are rejected with a clear message instead of being written as [object Object].
Why does CSV to JSON keep every value as a string?
CSV has no types, and guessing causes damage: 007 would become 7 and a ZIP code like 02134 would lose its zero. Convert the strings to numbers in your own code where you know the column types.
What happens with null, missing keys, and duplicate column names?
null and missing keys both become empty cells, and an empty string is written as "". In CSV to JSON, a repeated column name gets _2, _3 and so on, and an empty one is called column_N, so no column is lost; the tool tells you what it renamed. A JSON object that repeats a key is rejected, because a CSV row has one value per column.
What does Spreadsheet-safe output do?
Spreadsheet apps can run a cell that starts with =, +, - or @ (or a tab or line break) as a formula. With the option on, which is the default, such text values start with an apostrophe, so they show as text. Numbers are not touched, and neither is text that is only a number like -12. A phone number such as +44 123456 also gets the apostrophe, so it stays text. The apostrophe is visible in the cell. Turn the option off if the CSV is for a program and not for a spreadsheet.
How is the delimiter chosen?
Auto-detect looks at the first rows with comma, semicolon and tab, ignoring any inside quotes, and uses the one that splits every row the same way. If more than one fits, the tool asks you to choose instead of guessing. A CSV with a single column is fine. You can also pick the delimiter yourself.
Is JSON to CSV to JSON lossless?
No. CSV has no types, so numbers and booleans come back as strings, null, a missing key and an empty string all come back as an empty string, and a protective apostrophe stays. Numbers are never rounded on the way to CSV: 9007199254740993 and 1.2300 are written as typed.