Text and developer tools

CSV ↔ JSON Converter

Turn CSV into JSON, or JSON into CSV, with a preview of the table.

Convert
0 characters

Your text stays on your deviceHow?

How to convert CSV to JSON

  1. Choose CSV to JSON or JSON to CSV.
  2. Paste the data, or choose a file.
  3. Check the table preview, then copy or download the result.

Questions

Does it handle commas and line breaks inside fields?

Yes. Quoted fields are read and written as the CSV standard (RFC 4180) describes.

Are numbers kept as numbers?

Only if you choose Read numbers and true/false. Otherwise every value stays text, exactly as written.

Which delimiters does it know?

Comma, semicolon, tab and pipe. Detect picks the one the file uses.

Is my data uploaded?

No. It is converted inside your browser, and never leaves your device.