JSON-Diff — JSON-Daten online vergleichen

Vergleichen Sie zwei JSON-Objekte nebeneinander und sehen Sie sofort die Unterschiede. Tiefgehender rekursiver Vergleich mit hervorgehobenen Änderungen.

Linkes JSON (A)0 chars
1
Rechtes JSON (B)0 chars
1
Diff-Ergebnis
Linke JSON-Eingabe ist leer. Paste JSON on both sides and click Compare.
🛡️Zero server logs. Comparison runs 100% inside your browser. Your data never leaves this tab.

JSON-Diff — JSON-Daten online vergleichen

JSON Diff ist ein 100 % clientseitiges Tool zum Vergleichen von zwei JSON-Objekten nebeneinander. Es führt einen tiefgehenden rekursiven Vergleich durch und hebt hinzugefügte, entfernte und geänderte Werte hervor.

🔒 Client-side only⚡ Web Worker processing🌐 Works offline🛡️ Zero server logs

So vergleichen Sie JSON online

  1. Fügen Sie das erste JSON in das linke Textfeld und das zweite JSON in das rechte Textfeld ein.
  2. Klicken Sie auf die Schaltfläche Vergleichen, um sofort alle Unterschiede zu sehen.
  3. Verwenden Sie Tauschen, um die Vergleichsrichtung umzukehren, oder Diff kopieren, um die Ergebnisse zu teilen.

Häufig gestellte Fragen

Fragen zu JSON Diff? Wir haben Antworten.

Wie funktioniert der JSON-Vergleich?

Das Tool führt einen tiefgehenden rekursiven Vergleich beider JSON-Strukturen durch. Es durchläuft jeden Schlüssel und Index und vergleicht Werte auf allen Verschachtelungsebenen.

Kann es große JSON-Dateien vergleichen?

Ja. Da der Vergleich vollständig in Ihrem Browser läuft, hängt die Leistung von Ihrem Gerät ab. Dateien bis zu mehreren Megabyte funktionieren gut.

Werden meine JSON-Daten an einen Server gesendet?

Nein. Die gesamte Vergleichslogik läuft zu 100 % in Ihrem Browser. Ihre Daten verlassen niemals Ihr Gerät.

Was macht die Taste Tauschen?

Tauschen vertauscht die linke und rechte JSON-Eingabe. Dadurch wird die Diff-Richtung umgekehrt — Hinzufügungen werden zu Entfernungen und umgekehrt.


Automatisierte E2E-Testsuite-Protokolle

Unsere Buildsysteme validieren Edge-Case-Verarbeitung unter extremen Bedingungen vor jeder Bereitstellung.

Stability
100.0%
Passed
41/41
Env
V8-Sandbox
Engine: Vitest RunnerUpdated: 2026/6/10 02:04:12
PASScomputeDiff should detect a scalar value change
PASScomputeDiff should return empty diff for identical objects
PASScomputeDiff should detect added keys
PASScomputeDiff should detect removed keys
PASScomputeDiff should recurse into nested objects
PASScomputeDiff should detect array value changes
PASScomputeDiff should detect added array elements
PASScomputeDiff should detect removed array elements
PASScomputeDiff should detect type changes
PASScomputeDiff should handle null values
PASScomputeDiff should detect null vs object changes
PASScomputeDiff should handle empty objects
PASScomputeDiff should compare root scalar values
PASScomputeDiff should detect boolean changes
PASScomputeDiff should handle numeric zero correctly
PASScomputeDiff should not mutate input objects (immutability)
PASSformatDiffLines should show info line when no entries
PASSformatDiffLines should format added entries with + prefix
PASSformatDiffLines should format removed entries with - prefix
PASSformatDiffLines should format changed entries as - then + pair
PASSformatValue should format null
PASSformatValue should format undefined
PASSformatValue should format string
PASSformatValue should format number
PASSformatValue should format boolean
PASSformatValue should format empty array
PASSformatValue should format non-empty array
PASSformatValue should format empty object
PASSformatValue should format non-empty object
PASScountStats should count added entries
PASScountStats should count all types
PASScountStats should return zero for empty input
PASSisValidJson should accept valid JSON
PASSisValidJson should reject invalid JSON
PASStryParse should parse valid JSON
PASStryParse should return null for invalid JSON
PASStryParse should return null for empty input
PASScomputeDiffLines should find line for changed key on left side
PASScomputeDiffLines should highlight correct line when key is substring of another key
PASScomputeDiffLines should not highlight added entries on left side
PASScomputeDiffLines should not highlight removed entries on right side
⏱️ 0.18ms📦 1.5KB🎚️ Max Nesting: 3🌿 AST Nodes: 48🛡️ V8 Heap: Healthy
$ codecaven-validator --scope=tool● CLUSTER COMPLIANT

Tool-Änderungsprotokoll & Updates

1.0.02026-06-09
  • Feature: Initial release of JSON Diff tool
  • Feature: Deep recursive comparison of JSON objects and arrays
  • UX: Responsive dual-pane layout (side-by-side on desktop, stacked on mobile)
  • Feature: Added, removed, and changed value detection with color highlighting
  • UX: Swap button to reverse comparison direction
  • UX: Copy Diff and Clear All actions
  • UX: Full i18n support (English, German)