UtilHero

Text Diff

Compare two blocks of text line by line — in your browser.

About Text Diff

A text diff compares two versions of text and highlights the changes between them. Paste an original and a modified block and it shows a line-by-line diff — additions, deletions, and unchanged lines — using longest-common-subsequence matching. Compare configs, code, or drafts privately in your browser.

Frequently asked questions

Is the comparison line-by-line or word-by-word?
Line-by-line, which is ideal for code, config files, and structured text where each line is a meaningful unit.
Is my text uploaded?
No. The diff is computed locally in your browser; neither block of text is sent to a server.
How big can the inputs be?
Inputs are capped per side to keep the comparison fast and responsive in the browser.

More tools