CSV to JSON

Convert CSV data into JSON.

Processed on your device. Your files never leave your browser.

About CSV to JSON

This tool parses CSV data and converts it into a clean JSON array, using the first row as object keys. It correctly handles quoted fields, embedded commas and line breaks, and can optionally infer numbers and booleans.

How to use

  1. 1Paste your CSV, with a header row on top.
  2. 2Choose the delimiter used in your file.
  3. 3Toggle 'Infer types' to parse numbers and booleans automatically.
  4. 4Click Convert to JSON, then copy or download the result.

Features

  • RFC-4180-style parsing with quoted fields.
  • Header row becomes JSON keys.
  • Optional number/boolean type inference.
  • Comma, semicolon, tab and pipe delimiters.

Frequently asked questions