neatly done

CSV to JSON

Convert CSV to JSON in your browser. The separator is detected, quoted fields with commas and line breaks work, and numbers can become real JSON numbers.

  • Free
  • No sign-up
  • Works on phone and computer

How to convert CSV to JSON

  1. Paste your CSV or open a CSV file.
  2. Check the separator and choose whether the first row is a header.
  3. Copy or download the JSON.

About this tool

Paste CSV or open a file and get a JSON list back. The separator, whether comma, semicolon, tab or pipe, is detected for you. Quoted fields that hold commas, quotes or line breaks are read correctly. The first row becomes the keys, and headers like address.city can become nested objects. Values such as 007 and very long numbers stay as text so no digits are lost.

Common questions

How are numbers handled?

With the typed option on, plain numbers become JSON numbers and true or false become booleans. Values with leading zeros, such as phone numbers or 007, and numbers over 15 digits stay as text, because converting them would change them.

My file uses semicolons. Is that a problem?

No. Many European and Indian spreadsheets save with semicolons. The separator is detected, and you can also choose it yourself.

What if the file has no header row?

Untick The first row is the header, and you get a list of lists instead of a list of objects.

Is it free to use?

Yes. There's no sign-up, and you can use it as often as you like.

Is my text uploaded anywhere?

No. This tool runs inside your browser, so what you enter stays on your device.

Do I need to install anything?

No. It works in your browser on a computer or a phone.

You've reached today's free limit