CSV to JSON Converter (and JSON to CSV)

Convert CSV to JSON or JSON to CSV with automatic delimiter detection, quoted fields and a table preview.

InstantPrivate — runs in your browserFree, no sign-up

Your details

Convert

Result

How to use

  1. 1

    Paste CSV (from Excel or Google Sheets) or a JSON array.

  2. 2

    Pick the direction — the delimiter is detected automatically.

  3. 3

    Copy or download the result and check the table preview.

Questions

Does it handle commas inside values?

Yes. Values wrapped in double quotes may contain commas, line breaks and quotes (written as two double quotes ""), following the CSV standard RFC 4180.

My Excel CSV uses semicolons — will it work?

Yes. Excel in many regional settings saves CSV with semicolons; Auto-detect picks comma, semicolon, tab or pipe by checking which one splits the rows consistently.

Why do some numbers stay as text?

Values with leading zeros, such as PIN codes like 007 or phone numbers starting with 0, are kept as text so the zeros aren't lost. Untick “Convert numbers” to keep every value as text.

About this CSV ⇄ JSON tool

CSV to JSON Converter (and JSON to CSV) — Convert CSV to JSON or JSON to CSV with automatic delimiter detection, quoted fields and a table preview. It is one of 200 free tools on namasivayam.in, made by software engineer Namasivayam Vadivelan for everyday use in India.

Everything is calculated instantly in your browser: nothing you type or upload is sent to any server, there is no sign-up, and it works on mobile and desktop. Paste CSV (from Excel or Google Sheets) or a JSON array.

Related reading

Articles that go with this tool

All articles →

Related tools

More developer tools you may like

All 200 tools →

Results are estimates to help you plan. They are not financial, tax or medical advice.