# JSON to CSV

> Convert a JSON array of objects to CSV locally in your browser.

Canonical: https://host-tools.com/tools/json-to-csv/

---

## What does this tool do?

It turns a JSON array of objects into a CSV table. The first row becomes the header (the union of
all object keys), and each object becomes a row. Values that contain commas, quotes or line
breaks are quoted correctly, so the output is valid CSV.

## Keep in mind

The input must be a JSON **array of objects**. Nested objects are serialized as JSON strings
inside a single cell. Everything runs locally in your browser.
