Developer

JSON to CSV Converter Online - Paste or Open a JSON File

Convert JSON to CSV instantly. Open a .json file or paste an API response, preview the table, download a CSV for Excel.

100% Client-SideNo Tool Data StoredFree to UseNo Account Needed
JSON to CSV Converter

How to Use JSON to CSV

  1. 1

    Paste your JSON, or open or drop a .json file. An array of objects, a single object or an API response all work.

  2. 2

    Choose your delimiter and whether to flatten nested objects, then check the Table preview.

  3. 3

    Copy the CSV or download it as a .csv file ready for Excel or Google Sheets.

About JSON to CSV

Convert JSON to CSV instantly with our free online converter. Whether you're exporting API data to Excel, preparing data for a spreadsheet, or migrating between systems, this tool handles the conversion entirely in your browser.

Why JSON to CSV?

JSON is the lingua franca of APIs and modern applications. CSV is the lingua franca of spreadsheets, business analysts, and legacy systems. Converting between them is one of the most common chores in data work. Most JSON-to-CSV tools require an upload, run on a server, or are buried inside ad-heavy interfaces. This one is client-side, free, and supports nested object flattening.

What it handles

  • Arrays of objects: each object becomes a row, keys become column headers.
  • API responses: if the records sit inside a wrapper such as {"data": [...]} or {"results": {"items": [...]}}, the converter finds the array and uses it.
  • Single objects: converted to a one-row CSV.
  • Nested objects: flattened with dot notation (e.g. address.city). Optional.
  • Arrays inside values: serialized as JSON strings in a single cell.
  • Mixed schemas: the tool collects all keys across all rows to build the header list. Missing values become empty cells.
  • Special characters: cells with commas, quotes, or newlines are automatically quoted and escaped per RFC 4180.

Tips

  • Check the Table view before downloading: it shows the first 100 rows with their columns, so a wrong shape is easy to spot.
  • The downloaded file includes a UTF-8 byte order mark, so Excel reads accents and non-Latin text correctly.
  • For European Excel (which uses semicolon as the default delimiter), switch the delimiter dropdown to semicolon.
  • If you have deeply nested data, the flattened column names can get long. Consider transforming the JSON shape first.
  • Date fields in JSON are usually ISO strings. Excel and Sheets recognise these on import.

Privacy

Your JSON never leaves your browser. The tool uses pure JavaScript JSON parsing and string manipulation. There is no network request, no server, no logging.

FRI

Built by

Fateh Raiyan Ishmum

Full-stack dev since 2020. Full-stack web developer since 2020. Builds privacy-first, open-web tools. Specialises in Next.js, TypeScript, and performance-focused design.

Frequently Asked Questions

When 'Flatten nested objects' is enabled (default), nested keys are expanded with dot notation. So {"user": {"name": "Alice"}} becomes a column called user.name. Disable flattening to keep nested objects as JSON strings in a single cell.

Comma (,) is standard and works with Excel, Google Sheets, and almost every CSV reader. Use semicolon (;) for European locales where comma is the decimal separator. Use tab for TSV files. Use pipe (|) when your data contains commas and semicolons.

Never. The entire conversion happens in your browser. Your JSON, especially if it contains sensitive data like API responses or user records, is never uploaded, logged, or stored.

Cells containing the delimiter, double quotes, or newlines are automatically wrapped in double quotes. Embedded double quotes are escaped by doubling them (RFC 4180). This matches what Excel, Google Sheets, and standard CSV parsers expect.

There's no hard limit. Performance depends on your device. JSON files up to ~10MB convert instantly on a modern laptop. Very large files (100MB+) may slow down the browser since conversion happens in memory.

Yes. When the top level is an object, the converter looks up to three levels down for the largest array of records (data, results, items and so on) and turns each record into a row. A note above the output says which key it used.

Yes. Click Open .json file or drop the file on the input box. The file is read by your browser and never uploaded, and the download keeps the same file name with .csv on the end.

Yes. The downloaded file starts with a UTF-8 byte order mark, so Excel shows accents, emoji and non-Latin text correctly instead of garbled characters. If your Excel expects semicolons (common in Europe), pick Semicolon as the delimiter.

Not in this tool yet - it's one-way (JSON to CSV). Our YAML to JSON converter handles a different format. Let us know if you'd like a CSV to JSON tool added.

More Free Tools

Most Popular