Skip to main content

Data Tools

JSON to CSV

Convert JSON data to CSV format. Free online tool — runs in your browser, no sign-up required.

See how to use this tool

JSON to CSV

Data is converted locally in your browser without server upload.

Privacy: your input is processed only in this browser. Refreshing clears the current state.

About JSON to CSV

ToolConv's JSON-to-CSV converter flattens a JSON array of objects into a CSV table right in your browser, handling nested objects by dot-notation key expansion and arrays by repeating rows or joining values. Drop in a JSON file or paste an array, and the tool infers the union of all keys across objects to build a complete set of columns, even when records have heterogeneous shapes.

Everything runs locally — API response payloads, customer exports, and analytics dumps never leave your device. You get proper RFC 4180 quoting (commas, quotes, and newlines inside values are escaped correctly), a UTF-8 BOM option for Excel compatibility, and a choice of delimiter (comma, semicolon, or tab).

How to use it

  1. 1Paste your JSON array or drop in a .json file.
  2. 2Choose a delimiter: comma, semicolon, or tab.
  3. 3Toggle 'flatten nested objects' for dot-notation keys.
  4. 4Optionally add a UTF-8 BOM for Excel compatibility.
  5. 5Click Convert and download the .csv.

When to use it

  • ✓Flattening a REST API response into a CSV for import into Excel.
  • ✓Converting a JSON customer export into CSV for a CRM import.
  • ✓Turning an analytics event dump into a spreadsheet for pivot analysis.
  • ✓Preparing JSON data for a tool that only accepts CSV input.

Features

  • •Auto-infers the union of keys across heterogeneous objects.
  • •Dot-notation flattening for nested objects and arrays.
  • •RFC 4180 quoting with Excel-friendly UTF-8 BOM option.
  • •Choice of comma, semicolon, or tab delimiter.

Related tools

FAQ

Does it handle nested objects?

Yes. Nested objects are flattened using dot-notation keys (e.g., address.city), so nested fields become their own columns in the CSV.

What happens to array fields?

Arrays of scalars are joined with a pipe (|) into one cell. Arrays of objects can either be flattened into repeated rows or JSON-stringified into a single cell — pick the mode that suits your downstream tool.

Is my JSON uploaded?

No. Parsing and CSV generation happen entirely in your browser; sensitive data like customer exports never leave your device.

Why does Excel show weird characters?

Excel on Windows sometimes mis-detects UTF-8 encoding. Enable the 'add UTF-8 BOM' option, which tells Excel to read the file as UTF-8 and fixes accented and non-Latin characters.

What if my JSON isn't an array of objects?

Wrap a single object in square brackets to make it a one-element array, or convert an array of scalars manually. The tool expects an array of flat or nested objects to build a table.

How are commas and quotes in values handled?

Per RFC 4180, any value containing the delimiter, a quote, or a newline is wrapped in double quotes, and embedded quotes are doubled. This keeps values intact in Excel and other CSV readers.