Loading…

JSON ↔ CSV Converter

Paste your data — auto-detect handles the rest. Everything runs client-side.

Input
Output
Recent Conversions (pro)
Conversion history is available for Pro subscribers. Upgrade →

JSON to CSV Converter & CSV to JSON Converter

Transform structured data between JSON and CSV formats in seconds — entirely in your browser. No uploads, no server round-trips, no account required. Drop in any array of JSON objects or a CSV with a header row and get clean, accurate output instantly. Built for developers, data engineers, and anyone who works with structured data pipelines.

How to Convert JSON to CSV

Paste a JSON array into the input field — the converter auto-detects the format. Click Convert → and the tool flattens nested objects using dot-notation keys (e.g. address.city), then outputs a CSV with a header row followed by one row per object. Escape rules are applied automatically: commas, quotes, and newlines inside cell values are properly quoted so the CSV remains valid. Copy the result or download it as a .csv file.

How to Convert CSV to JSON

Paste any well-formed CSV with a header row into the input. The converter reads the header to determine field names, parses each subsequent row into a key-value object, and returns a JSON array. Numeric values are cast to numbers, true/false strings to booleans, and JSON snippets inside cells are deserialized automatically. The result is valid JSON, ready to use in your API or pipeline.

Client-Side Only

All conversion happens in the browser. Your data never leaves your machine.

Handles Nested JSON

Deeply nested objects are flattened with dot-notation paths — no data loss.

Auto-Detection

No format selector needed. Paste either format and the tool figures it out.

Up to 10MB

Process datasets up to 10MB per session. Free: 2/day. Pro: unlimited.

Frequently Asked Questions

What is a JSON to CSV converter?

A JSON to CSV converter transforms JSON data — specifically an array of objects — into CSV (Comma Separated Values) format. The converter extracts all unique keys from the JSON objects, generates a header row from those keys, and creates one CSV row per JSON object. Nested values are flattened using dot-notation (e.g. user.profile.name becomes a column header user.profile.name). This format is useful for importing data into spreadsheets, databases, or any tool that accepts tabular data.

How does the CSV to JSON converter work?

The CSV to JSON converter reads a CSV file with a header row. Each column header becomes a property name in the resulting JSON objects. Each subsequent row becomes one JSON object in the output array. String values are trimmed, numeric strings are converted to numbers, and recognized boolean strings (true, false) are converted to booleans. The output is a valid JSON array of objects, ready to be consumed by any API or application.

Is my data uploaded to a server?

No. All conversion runs entirely client-side in your browser using JavaScript. Your JSON or CSV data never leaves your device — no network request is made during conversion. This makes the tool safe for sensitive data, internal APIs, or any dataset you do not want transmitted externally.

Can I convert large JSON files?

Yes. The converter supports files up to 10MB. Free accounts get 2 conversions per day. Pro accounts ($3.49/month) offer unlimited conversions with additional features like conversion history and saved presets.

Does the converter handle nested or irregular JSON?

Yes. The converter flattens nested objects and arrays using dot-notation key paths. If one object has {"name": "Alice", "address": {"city": "Berlin"}} and another has {"name": "Bob", "address": {"city": "Tokyo", "country": "Japan"}}, the output CSV includes columns name, address.city, and address.country, with empty values where a key is absent. Irregular schemas across rows are handled gracefully — every unique key across all rows appears as a column.