CSV ↔ JSON Converter
Convert CSV to JSON and JSON to CSV — headers, delimiters and types handled.
Conversion runs locally — your data never leaves this browser.
What is CSV ↔ JSON Converter?
CSV ↔ JSON Converter turns CSV data into a JSON array and JSON back into CSV, both ways. It auto-detects the delimiter (comma, semicolon, tab, or pipe), maps the header row to object keys, converts number/boolean/null cells into real JSON types, and handles quoted fields with embedded commas and line breaks per RFC 4180. Copy the result or download it as a .json / .csv file — all without uploading anything.
Key features
- Both directions: CSV → JSON and JSON → CSV
- Auto delimiter detection — comma, semicolon, tab, or pipe
- Header row becomes object keys; numbers, booleans and null typed automatically
- RFC 4180 quoting: embedded commas, quotes, and multi-line cells parse correctly
- Copy the result or download as .json / .csv — nothing is uploaded
CSV ↔ JSON Converter — convert both ways online
Paste CSV and get a clean JSON array, or paste a JSON array and get CSV back — the conversion updates live as you type or change options.
CSV → JSON
- Delimiter — auto-detected from your data (comma, semicolon, tab, or pipe), or pick one explicitly.
- First row is header — when on, each row becomes an object keyed by the header (
{"name": "Kim", "age": 30}); when off, rows become arrays. Blank or duplicate header cells get generated keys likecolumn_2andid_2. - Convert numbers & booleans — cells that look like
30,1.5,true, ornullbecome real JSON types. Leading-zero values like007stay strings on purpose (IDs, phone numbers). - Pretty-print — indented JSON for reading, or compact for embedding.
Quoted fields follow RFC 4180: embedded commas, "" escaped quotes, and even line breaks inside a cell all parse correctly. Excel and Google Sheets exports work as-is.
JSON → CSV
Paste an array of flat objects — the header row is built from the union of all keys, in first-seen order, and missing values become empty cells. Arrays of arrays also work. Nested objects inside a cell are serialized as JSON strings, and cells containing the delimiter, quotes, or newlines are quoted automatically.
Privacy
Conversion runs entirely in your browser. Your data is never uploaded or stored — safe for customer lists and exports.
Privacy
CSV ↔ JSON Converter runs entirely in your browser. Your files and data are processed on your device and never uploaded to any server. There is no account to create and nothing to install — open the page and start working.
