Text Diff Checker
Compare two text blocks and show what changed.
Paste text on both sides to see what changed.
How to use it
- Paste the original text on the left.
- Paste the changed text on the right.
- Read the highlighted added and removed lines.
About this tool
The text diff checker compares two blocks line by line using a longest common subsequence, then highlights lines that were added or removed. It is a line level diff, so a small change inside a line marks the whole line as changed rather than the exact characters. For performance it compares up to 1500 lines per side.
Examples
Input
Two versions of a listOutput
Added lines in green, removed lines in redInput
A paragraph with one edited lineOutput
That line shown as removed then addedCommon uses
- Compare two versions of a note or config
- Spot changes between drafts
- Check what a paste changed
- Review edits line by line
FAQ
Is my text uploaded?
No. The comparison runs in your browser. Nothing you paste is sent anywhere.
Is it a character or line diff?
Line level. A change anywhere in a line marks the whole line as removed and added, rather than the exact characters.
Is there a size limit?
Yes. It compares up to 1500 lines per side to keep the comparison fast in the browser.
Related tools
Developer
JSON Formatter
Format, validate, beautify, and minify JSON.
Open toolDeveloper
Base64 Encoder and Decoder
Encode text to Base64 or decode it back.
Open toolDeveloper
Password Generator
Generate strong random passwords with length and character options.
Open toolDeveloper
UUID Generator
Generate v4 UUIDs in bulk.
Open toolDeveloper
URL Encoder and Decoder
URL-encode or decode percent-encoded strings.
Open toolEmbed this tool
Paste this snippet to put the tool on your own site. It runs entirely in the visitor's browser, the same as it does here.