CSV to JSON

Turn spreadsheet exports into JSON for APIs, apps and configuration files. Paste CSV or open a file and get clean JSON as you type — with column names as keys, quoted values handled correctly and numbers converted to real numbers.

Delimiter
Options
JSON layout

This tool runs entirely in your browser. Your files and text are processed on your own device and are never uploaded to our servers.

How to use the CSV to JSON

  1. Paste your CSV into the left box, or open a .csv or .tsv file. Use “Example” to see how it works.
  2. Leave the delimiter on Auto, or choose comma, semicolon, tab or pipe. Exports from European versions of Excel often use semicolons.
  3. Decide whether the first row holds column names, and whether to convert numbers, true/false and null into JSON types.
  4. Copy the JSON or download it as a .json file.

Examples

A simple table

Input
id,name,active
1,Ann,true
2,Bob,false
Result
[
  { "id": 1, "name": "Ann", "active": true },
  { "id": 2, "name": "Bob", "active": false }
]

Values containing commas and quotes

Quoted fields follow the CSV standard (RFC 4180), so commas, quotes and even line breaks inside values are kept intact.

Input
name,comment
"Smith, Jane","Said ""great!"""
Result
[{ "name": "Smith, Jane", "comment": "Said \"great!\"" }]

How values are converted

With type conversion on, plain numbers become JSON numbers and true, false and null become their JSON equivalents. Values that only look like numbers are kept as text when converting would change them: codes with leading zeros such as 01234, and very long numbers such as card or account IDs, stay as strings.

Empty column names are named column_1, column_2 and so on, and repeated names get a suffix (name, name_2) so no data is lost when rows become objects.

Frequently asked questions

Is my data uploaded?

No. Conversion happens instantly in your browser. Nothing you paste or open is sent to a server.

My CSV uses semicolons — will it work?

Yes. Auto-detection checks commas, semicolons, tabs and pipes and picks the one that splits your rows most consistently. You can also choose the delimiter yourself.

Why are some numbers still in quotes?

Numbers with leading zeros (like ZIP codes) or more digits than JavaScript can store exactly stay as text to avoid changing them. Turn off type conversion to keep every value as text.

How large a file can I convert?

Text files up to 5 MB can be opened directly; larger pastes also work but may slow down on older devices because the JSON updates as you type.

Everything you need. One simple place.

Free, fast online tools for text, PDFs, images, data and everyday maths. Every tool runs entirely in your browser, so your files stay on your device.

  • Privacy-first processing
  • No sign-up required

© 2026 Toolora. All rights reserved.

Built for speed and privacy