JSON to CSV Converter
Free JSON to CSV converter and CSV to JSON. Handles nested objects by flattening with dot notation, arrays with indexes, RFC 4180 quoting, and custom delimiters.
Free, no sign-upRuns in your browserNothing uploaded
Converted to CSV
13 columns.
Output, read only.
Column mapping (13)
Nested keys are flattened with dots and arrays get numeric indexes. Checking this against what you expected is the single most useful check before trusting a spreadsheet.
- id
- name
- active
- roles
- address.city
- address.country.code
- orders.0.sku
- orders.0.qty
- orders.0.total
- orders.1.sku
- orders.1.qty
- orders.1.total
- input bytes
- 541
- output bytes
- 295
- columns
- 13
- delimiter
- ,
The quickest path between an API and a spreadsheet. Paste an array of JSON objects and you get CSV; paste CSV and you get a JSON array. Excel, Google Sheets, Numbers and LibreOffice all open the result directly.
Nested data is where most converters fall apart. An object nested three levels deep has no natural column, so this tool flattens it with dot notation - user.profile.name becomes a single column called user.profile.name. Arrays of objects are given numeric indexes: items.0.sku, items.1.sku. The mapping is shown in a column list so you can see exactly how your structure was interpreted, which matters more than it sounds when a spreadsheet is involved.
Parsing follows RFC 4180 properly. Quoted fields containing commas, newlines and escaped double quotes are handled, which means a CSV exported from Excel with embedded line breaks survives the round trip. You can change the delimiter between comma, semicolon and tab, which is what European locales usually need, and pick whether arrays become repeated columns or JSON text.
JSON to CSV Converter features
How to use the JSON to CSV Converter
Paste JSON or CSV
Put an array of objects in the JSON side and get CSV instantly, or paste CSV with a header row and get a JSON array. The header row is required to convert CSV to JSON.
Review the column mapping
Nested keys are flattened with dots and arrays get numeric indexes. The column list shows every generated column so you can check nothing collapsed together.
Choose your delimiter
Comma, semicolon or tab. Semicolon is the right choice for locales where the comma is a decimal separator, which is most of them.
Copy or download
Copy the result, download it as .csv, or open it straight in a spreadsheet. The download always includes UTF-8 byte order mark handling for Excel compatibility with accented characters.
Frequently asked questions
How should nested JSON be converted to columns?
Why did my array disappear or become one long string?
When should I use a semicolon instead of a comma?
Can I convert CSV to JSON?
How are quotes and commas inside a field handled?
My spreadsheet shows accented characters as question marks
Related tools
Every tool, in one place
ToolForge has json to csv converter plus a growing set of image, colour and developer tools. All of them run locally in your browser, free and without an account.
Browse all tools