JSON to CSV Converter
Convert JSON arrays to CSV and CSV to JSON. Auto-detects headers, supports nested fields, copy or download.
Convert JSON arrays of objects to CSV, or CSV back to JSON, with auto-detected headers, configurable delimiters, and one-level dot-notation flattening for nested fields. Built for quickly turning API output into a spreadsheet.
When to use it
- 1Converting an API response into a CSV for a spreadsheet or report.
- 2Importing data into tools that only accept CSV from a JSON-only source.
- 3Quickly previewing a JSON dataset as a table without writing a script.
How it works
- 1
Pick a direction
Toggle between JSON to CSV and CSV to JSON. The form updates to show the right options.
- 2
Tune the parser
Pick delimiter (comma, semicolon, tab, pipe), enable type inference for numbers and booleans, choose first-row-as-headers.
- 3
Export
Copy the result, download a .csv or .json file, or swap directions to round-trip through both formats.
Frequently asked
Does it support nested JSON?
Yes - one level of nesting is flattened with dot notation (e.g. address.city becomes a column). Deeper nesting is JSON-stringified into a single cell.
What encoding does the CSV use?
UTF-8 with no BOM. If you need a BOM for Excel compatibility, fork the tool and add a toggle.
Are arrays in fields handled?
Arrays are joined with semicolons by default. You can change the join character in the settings.
Want a tool just like this, but yours?
Every tool on this page was generated by GenMB from a single prompt. Describe yours and ship it to your own subdomain in minutes.
Build with GenMBRelated tools
Free QR Code Generator
Generate QR codes for URLs, text, contact cards, and Wi-Fi. Sign in to save your codes and revisit them anytime.
JSON to YAML Converter
Convert JSON to YAML and YAML to JSON instantly. Validates input, formatted output, copy with one click.
Markdown to HTML Converter
Convert Markdown to clean HTML in real time, with GitHub-flavored Markdown and saved documents when you sign in.
Base64 Encoder & Decoder
Encode and decode Base64 strings. Supports text and files. Free, no signup, runs in your browser.