Text Diff Checker

Compare two texts and highlight added and removed words, including spacing changes.

11 / 50,000 characters · Text is processed on this device.

Result

Texts differ

Hello worldfriend

Text Diff Checker: Examples & Matching Rules

Short answer

Text Diff Checker compares the original and changed text and marks removed passages with a strikethrough and additions with an underline. It compares words and whitespace rather than interpreting document formatting or code syntax.

Formula

Difference = sequence of unchanged, removed and added text segments

Text Diff Checker compares the original and changed text and marks removed passages with a strikethrough and additions with an underline. It compares words and whitespace rather than interpreting document formatting or code syntax.

Worked example

Original text
Hello world
Changed text
Hello friend
  • Comparison: Texts differ

Review revisions before using them

Paste the earlier version into Original text and the revised version into Changed text. Unchanged words remain unmarked. Removed text is struck through and new text is underlined, allowing additions and deletions to be distinguished without depending only on color.

What the comparison means

The tool uses a word-and-whitespace diff engine. It finds a useful sequence of edits rather than judging which version is correct. Repeated phrases can have multiple equally plausible alignments. A paragraph moved to a different place may appear as a deletion and addition rather than a move.

Letter case, punctuation and whitespace changes matter. Rich formatting, font differences, hyperlinks embedded in documents and images are not compared. HTML pasted as text is displayed as text; it is not executed.

Keep large comparisons manageable

Each text box is limited to 50,000 UTF-16 code units. The engine also has a 200-millisecond work budget and a 2,000-edit search cap. When it cannot finish within the budget, a limit message replaces the comparison. Split long rewrites into headings or paragraphs for a clearer review.

Save the right version

Copy result and Download text use the changed text only; they do not merge the versions or include deleted passages. Keep an original backup if the edit affects an important agreement, data list or publication.

Use Find & Replace to make consistent phrase edits. Use Remove Duplicate Lines for repeated entries and Word Counter to compare the length of your revisions.

Comparison

ScenarioInputResult
Matching behaviorHello world / Hello friendHello world → Hello friend keeps Hello and marks world removed and friend added.

Common mistakes

  • Assuming a plain-text comparison preserves document formatting.
  • Treating matching words as proof that two files are byte-identical.
  • Comparing very large rewrites instead of smaller sections.

Checklist

  • Keep a copy of the original text.
  • Check the options and result before copying.
  • Use smaller sections for long text.
Michael Torres

Michael Torres

Co-Founder & Chief Editor

Michael Torres writes about personal finance, loans, and savings for the financial blog The Money Leads (opens in a new tab).

Plain-text processing only. Browser and application counting rules may differ; verify important edits against your original.

Frequently Asked Questions

What do the marks mean?

Struck-through text was removed from the original. Underlined text was added to the changed version.

Are spaces compared?

Yes. The comparison includes whitespace, so spacing and line-ending changes can appear.

Is it case sensitive?

Yes. Changes in letter case are shown as edits.

Can I compare Word or PDF documents?

Paste their extracted text. This tool does not parse files or compare document formatting.

Why does a comparison stop?

Large or very different inputs can exceed the bounded comparison budget. Compare smaller sections when a limit message appears.

What does Copy result copy?

It copies the changed text, without comparison marks. Download text also saves the changed version.

Sources & references

Formulas are tested against hand-checked answers. How we check our calculators.

Last updated: November 15, 2026