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
- Choose CSV to JSON or JSON to CSV.
- Paste input or use the file drop zone.
- Choose Delimiter and Header row options.
- For CSV input, choose JSON structure, typing and formatting.
- Review Converted output, then copy or download it.
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.