Text Diff & Compare
Compare two texts line by line and see what changed — added and removed lines, colour-coded. Runs entirely in your browser.
How it works
Frequently Asked Questions
It finds the longest common sequence of lines, then marks the rest as added or removed — the same idea as a git diff.
Yes — enable “ignore leading/trailing spaces” so indentation changes don’t show as differences.
No — the comparison runs in your browser, so nothing is sent anywhere.
Compare two blocks of text online and free. The diff works line by line — finding the longest common sequence and marking the rest as added or removed — so you can instantly see what changed between two versions of a config, a document or some code. Optionally ignore leading and trailing whitespace. Everything runs in your browser, so your text stays private and nothing is uploaded.