Turn CSV into JSON, with quoted fields and embedded commas handled properly.
Simple table
Headers become object keys
name,age\nAda,36Quoted commas
One field, not two
a,b\n1,"two, and a half"Multi-line field
A record spanning lines
id,note\n1,"line one\nline two"From a spreadsheet, an export, or a file.
Delimiter, whether the first row is a header, and type conversion.
Any parsing issues are listed above the output.
Commas inside quotes, escaped quotes and multi-line fields all parse properly. A converter that splits on commas gets every one of these wrong.
007 and +44 stay strings because they are part numbers and phone prefixes far more often than they are numbers. Nothing is converted unless it round-trips exactly.
Ragged rows, duplicate column names and stray quotes produce a clear note. An unclosed quote is an error rather than truncated output.
Convert CSV to a JSON array of objects. The parser reads the file character by character following RFC 4180, so the cases that break naive converters are handled: commas inside quoted fields, doubled quotes escaping a literal quote, records spanning several lines, and CRLF or LF endings. Values can be converted to real JSON types, conservatively — 007 stays a string, because a leading zero lost in conversion is silent data corruption. Ragged rows, duplicate headers and unclosed quotes are reported rather than quietly producing wrong output.
Keep going
Related pages in Developer Tools, plus what others are using right now.
More developer tools that pair well with this one.
Turn a JSON array of objects into CSV, with correct escaping.
Format, validate and minify JSON, with errors that point to the exact line.
Tidy YAML indentation, validate structure and convert between YAML and JSON.
Indent and validate XML, with clear messages when tags do not match.
Explain a cron expression in plain English and see exactly when it will next run.
Turn JSON into readable YAML, with quoting and multiline strings handled properly.
Create strong random passwords with full control over length and characters.
Work out any percentage — of a number, as a share, or as a change.
Count words, characters, sentences and paragraphs as you type.
Convert between length, weight, temperature, volume, speed, data and more.
Count characters with and without spaces, against the limits that matter.
Find the mean, median, mode and range of a list of numbers, with the working shown.
Sample and population standard deviation and variance, both shown, with the working.
Turn a logo into favicon.ico, the PNG sizes a site needs, and the HTML to declare them.
Check a downloaded file against its published checksum, without uploading anything.
Stamp text like DRAFT or CONFIDENTIAL across a PDF, in your browser.
See how savings grow with compounding, including regular contributions.
Shrink JPEG, PNG and WebP files with a quality slider and a live size comparison.