/tools/csv-to-json

CSV to JSON Converter

Convert CSV files or pasted tabular data into clean, formatted JSON.

csv-to-json://local

CSV input

JSON output

Ready. Paste CSV or choose a file to convert it locally.

/usage

How to convert CSV to JSON

  1. Paste CSV, drop a file onto the input, or choose a file from your device.
  2. Keep automatic delimiter detection or choose comma, tab, semicolon, or pipe.
  3. Choose whether the first row contains headers and whether values should be inferred.
  4. Copy the formatted JSON or download it as a .json file.

/capabilities

Reliable CSV parsing without an upload

Quoted and multiline fields

The parser handles delimiters inside quoted fields, escaped double quotes, Windows or Unix line endings, and line breaks inside quoted values.

Predictable JSON keys

Blank and repeated headers receive stable names, while uneven rows are reported rather than silently ignored. Values remain strings unless inference is enabled.

/faq

CSV conversion questions

Is my CSV uploaded?

No. The selected file or pasted CSV is read and converted by a dedicated worker inside this browser. Its contents are not sent to Data Demon.

Why are values strings by default?

CSV does not carry data types. Keeping strings protects identifiers such as 00123. Enable inference when you explicitly want JSON numbers, booleans, and null values.

What happens when rows have different lengths?

The converter keeps every value, fills missing cells with empty strings, creates stable keys for extra columns, and reports the inconsistency in the status line.