>
B's Code

JSON / CSV Converter

Convert a JSON array of objects to CSV, or CSV back to JSON. Runs entirely in your browser.

[ INPUT ]
[ OUTPUT ]
// waiting for input

About JSON / CSV Converter

JSON and CSV both hold tabular data but suit different tools — JSON for APIs and code, CSV for spreadsheets. This converts a flat JSON array of objects to CSV and back.

How to use it

  1. Paste a JSON array of objects, or CSV text.
  2. Pick the conversion direction.
  3. Review the output columns or keys.
  4. Copy the result.

Frequently asked questions

What JSON shape does it expect?
An array of objects with consistent keys. Deeply nested objects do not map cleanly to flat CSV columns.
How are commas and quotes in values handled?
Values containing commas, quotes, or newlines are wrapped in double quotes following the usual CSV rules.
Is my data uploaded?
No. Conversion runs in your browser.