JSON to CSV Converter
Convert arrays of JSON objects to CSV, flattening nested data.
Parse CSV into a JSON array of objects.
Runs in your browser. Your input is never uploaded.
Paste CSV with a header row.
Pick the delimiter and whether to convert numbers and booleans.
Convert, then copy or download the JSON.
Input
id,name
1,Ada
2,"Lovelace, A."Output
[{"id":1,"name":"Ada"},{"id":2,"name":"Lovelace, A."}]Convert arrays of JSON objects to CSV, flattening nested data.
Format, beautify and minify JSON with custom indentation.
Convert JSON objects and arrays into well-formed XML.
Empty cells become empty strings, or null when type detection is on.
Missing cells become empty values and extra cells are named by column number.
Everything runs in memory in your browser, so very large files (tens of MB) may be slow.
Learn what JSON is, its syntax rules, data types, common mistakes and how to read and write it in JavaScript and Python.
Paste or type input above, or press Sample to see an example.