Free Tool · In-Browser · No Upload

CSV ↔ JSON Converter

Convert CSV to JSON or JSON to CSV — either direction, with control over the header row, value types and delimiter — without anything leaving your browser. It handles quoted fields and commas inside values the way a spreadsheet does.

100% free no signup Zero data uploaded No ads or trackers
Direction
CSV
JSON
Try an example:
Recent on this device

Nothing saved yet. Your recent inputs appear here — stored only in this browser, never uploaded.

Your data never leaves your browser

This tool runs entirely in your browser. There is no upload endpoint on this page — your input is processed locally with native browser APIs, and nothing is sent to a server or logged. Open your browser's network panel and check: the only request is the page itself.

How it works

Three steps, no surprises

1

Pick a direction

Choose CSV → JSON or JSON → CSV. The panes relabel themselves so it is always clear which side is which.

2

Paste your data

Drop in CSV or a JSON array. It converts the moment you stop typing. Choose whether the first row is a header, whether numbers and booleans become real types, and which delimiter your data uses.

3

Copy, download or share

Copy the result, download it as a .json or .csv file, or grab a share link that carries the input in the URL — never on a server. Swap to round-trip it back.

FAQ

CSV ↔ JSON questions, answered

What does this CSV ↔ JSON converter do?

It converts between the two formats in either direction: paste CSV and get JSON, or paste a JSON array and get CSV. Flip the direction with one toggle. It is the quick bridge between a spreadsheet export and the JSON a script or API wants — and back again when you need to open data in Excel, Google Sheets or Numbers. The conversion happens as you type.

Does the first row become the keys?

That is what the “First row is a header” option controls. With it on — the usual case — the first CSV line is treated as column names, so each following row becomes a JSON object keyed by those names. Turn it off and you get an array of arrays instead, one inner array per row, which suits headerless data. Going the other way, the option decides whether a header row of column names is written at the top of the CSV.

What does “Typed values” do?

CSV has no idea of types — everything in a file is just text. With “Typed values” on, fields that look like numbers or booleans are converted to real JSON numbers and true/false rather than left as strings, so 42 becomes the number 42 and "true" becomes the boolean true. Turn it off if you want every value kept as a string — useful for things like postcodes, phone numbers or IDs with leading zeros that you do not want altered.

What JSON shape do I need to convert to CSV?

A top-level array. The natural fit is an array of objects — each object is a row and its keys become the columns; if different objects have different keys, every key seen becomes a column. An array of arrays also works, writing each inner array as a row. A single object or a bare value cannot become a table, so you will see a clear message asking for an array rather than a wrong result.

Does it handle quotes, commas inside fields and other delimiters?

Yes. Parsing follows the usual CSV conventions: fields wrapped in double quotes can contain commas and line breaks, and doubled quotes inside a field are read as a literal quote. If your data is tab- or semicolon-separated rather than comma-separated, pick that delimiter and it is used for reading and writing alike. The same rules are applied in reverse when writing CSV, so any value containing the delimiter is quoted automatically.

Is my data uploaded anywhere?

No. Both directions are parsed and converted entirely in your browser — nothing you paste is sent to a server, which you can confirm in your browser’s network panel. That matters because spreadsheet exports so often hold customer names, emails, orders and other data you would not want to send to a third party. The optional share link keeps the input in the URL itself rather than on a server, and the on-device history can be cleared whenever you like.

Need help with your website's SEO?

Book a free consultation with our London team.

Book a Free Consultation