Category: Developer tools

CSV to JSON

Convert CSV data to formatted JSON in your browser

Paste CSV data to convert it into indented JSON, either as an array of objects using the header row or as plain arrays. Runs entirely in your browser.

Paste CSV to convert it to JSON.

JSON
The result will appear here.

Everything on this page is processed in your browser. Nothing is uploaded.

What this tool does

Spreadsheets and exports commonly land as CSV, but most application code wants JSON. This converter parses comma, semicolon or tab separated values — including quoted fields that contain the delimiter itself or span multiple lines — and turns each row into a JSON object keyed by the header row, or into a plain array when there is no header to use.

How to use it

  1. Paste your CSV data into the input box, or load the example.
  2. Choose the delimiter and whether the first row is a header.
  3. Copy the JSON or download it as a file.

Privacy

This tool runs entirely in your browser. Your input is never uploaded, stored or shared — closing the tab removes it.

Frequently asked questions

Is my CSV data uploaded anywhere?
No. Parsing happens in JavaScript running in the page, so spreadsheet exports and customer lists never leave your device.
Can a field contain a comma or a line break?
Yes, as long as it is wrapped in double quotes, following the same convention spreadsheet software uses when exporting CSV. A doubled quote "" inside a quoted field is read as one literal quote.
What happens without a header row?
Turn off "First row is a header" and every row, including the first, becomes a plain JSON array of values instead of an object.