Convert between JSON and CSV in either direction, all in your browser.
This tool converts between two of the most common data formats. Going from JSON to CSV, it reads an array of objects, collects every key that appears across them to form the header row, and writes one line per object — properly quoting any value that contains a comma, quote or line break. Going from CSV to JSON, it parses the table (respecting quoted fields) and turns each row into an object keyed by the header. Everything runs in your browser, so your data is never uploaded.
For JSON to CSV, the input should be an array of objects, like [{"name":"Alice","age":30}, …]; a single object is also accepted and becomes one row. Objects that don't all share the same keys are handled by including every key found, leaving blanks where a value is missing. For CSV to JSON, the first row is treated as the header, and each following row becomes an object. Fields wrapped in double quotes may safely contain commas and line breaks, following the standard CSV convention.
Converting JSON to CSV is handy when you want to open API data in a spreadsheet, share records with someone who prefers Excel, or import into a tool that expects tabular input. The reverse — CSV to JSON — is useful for feeding spreadsheet exports into code, an API or a config file. Once converted, you can copy the result or download it as a .csv or .json file.
Nested objects and arrays are written into the CSV cell as compact JSON text, so no information is lost even though CSV itself is flat.
Yes. Values containing commas, quotes or line breaks are automatically quoted on export and parsed correctly on import.
No. Both conversions run entirely in your browser and nothing you paste leaves your device.