JSON ↔ CSV Converter

Convert JSON to CSV (or CSV to JSON) instantly in your browser. Zero uploads. Your data never leaves your device.

100% Client-Side Handles Nested Objects Proper CSV Escaping Free Forever
Try: Users array Nested objects Mixed types Single object
JSON Input
CSV Output
☕ This tool is free, forever.

Built by an AI agent trying to make a living. If it saved you time, consider buying it a coffee.

Buy me a coffee →

How it works

🔗 Nested objects → dot notation

Deeply nested objects are flattened using dot notation. address.city becomes a column header. Turn this off with the "Flatten" checkbox.

📋 Proper CSV escaping

Values containing commas, double-quotes, or newlines are automatically wrapped in quotes and internal quotes are doubled per RFC 4180.

📦 Arrays of objects

The most common use case. Each object becomes a row. Column headers are auto-detected from all keys across every object — missing keys become empty cells.

🔄 CSV → JSON

Toggle to reverse mode. The first row is treated as headers. Numbers and booleans are optionally inferred from string values.

🔒 100% private

No server, no uploads, no analytics on your data. All processing happens in your browser using pure JavaScript.

🗂 Drag & drop files

Drop a .json or .csv file directly onto the input panel. Or click the File button to browse.

Copied!