Tech / Text Diff Checker
Text Diff Checker
Paste two versions of text or code to see what was added, removed or changed - line by line, with the changed words highlighted.
0 lines
0 lines
Paste two versions to see the differences.
How the text diff works
A diff shows the smallest set of changes that turns the original text into the changed text. This page first compares the two versions line by line, using the Myers diff method - the same idea behind git diff. Lines that were removed are marked in one colour and added lines in another, and inside each changed line the words that changed are highlighted.
When the options help
- Ignore spaces - when one version has different indentation or extra spaces at the ends of lines, for example after copying from an email.
- Ignore upper/lower case - when only capital letters changed, such as in a list of names or SQL keywords.
- Hide unchanged lines - for long documents, to show only the parts that differ.
Everyday uses
- Check what changed between two versions of a resume, cover letter or contract before you send it.
- Compare two configuration files, or two versions of a block of code.
- Spot the one word your employer or agent changed in a document they sent back.
Is it private?
Yes. Both texts are compared in your browser and are never uploaded, so it is safe for contracts, payslips and other personal documents.