Handytool
DocumentFreeRuns locally

CSV to JSON

Convert CSV rows into JSON objects.

.csv
Direction
Delimiter
Header row
Indent
CSV input
0 lines0 bytes
JSON output
0 lines0 bytes

About the CSV to JSON

Paste a CSV or TSV file and Handytool turns each row into a clean JSON object right inside your browser. The converter auto-detects commas, semicolons, tabs or pipes, preserves quoted fields and escaped quotes, and lets you choose whether the first row is a header. Because nothing is uploaded, exports from Excel, Google Sheets or Postgres stay fully private on your machine.

CSV to JSON features

  • 01

    Smart delimiter detection

    Leave it on Auto and the tool scores commas, semicolons, tabs and pipes to pick the most consistent delimiter, or lock a specific one when your data is non-standard.

  • 02

    Headers or raw arrays

    Use the first row as object keys to get an array of JSON objects, or turn headers off for a raw 2D array. Duplicate header names are automatically disambiguated.

  • 03

    Runs fully in your browser

    Parsing happens entirely in your browser — your data never leaves your device — with no account and no tracking. You can pretty-print with 2 or 4-space indent, minify for APIs, copy to the clipboard or download a .json file.

CSV to JSON FAQ

How do I convert a CSV file to JSON?
Open your CSV in a text editor or spreadsheet, copy the rows and paste them into the left pane. Click Convert and the right pane shows the JSON — either an array of objects (when headers are on) or an array of arrays. Use Download to save it as converted.json.
Which delimiters are supported?
Comma, semicolon, tab and pipe are all supported. The default Auto setting inspects the data and picks whichever delimiter yields the most consistent row widths, which handles European semicolon CSV and tab-separated exports.
Does it handle quoted fields and commas inside cells?
Yes. The parser follows RFC 4180: fields wrapped in double quotes may contain the delimiter, newlines, or escaped quotes written as two double quotes (""). Unclosed quotes are surfaced as an error instead of corrupting the output.
What happens to duplicate or empty column headers?
Empty headers become column_1, column_2, etc. Duplicate names get a numeric suffix (email, email_2) so every key in the resulting JSON object is unique.
Is my data uploaded anywhere?
No. The CSV to JSON converter runs 100% in your browser using JavaScript — your rows never touch a server and nothing is logged. It also works offline once the page is loaded.
Is there a row or size limit?
There's no hard cap, but very large files (hundreds of megabytes) may be slow to render. For typical spreadsheet exports with thousands of rows the conversion is effectively instant.

Related tools

Document

Explore other tools

All tools