🆚Text Diff - Online Text Comparison / Diff Tool
Compare two blocks of text line by line to find added, removed and unchanged lines with color highlighting. Built on a longest-common-subsequence algorithm for clear results. Optionally ignore case or leading/trailing whitespace. Great for checking copy changes, config differences and code snippets, all locally.
Loading tool...
How to use Text Diff
- 1Paste the original text on the left
- 2Paste the changed text on the right
- 3Read the highlighted diff below
FAQ
- Can it compare Word or PDF?
- This tool compares plain text. Copy the content out as text first, then paste it in.
- Is it line or character based?
- Line based, which fits most copy and code cases; a small in-line change shows as a removed line plus an added line.
- Are my files or data uploaded?
- No. Everything runs locally in your browser with no network upload, and is discarded when you close the page.
- Do I need to sign up or pay?
- No. The site is completely free, needs no account and has no usage limits.