Text Diff Checker
Paste two versions of a text or code and see exactly what was added, removed or changed, with the changed words highlighted. Runs in your browser - your text is never sent to a server.
Paste text into both boxes, or click Sample text, to see the differences.
Frequently Asked Questions
A diff checker compares two pieces of text and shows what was added, removed or left unchanged. It is used to review edits to documents, compare versions of code or config files, and spot small differences that are hard to see by eye.
It compares line by line to find the longest set of lines both texts share, then marks the rest as removed (red) or added (green). For lines that were changed rather than replaced, it also highlights the exact words that differ.
Ignore case treats "Hello" and "hello" as the same. Ignore whitespace trims lines and treats runs of spaces and tabs as one space, so indentation-only changes do not show up as differences.
Yes, up to a few thousand lines that differ. Lines that are identical at the start and end of both texts are skipped before comparing, so large files with small changes work well. Very large, completely different texts may be too big to compare in the browser.
No. The comparison runs entirely in your browser, so confidential text, code and documents never leave your device.