Text diff
Compare two blocks of text line by line and see additions and removals.
Compare two blocks of text line by line and see additions and removals.
Spot what changed between two versions without rereading every line. FluffyBench's Text diff compares your pasted text in your browser and keeps the surrounding lines in view.
Both versions are compared on your device and never uploaded.
Settings, drafts, logs, lists or messages.
Edit either box and Changes redraws. Very long text gets a Compare button instead.
Limits Text diff compares pasted text. It doesn't read a file's details, binary contents or change history.
Here's a small settings change from start to finish, as it looks on a phone: the owner changes from ops to platform, a summary line arrives, and the archive line goes. On a wider screen, Before and After sit side by side.
Think of the unchanged lines as landmarks. They stay put on both sides, so you can see exactly where each edit sits without rereading the whole thing.
Here's the Changes panel for that settings edit. Before is on the left and After on the right, and each row holds the matching line from each version.
1 changed, 1 removed, 1 added: one for each marked row below.
Plain rows match on both sides. They're your landmarks.
The line is in both versions, with an edit. Only the word that differs is marked.
Green on the After side, with nothing beside it on the Before side: this line is new.
Red on the Before side, with nothing beside it on the After side: this line is gone.
A removed line next to an added one could be a replacement, a line that moved, or two unrelated edits. Text diff shows where the text differs; the lines around it tell you which.
When a line was edited instead of deleted, Text diff puts the old and new versions on one row and marks only the words that differ.
The owner = part stays plain because it didn't change.
ops is marked on the Before side.
platform is marked on the After side.
The counts and the copied text describe the same edit in two ways. On screen, a changed line is one row. In the text Copy gives you, it becomes two lines: the old one with a minus sign and the new one with a plus sign.
One row on screen; a minus line and a plus line in the copy.
A plus sign marks a line only the newer version has.
A minus sign marks a line only the older version has.
In a longer text, Text diff keeps up to three unchanged lines beside each change and folds the rest behind a button. Here, only retries changed in a ten-line settings file.
Show 4 lines brings back the unchanged lines above.
Up to three unchanged lines stay in view on each side of a change.
retries went from 3 to 5.
If you paste the copied text into a message or a ticket, the minus and plus signs carry the meaning, so it still reads correctly without any color.
It says No differences. The two versions match line for line. Check that the newer version went under After.
A line looks the same but is marked. Lines are compared character by character, so a space at the end or a tab in place of spaces counts as a change. Windows and Unix line endings don't: Text diff treats both as the same line break. Our guide to LF and CRLF line endings explains why those two exist.
A Compare button appeared. Once the two boxes hold more than 100,000 characters together, Text diff stops comparing as you type. Press Compare when both versions are in place; Cancel stops a long comparison.
Lines that only moved are marked. Text diff compares lines in order, so a line that moved shows up as removed in one place and added in another. If order doesn't matter, sort both versions in FluffyBench's Text cleaner first, which can also remove duplicate lines, then compare again.