Developer

JSON to CSV Converter

Turn an array of JSON objects into clean CSV with a unioned header and correct quoting, or parse CSV — including quoted fields, commas and newlines inside quotes — back into pretty-printed JSON. Errors are reported clearly.

Examples

Input
name,age then a row Ada,36
Output
An array of objects with name and age keys

How it works

JSON to CSV expects an array of objects; a single object is treated as one row. The header row is every key found in any object, in the order first seen, and a row that lacks a key gets an empty cell. Nested objects and arrays are written into the cell as JSON text.

[{"name":"Ada","tags":["a","b"]},{"name":"Bo","age":36}]

name,tags,age
Ada,"[""a"",""b""]",
Bo,,36

A value that contains a comma, a quote or a line break is wrapped in quotes, with inner quotes doubled, which is what spreadsheets expect. In the other direction the first CSV row supplies the keys and every value stays a string, so 36 arrives as "36". The delimiter is always a comma.

How to use JSON to CSV Converter

Pick a direction
Switch between JSON to CSV and CSV to JSON.
Paste your data
Drop in an array of objects or CSV text with a header row.
Export the result
Use Copy or Download to save the converted output.

Why use this tool

Builds a CSV header from the union of all object keys
Quotes fields containing commas, quotes or newlines
Parses quoted CSV fields with embedded delimiters
Outputs readable, pretty-printed JSON

Frequently asked questions

An array of objects works best. The header is the union of all keys, and missing values become empty cells.

Yes. The parser respects quoted fields, escaped quotes, and commas or newlines inside quotes.

Found a bug or have an idea?

ToolOrbit is actively developed — feedback directly shapes what gets built next.

Send feedback