CSV to JSON Converter
Paste CSV data and get a JSON array of objects. The first row is treated as headers, and each subsequent row becomes an object with those headers as keys. Handles quoted fields (with commas, newlines, or quotes inside them) correctly, and supports custom delimiters like semicolons or tabs.

What it does
- ▸Converts CSV to a JSON array of objects using the first row as headers
- ▸Handles quoted fields with embedded commas, newlines, and escaped quotes
- ▸Supports custom delimiters (comma, semicolon, tab, pipe)
- ▸Optionally trims whitespace from values and headers
- ▸Type detection — converts numeric strings to numbers and empty strings to null
Use cases
- ▸Converting a CSV export from a spreadsheet to JSON for an API
- ▸Importing CSV data into a JavaScript application or database
- ▸Transforming a data export from one system to JSON for another
- ▸Quickly inspecting CSV data in a more structured format
How it works
Paste your CSV data into the input pane
The first row is used as column headers
Each subsequent row is converted to a JSON object with those headers as keys
The JSON array appears in the output pane, ready to copy
Frequently asked questions
1How does it handle commas inside field values?
If a field is wrapped in double quotes, commas inside the quotes are treated as part of the value, not as delimiters. This follows standard CSV quoting rules (RFC 4180).
2Can it handle semicolon-separated files?
Yes. Change the delimiter option to semicolon, tab, or pipe. This is useful for European CSV files that use semicolons as delimiters, or for TSV (tab-separated) files.
3Does it convert numbers and booleans?
The tool can optionally detect and convert numeric strings to numbers, "true"/"false" to booleans, and empty strings to null. Toggle type detection on or off depending on your needs.
Related tools
Use CSV to JSON offline in Devinity
All 95 tools run locally on your Mac. No internet required, no data sent to servers.
Download Devinity →


