Home / Tools / CSV to JSON

CSV to JSON Converter

Turn a spreadsheet's CSV into a JSON array of objects — header row becomes the keys — ready for APIs, fixtures and code.

Runs 100% in your browser No upload — files never leave your device Free · No sign-up
1Paste your CSV
2Set your options
3Get your results

See it in action

name,age Ana,31 Bo,28 → [ { "name": "Ana", "age": "31" }, { "name": "Bo", "age": "28" } ]

Headers become keys, quoted fields survive, values stay exact strings. Made with this tool.

Limits

Honest limits: The first row must be the header — it becomes the object keys. All values stay strings (CSV has no types), so numbers arrive as "42" unless your code converts them. Quoted fields with commas and newlines inside are parsed correctly.

How to use it

1Paste or type your text

Put the text you want to work on into the input box. It stays in this tab — nothing is sent anywhere.

2No settings needed

Paste CSV with its header row and the JSON array appears, one object per row. Download it as a .txt or copy it straight into your project.

3Run it

Click the run button and the result appears in the output box below, ready to copy or save.

4Copy or download

Copy the result with one click, or download it as a plain text file for later.

About this tool

The reverse bridge is just as busy: the spreadsheet a client maintained becomes the seed data for an app, the exported report becomes API fixtures, the price list becomes a JSON config. This converter parses CSV properly — quoted fields, embedded commas, doubled quotes, embedded newlines — because naive split-on-comma converters corrupt exactly the real-world files people actually have. It runs in your browser, so a customer list being converted never leaves your machine on its way to becoming JSON.

Everything runs locally in your browser. Your text is processed with JavaScript in this tab only — it is never uploaded, logged or stored, so you can safely use it on drafts, client copy, code snippets and data you would not paste into a stranger's server. There is no sign-up, no daily limit and no paywall counter ticking down: run it as many times as you need, on any device.

Frequently asked questions

Why are all the values strings in the JSON?

Because CSV carries no type information — a cell holding 42 might be a number, a code or a label, and guessing wrong corrupts data (leading zeros vanish, IDs become floats). Faithful conversion keeps text exact; convert types in your code, where the meaning is known.

My CSV has commas inside fields — will it break?

Not if the fields are quoted, which is how Excel and Sheets export them: "Smith, John" parses as one field. This converter implements the standard quoting rules, including doubled quotes for a literal quote and newlines inside quoted fields.

Is this tool free to use?

Yes — free, with no sign-up and no daily limit. Your text is processed in your browser, so there is no server cost and nothing to meter.

Is my text sent to a server?

No. Everything happens with JavaScript inside this browser tab. Your text is never uploaded, logged or stored — paste drafts, client copy or data freely.

How much text can I paste?

Plenty — everyday documents, articles and data files are fine. Extremely large pastes (many megabytes) depend on your device's memory, and the browser may slow down while it works.

Does it work on my phone?

Yes, in any modern mobile browser. For very long texts a bigger screen is more comfortable, but the processing itself works the same everywhere.

Related tools

Want more free tools?

Free tools that all run locally in your browser — no uploads, no fees.

Browse all tools