How to use this converter
Paste your data into the left box, or click "Open file" to load a .json or .csv from disk. The tool looks at the first character to decide which way to convert: text starting with [ or { is treated as JSON, anything else as CSV. If it guesses wrong, set the direction menu yourself. The result appears on the right as you type, along with a count of rows and columns, and any JSON syntax error is reported with the line and column where parsing stopped, which is far quicker than hunting for a missing comma in a 2,000-line export.
Going from JSON to CSV, nested objects are flattened so order.customer.email becomes a single column, and you choose whether arrays are joined into one cell or split into numbered columns. Pick a semicolon delimiter and tick the BOM box if the file is destined for Excel in a European locale. Going the other way, the parser follows RFC 4180, so quoted cells containing commas, doubled quotes or line breaks are handled correctly, and the delimiter is detected from the header row. Turn on "unflatten" to rebuild nested objects from dotted headers, and use Swap to feed the output straight back in as a round-trip check.
Why use this rather than a spreadsheet or a script
Spreadsheets are poor at JSON: Excel's Power Query can import it, but arrays of objects end up needing several expansion steps, and dates and long numeric IDs get silently reformatted on the way out. Writing a quick Python or Node script works, but you still have to remember the quoting rules, decide how to flatten nesting and handle the record that has three extra keys the others lack. This page does that work with sensible defaults, and its header is the union of every key it sees, so uneven records do not lose data.
It is also useful for the reverse trip. Support teams often receive CSV exports from a CRM or a payment provider and need them as JSON for an API call or a test fixture; with type inference on, prices become numbers and flags become booleans instead of strings. Everything runs locally in the browser, so a file containing customer email addresses never leaves your machine, and inputs of several megabytes convert in well under a second.