Text Diff Checker

Free text diff checker. Compare two texts and highlight added and removed lines with a clear color-coded diff — ignore case or whitespace. Runs locally.

Compare two blocks of text and highlight exactly what was added and removed, line by line, with options to ignore case and whitespace.

Share
Category
Text Tools
Includes
6 features
Access
Free · No sign-up
Privacy
Runs in your browser
Text Diff Checker

Loading Text Diff Checker......

Please wait a moment

How to use

How to use Text Diff Checker

  1. 01

    Paste the original

    Put the first version in the left box.

  2. 02

    Paste the changed text

    Put the second version in the right box.

  3. 03

    Adjust options

    Optionally ignore case or whitespace differences.

  4. 04

    Read the diff

    Green marks additions, red marks removals.

Use cases

Common use cases

  • Compare two drafts of a document
  • Spot changes between contract versions
  • Review edits to code or config
  • Check what a collaborator changed
Overview

See exactly what changed

Paste an original version on the left and a changed version on the right, and the diff checker computes a line-by-line comparison using a longest-common-subsequence algorithm. Removed lines are highlighted in red, added lines in green, and unchanged lines stay neutral — so you can spot every edit at a glance without hunting through the text.

Compare on your terms

Toggle 'Ignore case' to treat capitalisation differences as identical, and 'Ignore whitespace' so indentation or trailing spaces don't create false differences. Counters tell you how many lines were added and removed. Everything runs locally in your browser, making it safe for comparing sensitive documents, contracts or code.

Features
01
Line-by-line difference highlighting
02
Added vs removed color coding
03
Ignore case option
04
Ignore whitespace option
05
Added / removed counters
06
Private — nothing leaves your browser
FAQ

Frequently asked questions

How do I compare two texts?+

Paste the original text on the left and the changed text on the right. The tool instantly highlights added lines in green and removed lines in red.

Can it ignore formatting differences?+

Yes — enable 'Ignore whitespace' so indentation and trailing spaces don't count as changes, and 'Ignore case' to treat capitalisation as identical.

Does it work for code?+

Yes. The line-by-line diff works well for code, config files and any plain text, and it runs locally so private code never leaves your browser.

Is it free?+

Yes, completely free with no signup.