About TextDiff
TextDiff is a free, fast online tool for comparing two pieces of text and seeing exactly what changed — built by the SmartScan team.
Paste any two texts — document drafts, code snippets, config files, API responses, translated paragraphs — and get a clear, colour-coded diff in under a second. No account required, no file upload, no ads.
Two diff modes
Word mode compares texts token by token — ideal for articles, essays, and content where individual word changes matter.
Line mode compares texts line by line with line numbers — ideal for code, config files, and structured data where each line is a logical unit.
Both modes use the Longest Common Subsequence (LCS) algorithm — the same approach used by git diff. Added content appears in green, removed content in red.
Privacy
Your text is never stored. Comparisons are processed in server memory and discarded immediately after the result is returned. See our Privacy Policy for full details.
Part of SmartScan
TextDiff is one of several free tools built by the SmartScan team. If you need to extract emails, phone numbers, or addresses from a list of websites, check out Bulk Contact Extractor.
Technology
Built with Laravel 11, Tailwind CSS, and plain JavaScript — no heavy frontend frameworks, just fast and reliable code.