CSV ↔ JSON Converter

Convert CSV to JSON and JSON back to CSV, with automatic delimiter detection and a header-row toggle.

Runs 100% in your browserNothing is uploaded to a serverAuto delimiter detection

Direction

CSV

JSON

Copied!

About the CSV converter

Convert CSV to JSON and JSON to CSV without uploading a file anywhere. The parser follows RFC 4180: a doubled quote inside a quoted field is a literal quote, and a newline inside quotes is data rather than a row break. Delimiter detection picks between comma, semicolon, tab and pipe by looking for the candidate that gives the most consistent column count — raw frequency counting gets fooled by prose full of commas, consistency does not. Type coercion turns bare numbers and booleans into real JSON types while leaving lookalikes such as 007 and +1 555 as strings. Going the other way, keys are unioned across every row, so a sparse record does not silently lose a column.