CSV to JSON Converter
Paste CSV to convert it into a clean JSON array of objects using the header row as keys, or paste a JSON array to turn it back into CSV.
What this tool does
- CSV to JSON array of objects, using the first row as keys
- JSON to CSV, flattening an array of objects to rows
- Handles quoted fields and commas inside values
- Converts locally — paste exported data without uploading it
Also known as: csv to json, json to csv, convert csv.
Frequently asked questions
Does it handle commas inside a field?
Yes. Fields wrapped in double quotes can contain commas, line breaks, and escaped quotes, following RFC 4180 — the same rules Excel and Google Sheets use when they export CSV.
What if my CSV has no header row?
Turn off header detection and each row becomes a JSON array of values instead of an object. With headers on, the first row supplies the object keys.
Is my data private?
Yes. Everything runs in your browser with JavaScript — nothing you type or paste is uploaded, logged, or sent to a server. You can disconnect from the internet after the page loads and it still works.
Related tools
JSON Formatter & Validator
Beautify, minify, and validate JSON with clear, line-pointed error messages.
/json-formatterUnix Timestamp Converter
Convert Unix epoch seconds or milliseconds to a human date and back.
/timestamp-converterBase64 Encode & Decode
Convert text to and from Base64 with full UTF-8 support.
/base64