SimplyToolbox
⌘K
ImageVideoPDFDeveloperCalculatorBlogAbout
HomeDeveloper ToolsJSON to CSV
📋

JSON to CSV

Convert a JSON array into CSV format.

What the JSON to CSV converter does

This tool turns a JSON array of objects into comma-separated values (CSV), the format that spreadsheets and many data tools expect. It reads every object in your array, gathers the full set of keys across all rows to build the header line, and then writes one CSV row per object. Values that contain commas, quotes, or line breaks are automatically wrapped in quotes and escaped, so the output stays valid and opens cleanly in Excel, Google Sheets, or any CSV reader.

It is handy for analysts and developers who receive data as JSON from an API or export but need to view, sort, or share it in a spreadsheet. Instead of writing a one-off script, you can paste the array and get a downloadable CSV in seconds.

How to use it

Paste a JSON array of objects into the input box, for example a list of records each with the same fields. Press Convert to CSV and the result appears in the output box below. From there you can use Copy to place the CSV on your clipboard, or Download .csv to save it as a data.csv file ready to open in a spreadsheet.

The header row is built from the union of all keys found across your objects, so even if some records are missing a field, the column still appears and those cells are left empty. This keeps every row aligned to the same columns.

Tips and notes

The input must be a JSON array; a single object or other JSON value will produce an error message asking for an array. Nested objects or arrays inside a field are converted to their string form rather than expanded into extra columns, so flatten complex structures first if you need each nested value in its own column.

All conversion runs in your browser. Your data is never uploaded to a server, which makes the tool safe for private or proprietary datasets.

Frequently Asked Questions

What input format does the tool expect?▼
It expects a JSON array of objects, such as a list of records that each share the same field names. If you paste a single object or a non-array value, it returns an error asking for an array.
How are the CSV columns determined?▼
The converter collects the union of all keys across every object in the array to form the header row. Objects missing a particular key simply get an empty cell for that column.
Does it handle commas and quotes inside values?▼
Yes. Any value containing a comma, double quote, or newline is wrapped in quotes and its inner quotes are doubled, following standard CSV escaping rules so the file opens correctly.
What happens to nested objects or arrays?▼
Nested values are converted to their string representation rather than expanded into separate columns. If you need each nested field as its own column, flatten the data before converting.
Is my data uploaded anywhere?▼
No. The conversion happens entirely in your browser, so your JSON never leaves your device.

You might also like

{ }

JSON Formatter

Format, validate and beautify JSON

🔄

CSV to JSON

Convert CSV to JSON format

🔐

Base64 Encoder/Decoder

Encode or decode Base64 strings

🔗

URL Encoder/Decoder

Encode or decode URL strings

SimplyToolbox

90+ free online tools. No signup. No limits. Just tools that work.

AboutContactBlogPrivacy PolicyTerms of Use

Image & Video

  • Image Compressor
  • Image Resizer
  • Image Converter
  • Video Compressor
  • Video to GIF
  • Screen Recorder

PDF & Text

  • PDF Compressor
  • PDF Merger
  • PDF Splitter
  • Word Counter
  • Markdown Editor
  • Text Diff Checker

Developer

  • JSON Formatter
  • Base64 Encoder
  • Hash Generator
  • Password Generator
  • UUID Generator
  • Regex Tester

Tools & More

  • Unit Converter
  • BMI Calculator
  • Currency Converter
  • QR Code Generator
  • Color Picker
  • Gradient Generator

© 2026 SimplyToolbox. All rights reserved.

Processing happens in your browser — your files stay private.