Diff Checker
Beta: this tool hasn't been fully reviewed yet. Double-check results before relying on them.
Inputs
Results
- Result
- —
- Removed
- —
- Added
- —
Removed text is struck through in red; added text is underlined in green.
Your input is too long to share as a link, so the page address no longer includes it.
A diff shows what changed between two versions of a text: which parts were removed and which were added. Use it to check edits to a contract or essay, compare two versions of a list or config, or find the one word someone changed.
How to use it
- Paste the original and the changed text.
- Choose to compare by lines (code, lists), words (prose) or characters (short strings).
- Read the changes: struck-through red was removed, underlined green was added.
Example: comparing “the quick brown fox” with “the slow brown dog” by words shows 2 words removed (quick, fox) and 2 added (slow, dog).
Questions and answers
Which comparison mode should I use?
Lines for code, lists and data, where each line is one item. Words for normal writing. Characters for short values like IDs or URLs, where one letter matters.
How does it find the changes?
It uses Myers’ diff algorithm, the one behind many version control tools, which finds the smallest set of removals and additions that turns the first text into the second.
Is there a size limit?
Texts up to about 30,000 words or lines combined. Very different long texts can take too long to compare; the tool then says so instead of freezing the page.
Link with pre-filled values
Add # and these parameters to the end of this page's address to open the tool with values already filled in.
| Parameter | What it sets |
|---|---|
a | The original text. |
b | The changed text. |
mode | lines, words or chars. |
case | false to ignore differences in upper and lower case. |
Example: https://toolabelle.com/diff-checker/#a=the+quick+brown+fox&b=the+slow+brown+dog&mode=words&case=true