Text Diff Checker
Compare two versions of text instantly and highlight what changed in a clear, honest way.
Paste an original version and a revised version to review line-by-line changes instantly. The summary and visual diff update in real time.
2
Added
1
Removed
2
Unchanged
Diff result
Recent history
Saved comparisons will appear here.
Last updated:
Compare two versions of a text
This text difference checker compares an original text with a revised one, line by line. Lines that were added are highlighted green, removed lines red, and unchanged lines stay plain. Counts of added, removed and unchanged lines appear above the result.
How to use it
- Paste the original version into Original text.
- Paste the new version into Revised text.
- Read the diff result, which updates as you type. Lines are marked
+(added),-(removed) or=(unchanged). - Click Copy summary to copy the three line counts.
How it works
Both texts are split into lines. The checker finds the longest sequence of lines that appear in both texts in the same order (the longest common subsequence). Those lines are unchanged; every other line is marked as removed from the original or added in the revision.
Example: original Line one / Line two / Line three and revised Line one / Line 2 updated / Line three / Line four give 2 added, 1 removed, 2 unchanged. The edited line shows as one removed line plus one added line.
Tips for better comparisons
- Lines must match exactly. A changed capital letter, extra space or trailing space makes a line count as different.
- The checker compares whole lines, not single words, so put each sentence on its own line to pinpoint small edits.
- Use the same line breaks in both texts; reflowed paragraphs will show as entirely changed.
- Very long texts with thousands of lines can be slow to compare.
Saving to history
The comparison runs entirely in your browser. Save to history keeps your 10 most recent comparisons in this browser only (local storage), so you can reopen them later on the same device. Nothing is sent to a server, and Clear removes the saved list.
Frequently asked questions
Can it compare code?
Yes. Paste any plain text, including code or configuration files. It compares lines and does not understand programming syntax.
Does it highlight changed words inside a line?
No. A line that changed at all is shown as a removed line followed by an added line.
Related Developer Tools
Browse all tools from the same category.
Domain Authority Checker
Check Moz authority, page authority, spam score, and backlink metrics
Open toolSEO Audit Tool
Audit a website URL for technical SEO, metadata, headings, broken internal links, hreflang, canonical and X-Robots-Tag checks, with report exports
Open toolShowing 1-2 of 49