See what actually changed between two versions
LOCALA contract revision with one clause altered, a config file where a single value moved, a translation draft that should match the source line count. Reading both versions side by side by eye is how details get missed. This tool compares them line by line, marks additions and removals, keeps unchanged lines in place and shows the line numbers from both files. Two options remove noise from formatting: ignore case and ignore extra spaces. Everything runs in the page, so drafts and internal documents are never uploaded.
How it works
- 01
Paste both versions
Put the older version on the left and the newer one on the right, or the other way round — the labels only decide which column is called original. Line breaks matter: a paragraph pasted as one long line is compared as one line, so keep the structure you want to examine.
- 02
Choose what counts as a difference
Ignore case treats Hello and hello as the same line. Ignore extra spaces collapses runs of spaces and tabs before comparing, which is useful when one editor reformats indentation but the words are unchanged. Both options only affect matching; the output still shows the original text of each line.
- 03
Read the coloured result
Lines prefixed with a plus exist only on the right, lines with a minus only on the left, and unmarked lines match. The two number columns are the line numbers in each version, so a comment like see line 84 still makes sense in the other file.
- 04
Copy or download the diff
The copy button produces plain text with plus, minus and two-space prefixes, the same shape as a unified diff minus the headers. Download saves it as a .txt file you can attach to a review or paste into a ticket.
When to use it
Reviewing a contract revision
A supplier sends back an agreement with one paragraph edited. Paste both versions and the changed paragraph is the only coloured block; everything else stays grey. That is much faster than rereading 14 pages to find the one sentence that moved.
Checking a config change
Before deploying, compare the old and new environment file. A changed port or a deleted feature flag shows up immediately, including the case where someone removed a line without adding a replacement — an easy thing to miss in a long file.
Proofreading a translation
If the source has 42 lines, the translation should usually have 42 lines too. Comparing the two exposes a dropped sentence or a merged paragraph, which is hard to notice when reading the translation on its own.
Verifying a cleanup script
You trimmed whitespace and deduplicated a list. Compare the before and after with ignore-whitespace off to prove that only the intended rows disappeared, rather than trusting the script and finding out later that it removed a valid entry.
Questions
Why is the difference shown by line instead of by character?
A line diff is easier to read for prose, configs and logs, and it runs quickly in the browser. Character-level highlighting is better for tiny edits inside one long line, but it turns ordinary paragraph changes into noisy fragments. For those cases, split the long line into sentences first.
Why is there a line limit?
The comparison uses a matrix that grows with both inputs multiplied together. At 1,500 lines per side it is already a few million cells; beyond that the tab can freeze on a phone. Split very large files into sections, or use a command-line diff for whole repositories.
What do the ignore options change exactly?
They change how two lines are matched, not what is displayed. Ignore case lowercases both sides before comparing; ignore extra spaces collapses whitespace and trims each line. The output still prints the original characters, so you can see the real difference once a line is matched.
How are Windows and Unix line endings handled?
Carriage returns are normalised before the comparison, so a file saved on Windows does not appear completely different from the same file on Linux. Without that step, every single line would look changed because of an invisible character at the end.
Will moving a block show as a move?
No. The comparison reports removed lines where the block used to be and added lines where it now sits. That is the usual behaviour of a line diff and is honest about the change, even though it can look larger than the move really was.
Is this a replacement for Git diff?
No. It has no branches, no three-way merge and no repository history. It is a quick visual check for two pieces of text you already have, useful when opening a terminal is more effort than pasting. For code review, use the diff of your version control system.
Can it compare binary files or images?
No, it works on text. Binary formats, images and PDFs have no meaningful lines, and comparing their bytes produces noise. Use a checksum to see whether two binary files differ, and a dedicated tool to inspect how.
Is my text stored anywhere?
No. The comparison runs as local JavaScript in the tab. There is no request carrying either version and no history, so closing the page removes the text. If you work with confidential drafts, that is the main reason to prefer a local diff.