JSON ↔ CSV Converter

Convert a JSON array of objects to CSV, or parse CSV back to JSON, all in your browser with no data transmitted.

About this tool

This converter handles the standard RFC 4180 CSV format: fields containing commas, double-quotes, or line breaks are enclosed in double-quotes, and any double-quote inside a field is escaped by doubling it. JSON → CSV uses the union of all keys from the first object for header ordering. CSV → JSON parses the first row as headers and converts each subsequent row into an object. Nested objects and arrays in JSON are serialized as strings in CSV: for deep structures, a format like JSON Lines may be more appropriate.

Related tools