CSV to JSON Converter

  • Free forever
  • No sign-up
  • Runs in your browser
Processed on your device

Convert CSV (from Excel or Google Sheets) to JSON, or JSON back to CSV. Quotes, commas and line breaks inside cells are handled.

About CSV to JSON Converter

Moves data between spreadsheets and code. Paste rows copied from Excel or Google Sheets, or a CSV export, and get an array of JSON objects keyed by the header row, with numbers and true or false turned into real values if you like. Going the other way, an array of objects becomes a CSV with a column for every key. Quoted cells containing commas, quotes or line breaks are read correctly.

How to use CSV to JSON Converter

  1. Paste CSV from Excel or Google Sheets into the CSV box, or JSON into the JSON box.
  2. Leave CSV separator on Detect automatically, or choose comma, semicolon, tab or pipe.
  3. Set First row is headers and Convert numbers and true/false, then click CSV → JSON or JSON → CSV.
  4. Copy the result, or click Download CSV or Download JSON to save a file.

How your data is handled

Both conversions run in your browser, with no extra downloads, so the customer lists and exports you paste aren't uploaded or stored.

How SAA Tool works · Privacy Center

Limits and accuracy

  • JSON → CSV always uses commas; the CSV separator setting only applies when reading CSV.
  • Automatic separator detection looks at the first line only, so choose it yourself if the result looks wrong.
  • If two columns share a header name, only the last column's values are kept.
  • Numbers with thousands separators or decimal commas, such as 1.234,50, stay as text.

Questions and answers

Will leading zeros and long numbers be kept?

Yes. Values like 007, and anything 16 or more characters long, stay as text, so phone numbers and long IDs don't lose digits. Untick Convert numbers and true/false to keep every value as text.

Will the CSV open correctly in Excel?

The downloaded CSV starts with a UTF-8 marker, which helps Excel show Arabic, accents and other characters correctly. It uses commas between columns and quotes any cell that contains commas, quotes or line breaks.

What happens to nested JSON when converting to CSV?

Each object in the array becomes a row, and every key found becomes a column. Nested objects and arrays are written into their cell as JSON text, because CSV is flat.

Do I need to sign up?

No. CSV to JSON Converter is free with no sign-up, no login and no daily limit, and there's nothing to install. It works on a phone as well as a PC.

Is my text sent to a server?

No. CSV to JSON Converter runs in your browser, so what you paste stays on your device. That makes it safe for passwords, tokens, customer data and anything else private.

Can it output an array of objects?

Yes. The first row becomes the keys and each row becomes an object, so the result drops straight into JavaScript, Python or Power Automate. Choose the delimiter if the file uses semicolons or tabs.

Sources and standards

Report a problem with this tool