Text Diff Checker
Paste an original text and a changed text to see a clean line by line diff. Added lines, removed lines and unchanged lines are marked so changes are easy to spot.
How to compare two texts
- Paste the original text into the left box.
- Paste the changed text into the right box.
- Read the combined diff, with added and removed lines highlighted.
- Check the summary counts of added, removed and unchanged lines.
Examples
One line edited
line one / line two / line three vs line one / line 2 / line three
line two removed, line 2 added, the rest unchanged
Frequently asked questions
How does the diff decide what changed?
It finds the longest common subsequence of lines, the longest run of lines that match in order. Everything outside that run is shown as added or removed.
Why does an edited line show as a remove plus an add?
A diff works on whole lines. A changed line has no exact match, so the old line is marked removed and the new line is marked added.
Does it handle Windows and Mac line endings?
Yes. CRLF, CR and LF endings are normalized first, so the same text with different line endings is not reported as a difference.
Is my text uploaded anywhere?
No. The comparison runs entirely in your browser, so nothing you paste is sent to a server.
Can it compare reordered lines?
Yes. It keeps the longest in-order match, so moved lines show as a removal in one place and an addition in another.
Related tools
Levenshtein Distance Calculator
Compute the Levenshtein edit distance between two strings and see a similarity percentage. Free, fast and private, runs in your browser.
Find and Replace
Find and replace text online with literal or regex search, case sensitivity, and replace first or all. See a live count of changes. Free and private.
Remove Duplicate Lines
Remove duplicate lines from text online and keep the first of each. Options for case sensitivity and trimming whitespace. Free, instant, and private.
Acronym Generator
Turn any phrase into an acronym from the first letter of each main word. Skip small words like the and of, keep them, or add dot separators.
Add Line Numbers
Add line numbers to any text online. Set the start value, step, and separator, pad numbers to align, and copy or download the result. Free and private.
AI Text Summarizer
Summarize any text with AI, right in your browser. Paste an article, pick a length, and get a short abstractive summary. Nothing is uploaded.