Text Diff Checker
Paste an old version and a new version of any text and see, line by line, what changed between them.
- Free
- No sign-up
- Runs in your browser
Lines are compared one by one, up to 3,000 lines per text. Your text is compared in this browser tab and is never uploaded.
How to use Text Diff Checker
Paste both versions
Put the earlier text in the left box and the later text in the right box. Each line break starts a new line to compare.
Choose what counts as a change
Tick “Ignore upper and lower case” or “Ignore extra spaces” when capitalization or spacing should not be reported as a difference.
Read the result
Lines marked + exist only in the changed text, lines marked − exist only in the original, and plain lines are the same in both. Use “Show only changed lines” to hide everything that matches.
Example
Comparing two short lists
Input
Original: Apples, Bananas, Cherries (one per line). Changed: Apples, Blueberries, Cherries, Dates.
Result
- Apples: unchanged
- Bananas: removed
- Blueberries: added
- Cherries: unchanged
- Dates: added
- Summary: 2 added, 1 removed, 2 unchanged
Common uses
Editing and proofreading
See what an editor or co-author changed in a draft without hunting through every paragraph yourself.
Settings and code snippets
Compare two versions of a configuration file, a query or a short script to find the line that broke something.
Contracts and policies
Check whether the terms you received match the terms you agreed to, one line at a time.
Lists and data exports
Compare two lists of names, product codes or email addresses to see which entries were added or dropped.
Tips for better results
- The comparison works on whole lines. If a paragraph is one long line, a single edited word marks the entire line as changed, so add a line break after each sentence first for a finer result.
- Text that was moved shows up twice: once as removed from its old place and once as added in its new place.
- A hidden trailing space or a different style of quotation mark makes two lines look alike while counting as different. Try “Ignore extra spaces” when you suspect spacing.
- Each box takes up to 3,000 lines. For longer documents, compare one section at a time.
Frequently asked questions
How does the Text Diff Checker decide what changed?
It looks for the longest run of lines that appear in both texts in the same order and treats everything else as an addition or a removal. Version-control tools use a similar idea to show edits to code.
Can it compare single words or characters?
No, it compares whole lines. To see word-level changes, put each word on its own line before you paste.
Why does a line show as changed when it looks identical?
An invisible difference is the usual cause, such as a trailing space, a tab instead of spaces or a different quotation mark. Turn on “Ignore extra spaces” to see whether spacing is the reason.
How large can the texts be?
Each text can have up to 3,000 lines. If the two texts differ almost everywhere, a very long input may be refused, so compare smaller sections instead.
Do my texts leave my computer when I compare them?
No. The comparison runs in your browser tab, so confidential drafts and contracts stay on your device.
Last updated:
More free tools
- Word CounterCount words, characters, sentences and paragraphs as you type, with an estimated reading time.
- Remove Duplicate LinesDelete repeated lines from a list and keep the first copy of each one, with optional sorting.
- Case ConverterSwitch text between upper case, lower case, title case, sentence case and more in one click.