Free Online CSV to JSON Converter
Paste CSV data and get clean, formatted JSON in seconds—with header and type options.
0 rows · 0 columns
Advertisement
About the CSV to JSON Converter
CSV is a simple spreadsheet format; JSON is the format most APIs and web apps use. This converter turns pasted CSV data into clean, properly escaped JSON. It understands quoted fields, commas inside quotes, escaped double quotes, and line breaks inside cells.
Options
- Delimiter: auto-detect works for most files, or choose comma, semicolon, tab, or pipe.
- Header row: use the first row as object keys. Without a header, the output is an array of arrays.
- Trim values: removes surrounding spaces from every cell.
- Infer types: converts numeric strings and true/false values to JSON numbers and booleans.
How to convert CSV
- Paste CSV data into the left box or upload a CSV file.
- Choose the delimiter and output options.
- Click Convert to JSON.
- Copy or download the result.
Frequently asked questions
What happens to empty cells?
Empty cells become empty strings by default. With type inference enabled, an empty cell becomes null.
Can I convert a TSV file?
Yes. Choose the tab delimiter, or use auto-detect on a pasted TSV file.
Is my data uploaded?
No. Parsing happens locally in your browser, so your spreadsheet data never leaves your device.
Sponsored