Text Compare (Diff Checker)
Paste an original and a changed text to see exactly what is different. This text compare tool (diff checker) marks added and removed lines, can ignore case and extra spaces, and works fully in your browser.
- Line by line diff
- Ignore case and spaces
- Nothing uploaded
- No sign-up
How to use
- Paste the original text on the left and the changed text on the right.
- The differences appear below straight away: green lines were added, red lines were removed.
- Tick Ignore case or Ignore extra spaces to hide small differences.
- Use Swap to reverse the direction of the comparison.
How the comparison works
The tool compares the two texts line by line and finds the longest common sequence of lines. Lines that exist only in the original are shown as removed, and lines that exist only in the changed text are shown as added. This is the same idea that tools like diff and Git use.
What it is good for
Compare versions of a document, a contract, a config file, an email draft or a piece of code. For the best result, keep the same line breaks in both texts. To clean up text before comparing, remove repeated lines with remove duplicate lines.
Frequently asked questions
Is my text uploaded?
No. The comparison runs in your browser and nothing is sent anywhere.
Does it compare words or lines?
Lines. A line that changed by one word is shown as one removed line and one added line.
How long can the texts be?
About 3,000 lines each. Longer texts may be too heavy for a browser to compare.
Can it ignore capital letters?
Yes. Tick "Ignore case". You can also ignore extra spaces at the start, end and between words.