JSON to CSV

Paste a JSON array of objects and get clean CSV, or paste CSV to get JSON back. It all runs in your browser, so your data never leaves the page.

How it works

JSON to CSV expects an array of objects. Plybyte gathers every key across the rows to build the header, then writes one line per object, quoting any value that contains a comma, quote or line break. Nested objects and arrays are kept as compact JSON inside the cell. CSV to JSON reads the first row as headers and turns each following row into an object, converting plain numbers and true or false as it goes. Everything happens in your browser, so even a large export never leaves your machine.

JSON in

[
  {"name": "Ada", "age": 31, "admin": true},
  {"name": "Lin", "age": 27, "admin": false}
]

CSV out

name,age,admin
Ada,31,true
Lin,27,false

CSV to JSON reverses it: paste the CSV above with its header row and get the same JSON back.