JSON ↔ CSV Converter

Convert JSON arrays to CSV and CSV tables back to JSON — instantly in your browser.

📐 How to Use

  1. Paste your JSON array or CSV data into the input box.
  2. The tool auto-detects whether you've pasted JSON or CSV.
  3. Click "Convert" (or it converts automatically as you type).
  4. Copy or download the output.

Frequently Asked Questions

QWhat JSON structure is supported?
An array of objects where all objects share the same keys — the keys become CSV column headers.
QCan it handle nested objects?
Nested objects are serialised as JSON strings within a single CSV cell, preserving the data without flattening.
QIs my data sent anywhere?
No — all conversion happens in your browser. Nothing is uploaded.

ℹ️ About This Tool

JSON→CSV maps object keys to headers and values to rows. CSV→JSON parses headers from the first row and creates one object per subsequent row. All processing uses vanilla JavaScript.