Skip to content

Text Diff Checker

Compare two blocks of text and highlight every added or removed line.

+0 added −0 removed

Differences

Paste text into both boxes to compare them.

Quick Tool Overview

The Text Diff Checker compares two blocks of text and highlights every line that was added or removed. It runs the same longest-common-subsequence comparison that version control uses, so unchanged lines stay aligned and only genuine edits are marked.

What it does
Finds and highlights the differences between two texts
You give it
An original on the left and a revision on the right
You get back
A colour-coded diff with a count of additions and deletions
Best for
Checking an editor's changes, config files and contract revisions
Text Tools Free, unlimited use No sign-up Runs in your browser

About the Text Diff Checker

Paste an original on the left and a revision on the right to see exactly what changed. The comparison runs a longest-common-subsequence diff — the same approach version control uses — so unchanged lines stay aligned and only real edits are marked.

Added lines are highlighted in green, removed lines in red, and a summary counts the additions and deletions. It is useful for checking what an editor changed in a draft, comparing two versions of a config file, or confirming that a copy-paste actually matched the source.

Key features of the Text Diff Checker

True line diff, not a naive compare

A longest-common-subsequence algorithm keeps matching lines aligned, so one inserted line does not mark everything below it as changed.

Colour-coded results

Additions are green and deletions are red, which makes the shape of an edit obvious at a glance.

Change summary

The number of added and removed lines is counted for you, so you can tell a light copy-edit from a rewrite.

Any two texts

Drafts, code, JSON, config files or CSV rows all compare the same way.

Private by design

Both versions are compared in your browser, so contracts and unpublished drafts never leave your device.

How to use the Text Diff Checker

  1. 1

    Paste the original

    Put the first version of your text or code into the left box.

  2. 2

    Paste the revision

    Put the version you want to compare against into the right box.

  3. 3

    Read the diff

    Additions are green, deletions are red, and the counts at the top summarise the change.

Frequently asked questions

The diff works line by line, which is how code and structured documents are usually reviewed. Reformatting a paragraph onto one line will therefore show as one change rather than many.

Reviews of the Text Diff Checker

What people who use the Text Diff Checker think of it. Reviews come from visitors and are posted as written.

No ratings yet

Yours would be the first.

  • 5 0 reviews rated 5 stars
  • 4 0 reviews rated 4 stars
  • 3 0 reviews rated 3 stars
  • 2 0 reviews rated 2 stars
  • 1 0 reviews rated 1 star

Write a review

Used this tool? Your rating helps the next person decide.

Your rating

Plain text only — links, email addresses and HTML are not accepted. Your name and review are shown publicly; nothing else is collected. See the privacy policy.

0 reviews

Newest first

No reviews yet

Be the first to rate the Text Diff Checker. It takes half a minute and no account.

Write the first review

More text tools