Global ToolBox

JSON to CSV

Convert a JSON array of objects into CSV, right in your browser.

🔒 Processed locally in your browser

Loading…

How to use

  1. Paste a JSON array of objects into the box above — for example [{"name":"Alice","age":30},{"name":"Bob","age":25}].
  2. Click Convert to turn it into CSV.
  3. Review the CSV output shown below the input box.
  4. Use Copy to copy the CSV to your clipboard, or Download to save it as a .csv file.

Features

  • Converts a JSON array of objects into properly formatted CSV
  • Handles rows with different or missing fields gracefully — no crashes on inconsistent data
  • Proper RFC 4180 CSV quoting for values containing commas, quotes, or newlines
  • One-click copy to clipboard or download as a .csv file
  • 100% client-side — your data never leaves your browser

Frequently asked questions

Does my JSON get uploaded anywhere?

No. JSON to CSV runs entirely in your browser — your data is never sent to a server.

What happens if my objects have different fields?

The CSV header is built from the union of all fields seen across every object. Rows missing a given field simply get a blank cell in that column, and rows with extra fields get their own additional column.

What if my JSON is a single object instead of an array?

It's automatically treated as a one-row table — you don't need to wrap it in square brackets yourself.

What if my JSON isn't an array of objects at all, like an array of numbers?

You'll see a clear error message explaining that the tool expects an array of objects (or a single object), so you can fix the input shape before converting.

Does it handle nested objects or arrays inside a field?

Yes. A nested object or array is converted to its JSON text representation and placed inside that single cell, rather than being flattened into separate columns.

Related tools