This site contains affiliate links.

Text Diff Checker

Compare two texts and see every addition and deletion highlighted

Paste the before and after versions to see exactly what changed.

Loading...

Paste two versions of a text to see additions in green and deletions in red, character by character. For checking contract revisions, reviewing code changes and comparing versions of a document. Your text is compared in your browser and is not sent to any server.

Text Diff Checker: tips and things to know

  • Character-level highlighting shows exactly which words changed inside a line, useful for contract revisions.
  • Works for code as well as prose.
  • A screenshot of the coloured result is an easy way to share the changes.

How to use the Text Diff Checker

  1. Paste both versions

    Put the original in "Before" and the revised text in "After".

  2. Read the diff

    Green marks additions and red marks deletions, updated as you type.

  3. Use the counts

    The number of characters added and removed is shown above the result.

Text Diff Checker FAQ

Is my text sent to a server?

No. The comparison runs entirely in your browser.

Is there a size limit?

Only browser memory. Texts of a few thousand lines compare without trouble; very long texts switch to line-by-line comparison.

Which algorithm is used?

A longest-common-subsequence diff, character by character when each text is up to 5,000 characters and line by line beyond that. Added and deleted parts are highlighted inline; a rewritten passage shows up as a deletion next to an addition.