DevFmt/

JSON to CSV

Delimiter:
Input — JSON
Output — CSV

How to use JSON to CSV

JSON to CSV Converter transforms JSON arrays of objects into clean CSV format. Paste a JSON array and get properly formatted CSV with headers automatically derived from object keys.

The converter handles nested objects by flattening them with dot notation — for example, `{"user": {"name": "Alice"}}` becomes a column `user.name`. Arrays within objects are serialized as JSON strings so no data is lost in the conversion.

Key features: automatic header extraction, nested object flattening, configurable delimiters (comma, tab, semicolon), single-object support, download as .csv file, and row count display.

Choose between comma, tab, or semicolon delimiters depending on your use case. Tab-separated values work well for pasting into spreadsheets, while semicolons are common in European locales where commas are decimal separators.

All conversion runs locally in your browser — your data stays private and is never uploaded to any server.

FAQ

How do I convert JSON to CSV?
Paste a JSON array of objects into the input panel. DevFmt automatically extracts headers from the object keys and converts each object to a CSV row. Nested objects are flattened using dot notation (e.g., address.city).
Can it handle nested JSON objects?
Yes. Nested objects are flattened with dot-notation keys (e.g., 'user.address.city'). Arrays within objects are serialized as JSON strings in the CSV cell.
What delimiters are supported?
Comma (default), tab, and semicolon. Use the delimiter selector in the toolbar to switch between them.
Can I convert a single JSON object?
Yes. A single object is automatically wrapped into a one-row CSV with the object's keys as headers.

We use cookies for anonymous analytics and ads. Your tool data never leaves your browser.