Skip to content

Text

Text Diff Checker

Paste two versions of a text and see the differences: added parts are marked green, removed parts are marked red. Handy for comparing drafts, contracts or snippets of code.

Free · no sign-up · runs in your browser · updated

Use Text Diff Checker

Fill in both boxes to see the differences.

How to use Text Diff Checker

  1. Paste the original text in the left box and the changed text in the right box.

  2. Choose a comparison mode: by word or by line, and whether to ignore upper and lower case.

  3. Read the result. A summary of additions and removals sits above it.

Compare by word or by line?

Word mode suits prose, such as comparing two article drafts or a contract clause: small changes in the middle of a sentence stand out. Line mode suits lists, configuration files and code, because a changed line is shown whole as one removal and one addition.

How it works, briefly

The tool finds the longest common subsequence shared by both texts, then marks everything outside it as an addition or a removal. It is the same basic principle behind the diff tools in version control systems such as Git.

Questions about Text Diff Checker

What do the red and green colors mean?

Red with a strikethrough marks text that is in the original but not in the new version (removed). Green marks text that is in the new version but not in the original (added).

How long can the texts be?

Word mode is comfortable for a few thousand words. For much longer texts, the tool switches to line mode automatically so your browser stays responsive.

Can upper and lower case differences be ignored?

Yes. Tick the ignore-case option and “Hello” and “hello” are treated as the same.

Are spaces and blank lines compared too?

In line mode, spaces at the start and end of a line are ignored by default. In word mode, a change in the number of spaces is still shown as a difference.

Is my text sent to a server?

No. The comparison runs in your browser, so sensitive documents stay on your device.

Need more than tools?

We build websites, apps, and custom systems for your business.

These tools are only a small part of what Tipamedia can build. Tell us what you need and we will help you work out the next step.