Converter Web ToolsConverter WebTools

Text Diff Checker (Compare Text)

Compare two blocks of text and highlight the differences line by line — see added, removed and unchanged lines instantly.

What is Text Diff?

A diff checker that compares two pieces of text and shows exactly what changed. Paste an original and a revised version to see added lines highlighted in green, removed lines in red and unchanged lines in grey, with a summary count. Runs entirely in your browser.

How Text Diff works

The tool splits both texts into lines and uses a longest-common-subsequence (LCS) algorithm to find the minimal set of additions and deletions, then renders them with color coding.

Common uses

  • Compare two versions of a document
  • Spot changes in code, config or text
  • Review edits before publishing
  • Find what differs between two lists

Frequently asked questions

How does the comparison work?
It compares line by line using an LCS algorithm to find the smallest set of changes.
Can it compare word by word?
This version works at the line level, which is clearest for most text and code.
Is my text uploaded?
No — the comparison happens entirely in your browser.