Paste two pieces of text to compare them. Additions are highlighted green, deletions red. Everything runs in your browser.
A diff checker compares two pieces of text and shows you exactly what changed between them. Lines that were added are shown in green. Lines that were removed are shown in red. Lines that stayed the same are shown in grey. This is the same format used by Git when you run git diff in a terminal.
Diff checkers are used by developers to review code changes, by writers to compare document versions, and by anyone who needs to quickly spot what changed between two versions of a text file.
Yes. Paste any code into both boxes and compare. It works for any plain text including code, prose, configuration files, and JSON.
No. The comparison runs entirely in your browser. Your text never leaves your machine.
This tool compares line by line which is the standard diff format. Each line is marked as added, removed, or unchanged. This matches the output of the Unix diff command and Git.