Support

JSON input

Runs in your browser· your JSON is converted in this tab and never uploaded

Options

Convert JSON to CSV, free and in your browser

Turn an API response, a JSON array or a JSON Lines export into a CSV you can open in a spreadsheet or load into a database. Nested objects are flattened into dotted column names, missing keys become empty cells, and you choose the delimiter, the header row and an Excel-friendly byte order mark. Nothing is uploaded: the JSON is parsed and converted in your browser tab.

Frequently Asked Questions

How do I convert JSON to CSV?
Paste a JSON array of objects, a single object or JSON Lines into the box, or open a .json or .jsonl file. The CSV and a preview of the first 100 rows appear straight away; then click Download CSV or Copy CSV. The header row is every key found in the data, in the order first seen.
Is my JSON uploaded anywhere?
No. The conversion runs in your browser tab, and the page makes no request with your data. Close the tab and it is gone.
How are nested objects and arrays handled?
With "Flatten nested objects" on (the default), a nested object becomes columns named with dots, for example address.city. Arrays are written as JSON text in a single cell. Turn flattening off to keep each nested object as JSON text in one cell.
Will the CSV open correctly in Excel?
Excel needs a comma or semicolon depending on your regional settings, so pick the delimiter that matches. Tick "UTF-8 BOM (for Excel)" if accented or non-Latin text shows up garbled. Cells with commas, quotes or line breaks are quoted following RFC 4180.

Found this useful? Hexabench is free and ad-free. If it saved you time, you can support it.

Buy me a coffee →