Free · no sign-up · updated

No. 11 · PDF, image, text and code

CSV to JSON converter

Paste tabular text or drop a UTF-8 file.

Limits: 1,000,000 characters, 10,000 rows, 200 columns. Typing keeps leading-zero values and unsafe integers as strings; decimal values can lose precision. CSV intended for spreadsheets should be checked for formula-like cells before opening.

1 data rows · delimiter: ,

[
  {
    "name": "Tea",
    "qty": "2",
    "paid": "true"
  }
]

Read quoted fields and embedded newlines, choose headers and JSON structure, and download the result. Switch modes for simple JSON-to-CSV conversion.

What is a CSV to JSON converter?

The CSV to JSON converter parses delimited text into arrays of objects or arrays of arrays in your browser. It supports quoted fields, escaped quotes and quoted newlines, detects comma, semicolon, tab or pipe separators, and offers manual overrides. Reverse mode converts flat JSON rows to downloadable CSV.

Features

  • RFC 4180-style quoted fields
  • Delimiter detection and override
  • Header and JSON structure options
  • Optional number and boolean typing
  • Pretty or minified JSON download
  • Flat JSON to CSV reverse mode

How to use the CSV to JSON converter

  1. Choose CSV to JSON or JSON to CSV.
  2. Paste input or use the file drop zone.
  3. Choose Delimiter and Header row options.
  4. For CSV input, choose JSON structure, typing and formatting.
  5. Review Converted output, then copy or download it.
Full guide · 5 min read · examples and common mistakes How to Convert CSV to JSON and Back

Worked example

Input name,qty,paid Tea,2,true with Header row and Array of objects produces one record. With Convert numbers and booleans enabled, it is {"name":"Tea","qty":2,"paid":true} inside the output array. With typing off, all three values remain strings.

Limits and data preservation

Use at most 1 MB per file, 1,000,000 text characters, 10,000 rows and 200 columns. Object headers must be unique and non-empty. Reverse mode rejects nested values; null and missing values become empty cells. Typing preserves leading-zero values and unsafe integers but ordinary decimals can lose precision. Formula-like CSV cells are not neutralized for spreadsheets.

Frequently asked questions

Can a CSV field contain commas or newlines?

Yes. Enclose the whole field in double quotes and write an internal quote as two double quotes. Quoted delimiters and newlines remain inside the field.

What if auto-detection chooses the wrong delimiter?

Select Comma, Semicolon, Tab or Pipe explicitly. Detection examines up to twenty complete records and is a heuristic.

Can I convert without column names?

Turn Header row off and use Array of arrays. Objects require a header row with unique, non-empty names.

Will typing remove leading zeros?

The typing option keeps values such as 001 as strings. Leave typing off when preserving all textual representations matters.

Can reverse mode flatten nested JSON?

No. Use an array of flat objects or arrays containing scalar values. Nested arrays or objects inside cells are rejected.

Last updated 16 November 2026. Made by Criza Labs. Spotted a mistake? Tell us.

PDF & image

JSON Formatter

Format, validate and minify JSON in your browser. Shows the line and column of any error, sorts keys and copies or downloads the result.

PDF & image

Text Difference Checker

Compare two texts by line or word, see added and removed counts, and switch between inline and side-by-side views.

PDF & image

Word Counter

Count words, characters with and without spaces, sentences and paragraphs as you type, with reading and speaking time.

Made by Criza Labs

Need a custom tool for your team or customers?

Criza Labs builds tools like this into websites, billing systems and internal apps: with your branding, your data and your workflow. Fixed scope, fixed price, and you own the code.