CSV to JSON

Paste CSV and it converts to JSON automatically — nothing leaves your browser.

CSV Input 0 lines
1
JSON Output 0 lines
1
UTF-8 · 0 B CSV → JSON
Waiting for input

How It Maps

  • The header row becomes each object's keys
  • Numbers and true/false are detected automatically
  • Every other row becomes one JSON object
  • Instant conversion as you paste
  • Copy or download the result

Features & Supported Capabilities

  • Auto-detects comma, semicolon or tab delimiters
  • Handles quoted fields with embedded commas and newlines
  • Handles files up to 10 MB
  • Reports a clear error if a header row is missing
  • Runs entirely in your browser — nothing uploaded

About this CSV to JSON converter

Spreadsheets and database exports arrive as CSV, but APIs and applications usually want JSON. This free online CSV to JSON converter reads the header row as the object keys, turns every following row into a JSON object, and detects numbers and booleans automatically instead of leaving everything as text.

Paste or upload your CSV and the JSON appears instantly in your browser, with nothing uploaded. To convert the other direction use JSON to CSV, and to inspect or query the result try the JSON viewer or the JSONPath tester.

Frequently Asked Questions

Everything you might want to know about the online CSV to JSON converter.

The first row is treated as column headers. Each row after that becomes one JSON object, with the header values as keys and that row's cells as values.
A cell that looks like a plain number becomes a JSON number, and a cell that is exactly true or false (any case) becomes a JSON boolean. Everything else stays a string.
It auto-detects the delimiter from the header row, so comma-, semicolon- and tab-separated files all work without any setting to change.
No. The conversion runs entirely in your browser. Your CSV is never uploaded, stored, or logged.
Yes, use the JSON to CSV tool, which turns an array of JSON objects back into a header row plus data rows.
A field wrapped in double quotes can contain commas, line breaks, and escaped quotes ("") without breaking the row into extra columns.
You can paste text or upload a file up to 10 MB.
A blank cell becomes an empty string ("") in the JSON output, keeping every row the same shape even when some fields are missing.
Yes. Use the Copy button to copy it to your clipboard, or Download to save it as a .json file.