ShadeKit.ioLoading…

CSV to JSON Converter

Convert CSV data to JSON for APIs, configuration files and JavaScript apps. The header row becomes object keys, quoted fields with commas or line breaks are parsed correctly, and numbers, booleans and empty cells can be typed automatically.

The interactive tool loads here when JavaScript is enabled. Files are processed locally in your browser.

How to use CSV to JSON Converter

  1. Paste CSV text or upload a .csv file.
  2. Choose the delimiter and whether to detect numbers and booleans.
  3. Pick an array of objects or an array of arrays.
  4. Copy the JSON or download it as a .json file.

Features

  • RFC 4180 quoting: commas, quotes and line breaks inside quoted fields are handled.
  • Comma, semicolon, tab and pipe delimiters, with automatic detection.
  • Optional type detection that keeps leading-zero IDs such as 00123 as text.
  • Duplicate or empty headers are renamed so no column is silently lost.

Supported formats and limitations

Input: pasted CSV/TSV text or a .csv file. Output: JSON to copy or download (.json).

  • The first row is always treated as headers.
  • Very large files (tens of megabytes) may be slow in older browsers.

Frequently asked questions

Will numbers like ZIP codes lose their leading zeros?

No. Values with a leading zero, such as 01234, are kept as text even when type detection is on. Turn detection off to keep every value as a string.

How are empty cells converted?

With type detection on, empty cells become null. With it off, they stay empty strings.

Is my CSV uploaded to a server?

No. Parsing and conversion happen locally in your browser.