Text Diff

Compare two blocks of text and instantly highlight additions, deletions, and changes. Free online diff checker with line-by-line comparison.

About Text Diff

Paste two versions of any text — code, documents, configs, or plain text — and instantly see exactly what changed. Added lines are highlighted green, removed lines red. Uses an LCS-based diff algorithm for accurate comparisons entirely in your browser.

text diffdiff checkercompare two textstext comparison toolfind differences in textonline diff tooltext differcompare text online free

Your privacy is built in

Everything in Text Diff runs locally in your browser — your data never leaves your device and is never uploaded to a server, so nothing you enter is stored or seen by anyone else. No account, no sign-up, no watermark, and completely free.

Frequently asked questions

Is this a line-by-line or word diff?
The tool compares line-by-line using an LCS (Longest Common Subsequence) algorithm. Added lines are green (+), removed lines are red (−).
Can I compare source code?
Yes! Paste any code, configuration files, JSON, YAML, or plain text. Whitespace and indentation differences are shown accurately.
Is there a size limit?
The tool handles large texts efficiently in the browser, though very large files (1MB+) may take a moment to process.
WowShortcuts
Your files never leave your browser