DEVELOPER TOOL
CSV ↔ JSON Converter
Convert between CSV and JSON, with correct handling of quoted fields.
About this tool
Convert between CSV and JSON instantly. Paste CSV (with or without a header row) to get an array of JSON objects, or switch direction to turn a JSON array into a CSV file. Quoted fields, embedded commas, and quotes-within-quotes are all handled correctly.
Everything runs locally in your browser — nothing is uploaded.
Frequently asked questions
- What if my CSV doesn't have a header row?
- Uncheck "First row is header" — each row will then convert to a JSON array of values instead of an object with named keys.
- How are numbers and booleans handled?
- CSV values that look like a plain integer, decimal, "true", or "false" are converted to that type in JSON. Everything else stays a string. Converting JSON back to CSV writes every value as plain text.
- What happens with fields containing commas or quotes?
- Fields containing commas, quotes, or line breaks are wrapped in double quotes automatically (and escaped) on the way out, and parsed correctly on the way in, following standard CSV quoting rules.