CSV to JSON / JSON to CSV

Convert between CSV and JSON for pipelines, imports, and quick data checks.

When to use this tool

  • Converting a spreadsheet export to JSON for a one-off import.
  • Generating a fixture from a CSV pulled from a BI tool.
  • Debating schema with PMs using a JSON view of their CSV mockup.

How it works

  1. Paste the source content.
  2. Pick the direction (CSV → JSON or JSON → CSV).
  3. Optionally tweak the delimiter and whether the first row is a header.
  4. Copy the output to clipboard.

Privacy: This tool runs entirely in your browser. Your input is not sent to our servers.

Output

Advertisement

Frequently asked questions

Does it escape commas and quotes in CSV output?

Yes. Fields containing delimiters, quotes, or newlines are quoted and internal quotes are doubled per RFC 4180.

Can I convert nested JSON to CSV?

Flat object arrays convert cleanly. For deeply nested JSON, flatten it first (e.g. `user.name` instead of `user: { name }`).

What about BOM characters in CSV?

Leading BOMs are stripped automatically. Add one back manually if your downstream importer requires it.