JSON ↔ CSV
Runs in your browserConvert between JSON object arrays and CSV, preview the table, and download the result.
How to use
Steps
- Choose JSON to CSV or CSV to JSON. JSON input should be a flat array of objects. CSV uses the first row for column names.
- Paste the data and select Convert. Check the output and preview for column order, row counts, and cells with commas or line breaks.
- Use Copy result or Download result for the full data. To verify a round trip, switch directions and paste the previous result back into the input.
Example
Select JSON to CSV and paste the data below. The headers are id,编号,名称 , and commas inside the name column are quoted.
[{"id":9007199254740993123,"编号":"0012","名称":"画报,周刊"}]
Tips
- Missing JSON fields and
nullbecome empty cells. CSV to JSON reads all cells as strings, preserving large IDs and leading zeros. - The preview shows the first 20 rows and 12 columns. When importing into Excel or another spreadsheet, set ID and reference columns to text.