CSV Converter: JSON ↔ CSV, TSV

Convert JSON to CSV, CSV to JSON, CSV to TSV and between comma, semicolon, tab and pipe delimiters. Nested JSON is flattened into dot-notation columns and can be rebuilt on the way back. Pick, drop and reorder columns, transpose rows and columns, preview the result as a table and export to CSV, TSV, JSON, JSON Lines or a Markdown table. Everything runs in your browser, so your data never leaves your device.

Convert to:
·

How It Works

1

Paste or drop your data

Paste JSON, JSON Lines, CSV or TSV, or drop a file onto the input. The format and delimiter are detected automatically.

2

Choose the output and columns

Pick CSV, TSV, semicolon, pipe, JSON, JSON Lines or Markdown. Untick columns you don't need and use the arrows to reorder them.

3

Copy or download

Check the table preview, then copy the result or download it as a file. Add a UTF-8 BOM if you're opening the CSV in Excel.

Frequently Asked Questions

How are nested JSON objects converted to CSV?

Nested objects are flattened into dot-notation columns, so {"address": {"city": "London"}} becomes a column named address.city. Arrays get index columns such as tags.0 and tags.1. When you convert that CSV back to JSON with "Nest dotted keys" on, the original structure is rebuilt. Turn off "Flatten nested JSON" to keep nested values as JSON text in a single column instead.

How do I convert CSV to TSV or change the delimiter?

Paste the data and choose the output format: comma (CSV), tab (TSV), semicolon or pipe. The input delimiter is detected automatically, and fields containing the delimiter, quotes or line breaks are quoted correctly, so a value like "1,5" survives a switch from semicolons to commas.

Will numbers like ZIP codes or IDs keep their leading zeros?

Yes. When converting to JSON, "Infer numbers & booleans" turns 42 into a number and true into a boolean, but values with leading zeros such as 007 and IDs longer than 15 digits stay strings so they aren't changed. Turn the option off to keep every value as a string.

Why does my CSV look garbled in Excel?

Excel often opens UTF-8 CSV files with the wrong encoding, which breaks accents and non-Latin text. Tick "Add UTF-8 BOM to download" before downloading and Excel will read the file correctly. In many European locales Excel also expects semicolons instead of commas, so pick the semicolon output.

Is my data uploaded anywhere?

No. Parsing and conversion run entirely in your browser with JavaScript, including files you open or drop. Nothing is sent to a server, there's no sign-up and no row limit beyond your device's memory.

Related Tools