🔄

CSV to JSON Converter

Convert CSV data into a JSON array of objects. The first row is treated as headers. Copy or download the result.

CSV Input
JSON Output

About CSV to JSON Converter

This tool reads CSV data, uses the first row as keys, and produces a JSON array where each subsequent row becomes an object. It handles quoted fields, escaped quotes, and multi-line cell values correctly per RFC 4180.

Auto-detect Types

When "Auto-detect types" is enabled, numeric strings become JSON numbers, "true"/"false" become booleans, and empty cells become null. Disable it to keep all values as strings.

FAQ

The tool always treats the first row as headers. If your data has no headers, add a header row at the top (e.g. col1,col2,col3) before converting.
Yes. The parser fully supports RFC 4180 — fields wrapped in double quotes can contain commas, newlines, and escaped double quotes ("").
No. Everything happens in your browser. Your CSV data never leaves your device.