Skip to content
LINEZOVA
LINEZOVA / Free tools

CSV to JSON Converter

Convert quoted CSV/TSV into structured JSON without uploading files.

Input & settings

What this tool does

CSV to JSON reads a delimiter-separated table and writes a JSON array. The first row supplies the keys. Every cell stays a string. Quoted fields can contain the delimiter, a doubled quote, or a line break. A byte-order mark at the start of the first header is removed.

How to use it

  1. Paste the table or open a text file up to 10 MB.
  2. Choose comma, semicolon, tab, or pipe.
  3. Choose Convert to JSON, then copy or download the result.

Practical example

The rows name,note and Alice,"Hello, world" become one object whose note is Hello, world, including the comma.

Tips

Headers must be unique, nonempty, and must not be __proto__, constructor, or prototype. Every data row must have the same number of fields as the header. This is a practical parser for those rules, not a claim of full RFC 4180 coverage. At most 100,000 data rows are accepted.

Questions

Are numbers converted?

No. Age and other numeric-looking cells remain JSON strings.

How are quotes inside a field written?

A quote inside a quoted field is written as two quotes. The parser turns that pair into one quote.

Can a field contain a new line?

Yes, when the field is wrapped in quotes. A new line outside quotes starts another row.

What if a row is short?

The conversion stops and names the row. Missing cells are not filled in.

Is the file uploaded?

No. Open CSV file reads the text in this browser.

Related tools