CSV ↔ JSON Converter
Convert CSV to JSON arrays and back: auto delimiter detection, header handling, validation with clear errors. Local processing.
Runs entirely in your browser — no uploadsAbout this tool
CSV ↔ JSON converts tabular data between formats with automatic delimiter detection (comma, semicolon, tab, pipe), proper quoted-field handling and header row support.
JSON input must be an array of objects; malformed rows and JSON errors are reported precisely. Everything runs locally — safe even for confidential exports.
How to use it
Paste CSV into the input and the tool detects whether columns are separated by commas, semicolons, tabs, or pipes. The first row is treated as headers, and the output is a JSON array of objects with those header names as keys. Going the other way, paste an array of flat objects to get a CSV table with a header row. You can override the detected delimiter if automatic detection guesses wrong.
Why quoting matters
Real spreadsheets contain commas inside values — a company name like “Smith, Jones Ltd” or a sentence with a semicolon. The parser follows the familiar quoted-field convention: a field wrapped in double quotes may contain the delimiter, and an embedded quote is written as two quotes. That is the difference between a correct conversion and a table whose columns shift halfway down.
When to use it
Use it to prepare a CSV export for a script or API, turn a JSON payload into something a spreadsheet can open, or move data between a content management system and a developer tool. It is also a quick way to inspect a semicolon-delimited export from a European locale without opening a spreadsheet app.
Honest limitations
JSON input must be an array of flat objects; nested objects or arrays are rejected with a clear message instead of being flattened unpredictably. CSV headers are used verbatim as keys, including spaces, so clean them up if your target expects strict names. Empty cells become empty strings, and numbers stay strings unless your consumer parses them. Everything runs locally, which makes it suitable for customer exports you would rather not upload.