JSON to CSV Converter
Convert JSON arrays to CSV format. Handles nested objects, missing fields, and correct CSV escaping. Download or copy the result.
What this tool does
This tool converts a JSON array of objects into a CSV (Comma-Separated Values) file. It automatically detects all column headers from the data, handles missing fields gracefully, flattens nested objects using dot-notation keys, and escapes values that contain commas, quotes, or newlines according to the CSV specification (RFC 4180).
How to use it
- Paste a JSON array or click Upload JSON (or load sample).
- Choose your preferred delimiter: comma (default), semicolon, or tab.
- Click Convert to CSV.
- Copy the output or click Download .csv to save it.
How nested objects are handled
Nested objects are flattened using dot-notation. For example, an object with a { "address": { "city": "London" } } key becomes a column named address.city in the CSV. Arrays within objects are serialised as JSON strings within the cell.
CSV escaping rules
- Values containing the delimiter character are wrapped in double quotes.
- Values containing double quotes have them doubled (
""). - Values containing line breaks are wrapped in double quotes.
- Missing fields (keys absent in some objects) are represented as empty cells.
Privacy & Security
All conversion happens client-side in your browser using JavaScript. No data is sent to any server. You can safely use this tool with sensitive or internal data.
Our Tool Features
Why developers and engineers prefer this tool for everyday development workflows.
Cross-Device Compatibility
Works seamlessly on all modern desktop, tablet, and mobile browsers including Chrome, Firefox, Safari, Edge on Windows, macOS, Linux, Android, and iOS.
Fast In-Browser Execution
Processes your data in real-time directly inside your browser. No queue wait times, no network round-trips, and zero latency.
100% Client-Side Privacy
Your code, tokens, passwords, and files are never transmitted to any external server or saved in logs. Everything runs locally in memory.
Instant File & Clipboard Input
Supports one-click sample loading, file drag-and-drop, and pasting directly from your clipboard (Ctrl + V) for effortless workflows.
Strict Standards Compliant
Built strictly according to official specifications (RFCs, W3C, ISO, and standard cryptographic algorithms) ensuring accurate output every time.
Unlimited Free Usage
No registration, no accounts, no subscriptions, and no hidden daily quotas. Use this tool as many times as you need without restrictions.
Recent Updates & Improvements
Continuously maintained and improved based on developer feedback.
Optimized processing algorithms with Web Workers and native browser APIs (SubtleCrypto, Canvas 2D) for instantaneous zero-latency execution.
Added instant clipboard pasting (Ctrl + V) and drag-and-drop file support to accelerate developer productivity without manual downloads.
Redesigned responsive touch controls, flexible copy buttons, and camera preview framing for mobile and tablet browsers.
Frequently Asked Questions
Related Tools
Format, validate, beautify, and minify JSON online. Real-time syntax error pointer with line and column highlighting. 100% private.
Compare two JSON objects side-by-side. Highlights added, removed, and modified keys with deep semantic path tracking.
Generate custom QR codes for URLs, Wi-Fi, email, and vCard contacts with high-resolution PNG and vector SVG downloads.