Text Diff Checker

Compare two blocks of text line-by-line or word-by-word, entirely in your browser.

Both text blocks are compared only in your browser. Nothing is uploaded.

This tool compares two versions of text and highlights what changed. Paste an original and a modified version — of code, a config file, or plain prose — and see additions, removals, and unchanged parts highlighted inline.

AddedRemoved

Enter text in both boxes above to see the diff here

FAQ

What's the difference between line mode and word mode?

Line mode compares whole lines at a time, which works well for code or config files. Word mode compares individual words, which pinpoints exactly which words changed within a line — better suited to comparing ordinary prose.

What do the colors in the result mean?

A green background marks content that was added in the modified text. A red background marks content that was removed from the original text. Text with no background is unchanged between the two versions.

Is my text uploaded anywhere?

No. The comparison runs entirely in your browser using JavaScript — neither text block is ever sent to a server.