JSON to CSV Converter
Convert a JSON array of objects to CSV, or a CSV file back to JSON, in your browser.
Runs entirely in your browser — nothing is sent to our servers.
Input (JSON)
Output (CSV)
id,name,role
1,Ada Lovelace,Engineer
2,Grace Hopper,EngineerWhat is JSON to CSV conversion?
JSON is the shape APIs return; CSV is the shape spreadsheets and data-import tools want. Converting a JSON array of objects to CSV means picking a column for every key that appears anywhere in the array, and lining every object's values up under the right column — even if some objects are missing a field. Converting back means treating the first CSV row as headers and reading every value as a typed field.
Why use this tool
Both directions happen locally: no file uploads to a third-party converter. JSON → CSV collects the union of every object's keys as columns, quotes fields containing commas, quotes or newlines per RFC 4180, and serializes nested objects/arrays as inline JSON strings rather than dropping them. CSV → JSON coerces numbers and true/false automatically, and everything else stays a string.
How to use it
- Choose a direction: JSON → CSV or CSV → JSON.
- Paste your data on the left — a small sample is preloaded to try it out.
- Read the converted result on the right, or the error if the input isn't valid.
- Copy the result with the button above the output panel.
Related tools
JSON Formatter
Format, minify, validate and escape JSON.
SQL Formatter
Indent queries with keyword casing options.
String & ID Formatter
Case conversion, Base64, URL encoding, UUIDs.
Text Transform
Lines to delimited list and back, with trim, dedupe and sort.
JSON Compare
Diff two JSON documents, path by path.
BIN Checker
Card issuer lookup from a BIN/IIN.
Temporary Email
A disposable inbox for live-testing incoming mail.
Webhook Receiver
Inspect live webhook deliveries.