CSV to JSON
Convert CSV data to a JSON array of objects, with a delimiter choice and a header-row toggle.
Processed locally in your browser. Your data is never uploaded.
- Header row becomes the object keys; each data row becomes one object.
- Choose comma, semicolon, tab or pipe as the delimiter — not comma-only.
- Turn off "first row is a header" for headerless data — rows are still converted, with auto-generated "Column 1", "Column 2" keys.
- Numbers and true/false values are typed correctly, not left as strings — a quoted cell or a leading-zero code (like a ZIP) is correctly kept as text.
- Output is ready to paste into code, a request body or a fixture file.
- Runs in your browser — safe for exports containing real data.
Why this is private
- Processed locally in your browser. Your data is never uploaded.
- Open your browser's DevTools → Network tab while using this tool — you won't see a request carrying your input, because it never leaves your device.
- Nothing you enter is uploaded to a server or shared with us — the processing happens entirely on your device.
Overview
Converts CSV data into a JSON array of objects, using the first row as keys — numbers and booleans come out as real typed JSON values, not quoted strings. Also handles semicolon-, tab- and pipe-delimited files, and headerless data.
How to use it
- 1Paste CSV (or TSV/semicolon/pipe-delimited) data.
- 2Pick the matching delimiter if it isn't a comma.
- 3Turn off "first row is a header" if the data has none.
- 4Copy or download the JSON output.
Frequently asked questions
What people use it for
Turn a spreadsheet into API request bodiesConvert a list of records into a JSON array to POST to an endpoint.
Create test fixtures from real dataDrop a CSV sample into your test suite as JSON.
Load CSV data into a JS appGet an array of objects you can `import` or paste directly.
Move data between a spreadsheet and a NoSQL storeJSON is the common format for document databases.
Related tools
All data toolsJSON to CSVConvert a JSON array of objects to CSV, with delimiter choice and nested-data flattening.CSV ViewerView a CSV file as a formatted table.CSV FormatterClean up CSV formatting and convert between delimiters.JSON Viewer & FormatterView, format, validate, edit and beautify JSON with an interactive tree view, plus a shareable link.
Ready to use CSV to JSON?
CSV to JSON