JSON to CSV Converter
Convert a JSON array of objects to CSV, with correct quoting for commas and quotes.
Every conversion runs locally in your browser. Nothing you paste here is sent to a server.
CSV
name,role,notes Alice,Engineer,"Works on ""Platform"" team" Bob,Designer,"Likes, commas" Cara,Ops,
For informational and educational purposes only — not professional or technical advice, and not a substitute for consulting a qualified professional about your specific situation. TrueMeasureKit is not liable for decisions made based on these results. See our Terms of Service.
Why the header row isn't just the first object's keys
Real JSON arrays are often inconsistent — some objects have an optional field the others don't. Using only the first object's keys as the header would silently drop any field that first row happens to be missing. This converter scans every object first, builds the header from the full set of keys it finds across the whole array, and fills in an empty cell for any object missing a given field — so nothing gets quietly dropped.
Frequently asked questions
What happens if my JSON objects have different keys?
The output CSV uses the union of all keys found across objects as columns, leaving a cell blank for any object missing a particular key — so the resulting table stays consistent even with inconsistent source objects.