Text Diff compares two blocks of text and highlights exactly what changed between them — additions, deletions, and unchanged lines — directly in your browser. Paste your original text on the left and the modified version on the right to see a clear, color-coded comparison.
Switch between line-by-line and word-by-word diff modes depending on what you're comparing. Line mode is ideal for code, config files, and logs where whole lines change. Word mode is better for prose, documentation, and copy edits where you want to see individual word changes within a paragraph.
Key features: line and word diff modes, color-coded additions and deletions, addition/deletion counts in the status bar, and instant comparison as you type.
A text diff tool is essential for code review, comparing API responses, spotting unintended changes in configuration, and proofreading document revisions. Because everything runs locally in your browser, you can safely compare sensitive files, contracts, or proprietary code — your text is never uploaded, stored, or logged.
We use cookies for anonymous analytics and ads. Your tool data never leaves your browser.