Skip to content
easytoolapp
  • Home
  • Text
  • Calculators
  • Converters
  • Date & Time
  • Generators
  • Developer
  • Design
  • Device
  • Health
  • Business
  • About
  • Contact
  1. Home/
  2. Developer/
  3. CSV ↔ JSON Converter
</>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.

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.

Why do leading zeros in my CSV (like '007' or phone numbers) get stripped in JSON output?

Type inference sees a numeric-looking string and converts it to a JSON number — and `007` is the same number as `7`. Turn off type inference to keep everything as strings, or rename the column header to something the inference skips. For ZIPs, IDs and phone numbers, strings are the right type anyway.

Related tools

</>Developer

JSON Formatter

Format, validate, convert, analyze JSON.

</>Developer

Base64 Encoder

Base64 encode/decode with UTF-8 and files.

</>Developer

URL Encoder

Encode, decode or parse URLs.

</>Developer

Regex Tester

Live matching, groups & cheat sheet.

easytoolapp
AboutContactGuidesPrivacyTerms
© 2026 easytoolappEasy online tools for everyday tasks.
4 rows6 columns537 bytes output
Preview (4 rows)
#idnameemailageroleactive
11Jane Doe[email protected]32admintrue
22Müller, Frank[email protected]45editortrue
33Acme Inc.[email protected]viewerfalse
44小明[email protected]28viewertrue
JSON output