Toolivaro

CSV-zu-JSON-Konverter kostenlos

Wandle CSV-Dateien und eingefügte Tabellen in JSON-Objekte um — mit automatischer Delimiter-Erkennung und Header-Zuordnung.

Der CSV-zu-JSON-Konverter verwandelt Tabellenkalkulations-Exporte und eingefügte Tabellen in JSON-Objekte — bereit für APIs, Skripte und Datenarbeit. Füge CSV-Text ein oder lade eine Datei, und der Konverter parst sie nach RFC-4180-Semantik — in Anführungszeichen gesetzte Felder, eingebettete Kommas, escapete Anführungszeichen und mehrzeilige Zellen werden alle korrekt behandelt — ordnet die erste Zeile den Objekt-Keys zu und erzeugt ein JSON-Array aus Objekten. Das Trennzeichen wird automatisch aus den üblichen Kandidaten erkannt (Komma, Semikolon, Tabulator, Pipe) und kann manuell überschrieben werden; leere Kopfzeilen werden als column_1, column_2 usw. benannt. Doppelte Header werden mit einer klaren Fehlermeldung abgelehnt, statt Daten stillschweigend zu verwerfen. Das Tool arbeitet vollständig in deinem Browser: eingefügte oder hochgeladene Daten verlassen dein Gerät nie, werden nie protokolliert und nie übertragen — wichtig bei Kundendateien und internen Tabellen. Die Ausgabe wird zum Lesen eingerückt dargestellt, mit Kopier- und Download-Aktionen für die kompakte Form. Nutze diesen Konverter, wenn du Daten zwischen Tabellenkalkulationen und Anwendungen bewegst, Fixtures vorbereitest oder von CSVs zu einer JSON-API migrierst.

Wird lokal in deinem Browser verarbeitet

Wird lokal in Ihrem Browser verarbeitet — Daten werden nie hochgeladen, protokolliert oder gespeichert.

So verwenden Sie diesen Rechner

How the header row becomes the schema

CSV-to-JSON works on one assumption: the first row names the columns. The converter maps each header to an object key, and every data row becomes one object with those keys — the shape most APIs, scripts, and data pipelines expect. The mapping is literal: header names become keys exactly as written, so a header like "user name" produces the key "user name" with the space intact, and blank headers are named column_1, column_2, and so on so no data is dropped.

The strict part is the duplicate check: two columns with the same header would silently overwrite each other in a naive conversion, so the converter rejects the file with a clear error instead of losing data. If your spreadsheet has repeated headers, fix the source — the error names the column — rather than converting around it.

Why every value stays a string

CSV has no type information: a cell is text, and nothing in the format says whether "30" is the number thirty, the string "30", or a product code. The converter never guesses — every value is emitted as a JSON string, so "30" stays "30" and an empty cell stays an empty string. Type conversion (string to number, string to boolean) belongs in the receiving application, where the decision is explicit and testable.

That discipline is the honest behavior for a data tool: guessing types at conversion time looks convenient until a leading-zero id like "007" silently becomes the number 7. The example on this page shows the difference directly — the age "30" is quoted in the output on purpose.

Handling the messy cases: quoting, delimiters, newlines

Real spreadsheet exports are not simple comma-separated text. RFC 4180 covers the cases that break naive parsers: a field containing a comma, a quote, or a line break is wrapped in double quotes, and a double quote inside a quoted field is doubled ("") so it is distinguishable from the closing quote. The converter parses all of it — embedded commas, escaped quotes, multi-line cells — which is why a "New York, NY" value stays one cell and a cell containing a newline stays one field.

Delimiters are the other point of friction: European exports commonly use semicolons, and tab or pipe delimiters appear in tools and exports. The converter auto-detects the delimiter from common candidates, with a manual override when detection picks wrong — the selector makes the choice explicit rather than silent.

The local promise

Customer lists, internal spreadsheets, and payroll exports are precisely the data that should not be uploaded to a converter on the internet. Everything runs in your browser: the CSV is parsed locally, nothing is uploaded, logged, or stored, and copy and download actions deliver the JSON where it is needed. The honest limits are on the page too: the converter reads the whole file into memory, so it is built for typical spreadsheets, not database dumps.

Wie wird das Ergebnis berechnet?

Konvertieren eines Kunden-Exports

Ein Tabellenkalkulations-Export enthält die Spalten name, age und city. Der Konverter ordnet die Kopfzeile den Keys zu und erzeugt für jede Datenzeile ein Objekt. Beachte, dass „30" ein String bleibt — CSV trägt keine Typinformationen, und der Konverter rät nie.

Beispieleingabe und -ausgabe
Eingabe Wert
csv name,age,city Alice,30,Paris Bob,25,"New York"
Ergebnis [{"name":"Alice","age":"30","city":"Paris"},{"name":"Bob","age":"25","city":"New York"}]

Wie lautet die Formel und ihre Annahmen?

Header-Zuordnung

object = { header_1: cell_1, …, header_n: cell_n }

Formelbegriffe
Symbol Bedeutung
header_i Wert der ersten Zeile, i-te Spalte
cell_i Wert der Datenzeile, i-te Spalte

Jeder Wert ist ein String — CSV trägt keine Typinformationen. Zahlen bleiben im JSON-Output in Anführungszeichen; konvertiere Typen in deiner Anwendung.

Anführungszeichen bei Feldern (RFC 4180)

quoted ⇔ cell contains delimiter, quote, or newline

Formelbegriffe
Symbol Bedeutung
quote ein doppeltes Anführungszeichen in einem in Anführungszeichen gesetzten Feld wird verdoppelt ("")

Welche Fehler sind am häufigsten?

  • Zahlen und boolesche Werte in der Ausgabe zu erwarten — CSV-Zellen sind immer Strings; die Typkonvertierung gehört in die Anwendung.
  • Dateien mit doppelten Headern zu konvertieren — der Konverter lehnt sie ab, statt Spalten stillschweigend zu überschreiben.
  • Daten in einen Online-Konverter einzufügen, der sie hochlädt — dieses Tool verarbeitet alles lokal.

Welche Annahmen und Grenzen gelten?

  • CSV trägt keine Typinformationen, daher sind alle JSON-Werte Strings.
  • Verschachtelte Daten (Arrays oder Objekte innerhalb einer Zelle) müssen nach deiner eigenen Konvention kodiert werden; CSV ist ein flaches Format.
  • Sehr große Dateien werden vollständig in den Speicher geladen — das Tool ist für typische Tabellen gedacht, nicht für Datenbank-Dumps.

Woher stammen die Zahlen?

Zuletzt geprüft 4. August 2026 · Version 1.0.0 · Toolivaro garantiert keine externen Inhalte.

Häufig gestellte Fragen

Werden meine Zahlen in JSON-Zahlen umgewandelt?

Nein — CSV trägt keine Typinformationen, daher bleibt jeder Wert ein String („30", nicht 30). Typen in der empfangenden Anwendung zu konvertieren ist sicherer als Raten — genau deshalb rät der Konverter nie.

Was passiert mit einem in Anführungszeichen gesetzten Feld, das ein Komma enthält?

Es wird als einzelne Zelle geparst: „New York, NY" bleibt ein Wert. Eingebettete doppelte Anführungszeichen werden verdoppelt (RFC 4180) und beim Parsen wieder aufgelöst.

Kann der Konverter semikolongetrennte Dateien verarbeiten?

Ja — das Trennzeichen wird automatisch aus den üblichen Kandidaten erkannt, und du kannst es mit der Delimiter-Auswahl manuell überschreiben, falls die Erkennung danebenliegt.

What happens to empty cells?

An empty cell becomes an empty string in the JSON output — the position in the row is preserved, so the column alignment stays intact and downstream code can decide how to treat blanks.

Why is my JSON output all on one line?

The output is presented with indentation for reading; the copy and download actions offer the compact form, which is the version most APIs and scripts consume. Both are valid JSON with identical data.

Teil von Text- und JSON-Werkzeuge für Entwickler

Fehler gefunden oder eine Korrektur? Melde ihn — jede Korrektur wird geprüft.

War dieses Werkzeug hilfreich?

Überprüft vom Toolivaro-Redaktionsteam gemäß unserer Methodik Methodik · Redaktionsrichtlinie