Công cụ chuyển JSON sang CSV miễn phí
Biến phản hồi API, dữ liệu MongoDB export hoặc cấu hình thành các dòng CSV mở được trong Excel hoặc Google Sheets. Mỗi object thành một dòng; mỗi property thành một cột. Object và mảng lồng nhau được serialize thành chuỗi JSON trong ô.
Chọn dấu phân cách, bật/tắt hàng tiêu đề, sao chép kết quả hoặc tải file .csv. Toàn bộ chuyển đổi chạy trong trình duyệt - không có gì được upload.
Frequently Asked Questions
What JSON structure works for CSV conversion?
An array of objects works best: [{"name": "Alice", "age": 30}, {"name": "Bob", "age": 25}]. Each object becomes a row; each property becomes a column. A single object converts to one row. Nested objects and arrays are serialized as JSON strings in the cell.
Which delimiter should I use?
Comma is standard for US English locales and most APIs. Semicolon is common in European Excel locales where comma is the decimal separator. Tab (TSV) works well for copy-pasting into spreadsheets. Pipe is useful when your data contains commas.
Can I open the output in Excel?
Yes. Download the .csv file and open it in Excel or Google Sheets. If Excel misreads encoding or delimiters, try semicolon delimiter for European locales, or paste tab-delimited output directly into a spreadsheet.
How are nested JSON objects handled?
Nested objects and arrays are converted to JSON strings in a single cell. For example, {"address": {"city": "London"}} produces a column with the value {"city":"London"}. Flatten deeply nested data before conversion if you need separate columns.
Is there a row or column limit?
No server-side limit. Conversion runs in your browser. Very large datasets (100,000+ rows) may be slow on older devices. For massive exports, consider streaming tools or database-native export.