JSON Compare

JSON Tool

JSON to CSV Converter

Convert JSON arrays to CSV format. Supports nested objects with dot notation flattening.

Delimiter
JSON InputInvalid
Loading editor...

Line 1: Unexpected end of JSON input

CSV Output
Loading editor...

About JSON to CSV Converter

This tool converts JSON arrays into CSV (Comma-Separated Values) format, making it easy to import data into spreadsheet applications like Excel or Google Sheets.

Features

  • Nested Object Support: Flattens nested objects using dot notation (e.g., address.city)
  • Custom Delimiters: Choose between comma, semicolon, or tab
  • Header Options: Include or exclude column headers
  • Automatic Escaping: Properly escapes special characters

How It Works

  1. Paste or upload your JSON array
  2. Select your preferred delimiter
  3. Choose whether to include headers
  4. Copy or download the resulting CSV

Input Requirements

The input must be a JSON array of objects. Each object in the array becomes a row in the CSV output, and object keys become column headers.

Example

[
  {"name": "Alice", "age": 30},
  {"name": "Bob", "age": 25}
]

Converts to:

name,age
Alice,30
Bob,25