Zwei große Textdateien vergleichen, ohne sie hochzuladen
Vergleicht zwei Textdateien bis 10 MB im Browser und schreibt ein Unified-.diff oder eine eigenständige Seite mit Nebeneinander-Ansicht.
Je Datei höchstens 10 MB und nur Text; nichts wird hochgeladen.
Läuft in diesem Tab. Nichts wird hochgeladen.
Ergebnis
Gratisstufe: bis 10 MB pro Datei, 2 Dateien pro Lauf, 5 Läufe pro Tag. Dieses Werkzeug kostet einmalig $35. Vergleichen.
Lizenz: Gratis-Tarif.
Was diese Seite anders macht
Ein Online-Diff bedeutet meist, die Datei auf einen fremden Server zu legen — beim Vertragsentwurf, dem Incident-Log und der exportierten Konfiguration geht genau das nicht. Diese Seite liest beide Dateien lokal und vergleicht Zeile für Zeile: gemeinsamer Anfang und Schluss werden abgeschnitten, eindeutige Zeilen dienen als Anker, die Änderungen erscheinen mit gewähltem Kontext. Heraus kommt ein Unified-Diff für patch oder eine HTML-Seite mit beiden Fassungen nebeneinander für Kollegen, die keine Diffs lesen.
vergleicht zwei Zehn-Megabyte-Dateien vollständig im Tab und liefert sowohl ein Unified-Diff als auch eine eigenständige Nebeneinander-Seite
Beispieleingabe und -ausgabe
| Schritt | Fall | Größe | Hinweise |
|---|---|---|---|
| Eingabe | Two versions of a config export | 219 B | two small YAML exports with one changed value and one toggled flag |
| Ausgabe | A unified diff | 230 B | one hunk with three lines of context, plus a closing count of added and removed lines |
Das sind die Demozahlen, gegen die diese Seite gebaut wurde, keine Zusage für jede Datei.
Was Sie selbst prüfen können
| Die Behauptung | Was der Test zeigte |
|---|---|
| a single changed line in a 400-line file is one hunk, not a wall of output | unit test changes line 200, asserts 199 unchanged lines are stripped from each end and exactly one hunk is produced |
| the side-by-side page references nothing outside itself | test asserts the output starts with a doctype, contains line-number cells and no http or https reference |
| ignoring whitespace is a choice with three different answers | test shows a trailing-space change as a difference under exact mode, ignored under trim, and inner spacing ignored under all |
Fragen
Die Antworten unten stehen weiterhin auf Englisch.
Why not use git or my editor?
Use them when the files are in a repository or on the same machine. This page is for the three cases they do not cover: a file you are contractually not allowed to upload, a one-off export that is not in any repository, and a comparison a non-technical colleague has to read, where a side-by-side HTML page beats a terminal.
What does each whitespace option actually ignore?
Exact compares every character, so a trailing space is a difference. Trim ignores leading and trailing whitespace, which makes a re-indented block look unchanged. All ignores whitespace inside the line too, so "foo bar" and "foobar" count as the same line; that is useful for tokenised dumps and dangerous for prose, so it is not the default.
What happens when the two files are identical?
The page says so instead of downloading an empty file. An empty diff looks like a failed run, and the line count gives you something to quote when the answer is "nothing changed".
How large a comparison is realistic?
Ten megabytes per file, and the page aborts with a clear message if the files differ in more than two hundred thousand lines. In practice the shared beginning and end are stripped first and the rest is anchored on unique lines, so a log with a handful of changed entries stays fast even when it is large.
Does it handle Word documents or PDFs?
No. Those are archives or page descriptions, not text, and a line diff of their bytes is noise. Convert to plain text first. The page also does not merge three versions or compare syntax trees; it compares lines, exactly and predictably.
Preis
Dieses Werkzeug kostet einmalig $35, solange es existiert. Eine Zahlung, kein Abonnement. Die Lizenz liegt in diesem Browser; die Transaktionsnummer stellt sie anderswo wieder her.
Gratis: 5 Läufe pro Tag, 10 MB pro Datei, Stapel von 2. Einmalkauf: Stapel von 50, 200 MB pro Datei.