Features
- Line by lineAdditions and removals are highlighted.
- Any plain textCode, configuration or prose.
- Runs on your deviceYour data is processed in the browser and is never uploaded.
How to use the diff checker
- Paste the original text on the left.
- Paste the changed text on the right.
- Read removed lines marked - and added lines marked +.
How the comparison works
It finds the longest common subsequence of lines. A line with any change, including trailing spaces, shows as one removal and one addition. Each side is limited to 3,000 lines.
Compare files on the command line
diff -u old.txt new.txt
git diff --no-index old.txt new.txt
Frequently asked questions
Does it ignore whitespace?
No. Whitespace differences count.
Can it compare code?
Yes, any plain text.
Is my text stored?
No.