Skip to content
Developer

CSV ↔ JSON Converter

Two-way converter with a live preview table. CSV → JSON parses RFC 4180-style with quoted fields, auto-detects the delimiter, and infers numbers, booleans and null. JSON → CSV flattens nested objects with dot notation and supports comma, semicolon, tab or pipe delimiters with LF or CRLF endings.

4 rows6 columns537 bytes output
Preview (4 rows)
idnameemailageroleactive
11Jane Doejane@example.com32admintrue
22Müller, Frankfrank@example.de45editortrue
33Acme Inc.info@acme.coviewerfalse
44小明xiao@example.cn28viewertrue
JSON output

Your data is parsed locally in the browser. Nothing is uploaded.

How to use this csv ↔ json converter

  1. Paste CSV (or click Load sample) — the preview and JSON output update instantly.
  2. Choose a delimiter, or leave it on Auto-detect.
  3. Toggle 'first row is header', type inference, trim and pretty-print as needed.
  4. Switch the tab to JSON → CSV. Paste an array of objects.
  5. Toggle Flatten to turn nested keys into dot notation. Pick LF or CRLF and download.

Frequently asked questions

Does this handle quoted CSV fields with commas inside?

Yes. The parser follows RFC 4180-style quoting, including escaped double quotes ("").

What does 'flatten' do for JSON → CSV?

Nested keys like { profile: { age: 32 } } become a single column 'profile.age'. Arrays are joined with commas inside a quoted cell.

Why are numbers shown unquoted in JSON output?

Type inference converts numeric strings, true/false and null/NULL to their JSON types. Turn it off to keep everything as strings.

Is my data uploaded?

No. Parsing and converting both run in your browser.