Data format tools
JSON to CSV Converter
Convert a JSON array to CSV (or CSV back to JSON), preview the table, and copy or download the result. Values with commas, quotes or line breaks are quoted correctly.
Conversion runs locally. Your JSON and CSV output are not sent to loresync tools.
JSON input
CSV output
Table preview
| name | age | address.city | note | tags |
|---|---|---|---|---|
| Alice | 30 | Tokyo | likes "tea", coffee | |
| Bob | 25 | Osaka | ["admin","dev"] |
2 rows · 5 columns · Delimiter: Comma
Fields that contain the delimiter, a double quote or a line break are quoted, and quotes are doubled (RFC 4180). Lines end with CRLF. Nested objects become dot-separated columns (user.city); arrays are written as JSON text in one cell. CSV → JSON keeps every value as a string.
Table preview
Inspect generated columns and rows before copying or downloading the CSV.
Nested key flattening
Turn nested JSON objects into spreadsheet-friendly dot notation columns.
Example-ready workflow
Start with a small JSON array, confirm the columns, then paste the larger export.
Conversion Workflow
Valid JSON input
Use a JSON array of objects for best results. The tool reports parse errors when input is malformed.
Column generation
Keys are collected across rows, nested fields are flattened, and missing values are left empty in the CSV.
CSV compatibility
Choose delimiter and quote settings based on Excel, Google Sheets, database import, or regional spreadsheet preferences.
Local downloads
Generated CSV and JSON files are created in the browser from the current output.
FAQ
Is pasted JSON uploaded?
No. Parsing, flattening, CSV generation and downloads happen in your browser.
How are commas, quotes and line breaks inside values handled?
Following RFC 4180, a field that contains the delimiter, a double quote or a line break is wrapped in double quotes, and each double quote inside it is doubled. CSV to JSON reads such fields back correctly, including line breaks inside quotes.
Why does Excel show garbled Japanese or accented text?
Excel assumes a local encoding unless the file starts with a UTF-8 byte order mark (BOM). Keep "Download for Excel (UTF-8 with BOM)" checked when you open the file in Excel. Turn it off for tools that do not expect a BOM.
Can nested objects be converted?
Yes. Nested keys are flattened with dot notation (user.city). Arrays are written as JSON text inside one cell.
Can CSV be converted back to JSON?
Yes. Switch to CSV to JSON. The first row is used as the header and every value is kept as a string.