JSON to CSV
Flatten JSON arrays and objects into CSV rows.
About the JSON to CSV
Paste a JSON array, an API response or an object and Handytool flattens it into a clean CSV file right inside your browser. The converter infers headers from object keys, keeps quoted values and commas safe, and lets you pick the delimiter your spreadsheet expects. Because nothing is uploaded, sensitive exports from your backend, logs or analytics platform stay fully private on your machine.
JSON to CSV features
- 01
Smart schema detection
An array of objects becomes a table with every unique key as a column — missing fields stay empty instead of breaking the row. Arrays of arrays and single objects are handled too.
- 02
Choose your delimiter
Export commas for standard CSV, semicolons for European Excel, tabs for TSV, or pipes for data pipelines. Values containing the delimiter, quotes, or newlines are automatically quoted and escaped.
- 03
Runs fully in your browser
Conversion happens locally with no upload, no account and no tracking. Copy the CSV to the clipboard or download a .csv file ready for Excel, Google Sheets, Numbers, or a database import.
JSON to CSV FAQ
- How do I convert JSON to CSV?
- Paste your JSON into the left pane — an array of objects works best — and click Convert. The right pane shows the CSV with one row per object and one column per unique key. Use Download to save it as converted.csv.
- Does it work with nested JSON?
- Top-level scalar values (strings, numbers, booleans) are written directly. Nested objects or arrays are serialized as JSON strings inside the cell so no data is lost — flatten the structure yourself first if you need each field in its own column.
- What if my objects have different keys?
- The tool scans every object and builds a union of all keys, so the CSV includes a column for every field that appears anywhere in the array. Objects missing a key simply produce an empty cell in that column.
- Can I open the output in Excel?
- Yes. Download the .csv and open it in Excel, Google Sheets, Numbers or LibreOffice. For European Excel installs that expect a semicolon delimiter, switch the Delimiter setting to ; before converting.
- Is my JSON uploaded anywhere?
- No. The JSON to CSV converter runs 100% in your browser using JavaScript — your data never touches a server and nothing is logged. It also works offline once the page is loaded.
- Does it handle commas, quotes and newlines inside values?
- Yes. Any value containing the active delimiter, a double quote, or a newline is wrapped in double quotes and internal quotes are doubled, following RFC 4180 so Excel and Sheets round-trip the data correctly.
Related tools
Document →Explore other tools
All tools →- Arriving soon
PDF to JPG
Turn each page of a PDF into a high-quality JPG image.
PDFOpen - Arriving soon
Remove background
Erase the background of a photo using an in-browser model.
ImageOpen - Arriving soon
Trim video
Cut the start or end of a video with frame-level precision.
VideoOpen - Arriving soon
Trim audio
Cut a section of an audio file.
AudioOpen - Live
Password generator
Create strong, random passwords locally.
UtilityRuns locallyOpen