Compare text and highlight differences. Fast, secure, and completely free. All processing happens in your browser — no data is sent to any server.
Text Compare highlights the differences between two blocks of plain text at the line and word level, using the same class of diff algorithm behind tools like Git's diff or Unix's diff command. It shows exactly which lines were added, removed, or changed, and within a changed line, which specific words differ — which is more precise than a whole-line diff when only a single word or value changed inside an otherwise identical line. This is the general-purpose comparison tool for anything that isn't structured data (for that, the format-specific comparers like JSON Compare or SQL Compare give more precise results).
Not everything you need to compare is structured data — sometimes it's two drafts of a document, two versions of an email template, or plain-text log output before and after a fix. A general-purpose line and word diff is the right tool for exactly that: it doesn't need to understand JSON or SQL syntax, it just shows you precisely what changed between two versions of any text, which is often faster than opening a full version control diff view for a quick one-off comparison.
This tool treats input as plain text and diffs it line-by-line and word-by-word; the format-specific comparers first parse the input into its actual structure, which produces more precise results for data that follows a known format.
Yes, toggle whitespace sensitivity off to treat lines that differ only in trailing or leading spaces as identical.
Yes, though extremely large documents (many thousands of lines) may take a moment to render the full diff since processing happens in your browser.
Yes, switch to the side-by-side view to see both versions in parallel columns with corresponding changes aligned.
No, the entire comparison runs locally in your browser using JavaScript.