CSV to JSON converter

How to use the CSV to JSON converter

  1. Paste CSV or upload a .csv file — the first row is treated as headers by default.
  2. The parsed JSON appears in the output panel as an array of objects keyed by header.
  3. Toggle direction to convert JSON back to CSV — the output uses the union of all object keys as the header row.
  4. Pick delimiter (comma, tab, semicolon) and copy the result.

When to use it

Use it for one-off data imports — a spreadsheet column dump that needs to become a JSON payload, or an API response that needs to land in Excel. For large files or repeatable pipelines, a language-native CSV library (Papa Parse, Python csv, jq) handles edge cases (quoted fields with newlines, escaped quotes) more reliably.

Frequently asked questions

Does it handle quoted fields with commas?
Yes. The parser follows RFC 4180 — quoted fields can contain commas, newlines, and escaped quotes ('').
What happens to empty cells?
Empty strings become JavaScript null by default. Toggle 'empty → empty string' if you want to preserve them as ''.
Can I specify the column types?
Auto-detect runs on each column — strict numerics become numbers, 'true'/'false' become booleans. For explicit types, toggle 'strings only' to keep everything as strings.
Is my CSV uploaded anywhere?
No. Parsing runs in your browser — the CSV contents never leave your device.

Related tools

Last updated: 2026-04-22