Text Diff Checker
Compare two versions of text or code side by side or as a unified diff. See changed lines and inline word highlights, with every comparison kept in your browser.
Very large changes reached the diff safety limit; the unmatched middle is shown as removals and additions.
Enter text in both boxes to compare.
Notes
Lines are matched first. Adjacent removed and added lines are paired, with inline word and token highlights to make edits easier to spot.
Ignore case treats uppercase and lowercase as equal. Ignore extra whitespace trims line edges and collapses runs of whitespace before comparison; the displayed text remains unchanged.
Show only changes hides unchanged line groups behind a count. Pasted text and locally loaded files are compared in your browser and are never uploaded or saved.
Frequently asked questions
How does the text diff checker find changes?
It aligns matching lines first, then marks removed and added lines. Adjacent changed lines are paired so inline word or token changes can be highlighted.
What do the case and whitespace options ignore?
Ignore case makes letter case irrelevant. Ignore extra whitespace trims the start and end of each line and treats consecutive whitespace as one space; whitespace is still shown as entered.
Does my text leave my browser?
No. The comparison runs locally in this browser. Text is not sent to a server or saved in browser storage.