JSON to CSV Converter
Convert a JSON array of objects into a clean, downloadable CSV file — entirely in your browser. Supports nested objects, JSONLines, and a live preview before you download.
Guide
How to convert JSON to CSV
- 1 Choose your input source
Use the Paste / File / URL segmented control to select how your JSON arrives. Paste works for clipboard content; File accepts drag-and-drop or click-to-browse; URL fetches any public JSON endpoint.
- 2 Provide your JSON
Accepted formats: an array of objects, a single object, or JSONLines with one object per line. Nested objects are automatically flattened using dot-notation.
- 3 Adjust advanced options (optional)
Open the Advanced options section to change the delimiter (comma, semicolon, tab, or pipe), enable a UTF-8 BOM for Excel compatibility, or toggle the header row on or off.
- 4 Click Convert
A scrollable preview table appears immediately with all columns and rows. Column headers reflect dot-notation keys for any nested properties (e.g. address.city).
- 5 Download or copy
Click Download CSV to save a .csv file named with today's date, or use the Copy button to put the full CSV text onto your clipboard.
- 6 Open in any spreadsheet
The downloaded file is RFC 4180-compliant and opens without issue in Excel, Google Sheets, or any database import wizard.
Examples
Input and output examples
[{"name":"Alice","age":30},
{"name":"Bob","age":25}] Produces 2 columns and 2 data rows. Column order follows first-object key order.
name,age Alice,30 Bob,25
RFC 4180 format. Values containing commas or quotes are automatically wrapped in double-quotes.
[{"user":{"name":"Alice"},
"tags":["admin","dev"]}] The user object is flattened; the tags array is serialized as a JSON string in one cell.
user.name,tags Alice,"[""admin"",""dev""]"
Dot-notation keys for nested scalars. Arrays become RFC 4180-escaped JSON strings.