JSON CSV Converter: Convert Between JSON and CSV

Convert JSON and CSV entirely in this browser. Accepts an array of objects (rows) or an object of arrays (columns). CSV follows RFC 4180 quoting, an optional header row, and comma, semicolon, tab, or pipe delimiters. Nested objects flatten to dotted keys, or conversion stops with a named path. UTF-8 in, UTF-8 out. Nothing is uploaded.

Conversion options
Load file

Drop a UTF-8 file here. Client-only FileReader. Ctrl or Cmd + Enter converts.

Output is generated locally. CSV records use CRLF as in RFC 4180.

Paste JSON and press Convert. Results stay in this browser.

Accepted shapes and honesty

Rows: [{"id":1,"name":"Ada"}]. Columns: {"id":[1],"name":["Ada"]}. A 2D array of arrays is also a table. Nested objects and arrays are not silent: enable Flatten nested objects for dotted keys such as address.city, or leave it off and read the refused path. Empty cells stay empty; JSON null writes an empty cell.