JSON zu CSV
Konvertiere JSON-Objekt-Arrays in herunterladbare CSV-Dateien.
Läuft in deinem Browser; deine Daten verlassen dein Gerät nieKostenlos, ohne Anmeldung
CSV output
The CSV output will appear here.
So funktioniert es
Your JSON is parsed in the browser, then each object becomes a CSV row. The header row is built from the union of keys across all objects, in order of first appearance. Nested objects can be flattened (a user.name key becomes a user.name column), and arrays are serialized as JSON text within the cell.
Output follows RFC 4180: cells containing the delimiter, quotes or line breaks are quoted, and quotes are escaped by doubling.
Funktionen
- Array of objects, single object, or array of primitives
- Nested objects flattened to dotted-path columns (optional)
- Comma, semicolon, tab or pipe delimiter
- Header row optional
- RFC 4180 quoting and escaping, Excel-safe output
- Copy, download, upload and clear actions
So wird es verwendet
- Paste JSON or upload a .json file.
- Pick a delimiter and whether to flatten nested objects.
- Press Convert to CSV.
- Copy the CSV or download it as
converted.csv.
Beispiel
Input:
[
{ "name": "John", "age": 30 },
{ "name": "Sarah", "age": 25 }
]Output:
name,age
John,30
Sarah,25Häufig gestellte Fragen
- What JSON shapes can be converted?
- An array of objects (the typical case, where keys become columns), a single object (one row), or an array of primitives (one value column). Nested objects can be flattened into dotted-path columns (e.g. address.city). Top-level numbers, strings and booleans cannot become a table and produce a clear error.
- How are missing fields handled?
- The columns are the union of all keys across rows. A row that is missing a key gets an empty cell, with no error and no dropped data.
- Is my data uploaded anywhere?
- No. Conversion runs entirely in your browser. Your JSON and the resulting CSV never leave your device.
- Which delimiter can I choose?
- Comma (the CSV standard), semicolon (common in European locales), tab (TSV) and pipe. Quoting and escaping follow RFC 4180 regardless of delimiter.
- What happens to values containing commas or quotes?
- They are automatically wrapped in double quotes, and inner quotes are doubled (""), exactly as the CSV standard requires. Excel, Google Sheets and every CSV library will read them correctly.
Verwandte Tools
- CSV zu JSONWandle CSV-Dateien in strukturiertes JSON mit automatischer Header-Erkennung um.
- JSON-FormatiererFormatiere und verschönere JSON mit anpassbarer Einrückung oder komprimiere es mit einem Klick.
- JSON-MinifierEntferne alle Leerzeichen und Zeilenumbrüche, um die Größe deiner JSON-Dateien zu reduzieren.