JSON ↔ CSV
Convert JSON arrays to CSV and back. Runs in your browser.
⏱<5ms🔒client-only
Inputpaste ⌘V
Paste JSON here…
Output
Auto-runs on paste⌘↩
Tip: press Ctrl + Enter to re-run, or paste a large JSON to auto-format.
// EXAMPLES
// HOW IT WORKS
JSON → CSV converts a top-level array of objects into CSV with a header row inferred from object keys. CSV → JSON parses CSV with a header row and produces an array of {column: value} objects. Powered by papaparse, runs in your browser.
// FAQ
Can I convert nested JSON?
CSV is flat by design. If your JSON has nested objects, flatten them first or use a different format like YAML.
How are commas inside string values handled?
They're wrapped in double quotes automatically — papaparse follows the standard CSV escaping rules.
What's the reverse (CSV → JSON) output shape?
An array of objects where each row becomes one object, with column headers as keys. All values are strings (CSV has no type information).