Home / Tools / Text diff checker

Text Diff Checker: Compare Two Texts and See the Differences Online

Compare two texts or files line by line and see what was added, removed or changed, with changed words highlighted. Side-by-side or one column.

Paste the original on the left and the changed text on the right. Added lines are green, removed lines are red, and the exact changed words inside a line are highlighted. You can ignore case or spaces, hide unchanged lines and copy the result as a unified diff.

What it does

Frequently asked questions

Is the comparison exact?
Yes. It uses the Myers algorithm, which finds a shortest list of added and removed lines. Moved blocks show as a removal and an addition.
How large a text can I compare?
Up to 40,000 lines in total. Very long lines are shown without word highlights.
Are my files uploaded?
No. Both texts stay in your browser.
Why does it say the texts are the same?
Line endings (Windows or Unix) and one final blank line are ignored. Tick or untick the case and spaces options to change what counts as a difference.
Does it detect moved lines?
Yes. When the same lines are removed in one place and added in another, they are shown in blue as moved, and counted separately. The match is on whole lines: a moved line that was also edited shows as removed and added. Single short lines such as } are not counted as moves.

Runs in your browser. Nothing you type is sent to this site. Updated 2026-10-11.

More tools

Code formatters

CSS beautifier CSS minifier HTML beautifier HTML minifier JavaScript beautifier JavaScript minifier JSON formatter YAML formatter XML formatter SQL formatter Markdown preview

Converters

Base64 encoder and decoder URL encoder and decoder Unix timestamp converter CSV to JSON JSON to CSV HTML entity encoder and decoder Number base converter Time zone converter JSON to TypeScript XML to JSON HTML to Markdown Date difference calculator

Text tools

Regex tester Remove duplicate lines Lorem ipsum generator Word counter Case converter

Color and images

Color converter Contrast checker Image to Base64 Image resizer

Network

Subnet calculator Download time calculator Common ports list CIDR to IP range IPv6 address expander and compressor MAC address formatter curl command builder

Server and files

Cron expression explainer chmod calculator HTTP status codes

Encoding and security

Password generator UUID generator Hash generator JWT decoder QR code generator Password strength checker Wi-Fi QR code generator