UtilHero

CSV to JSON Converter

Convert CSV to JSON and back — with quoted fields, custom delimiters, and headers.

CSVJSON
Delimiter
First row is a header
CSV input
JSON output

About CSV to JSON

A CSV to JSON converter turns spreadsheet-style CSV into structured JSON, and back again. Paste CSV to get an array of objects keyed by the header row, or paste a JSON array of objects to get CSV. It correctly handles quoted fields, commas and line breaks inside values, and custom delimiters (comma, tab, semicolon, pipe). Everything runs in your browser — your data is never uploaded.

Frequently asked questions

How does it handle commas inside a field?
Fields wrapped in double quotes can contain commas, line breaks, and escaped quotes (""). The parser follows the standard CSV (RFC 4180) rules, so quoted values convert correctly.
Can I convert JSON back to CSV?
Yes. Use the swap button to switch direction. Give it a JSON array of objects and it produces CSV, using the union of all keys as the header row.
What delimiters are supported?
Comma, tab, semicolon, and pipe. Pick the one that matches your data — tab is useful for TSV files, and semicolon for European spreadsheets.
Is my data uploaded anywhere?
No. The conversion happens entirely in your browser with JavaScript; nothing you paste is sent to a server.

More tools