Diff Checker
Paste two blocks of text and instantly see which lines were added, removed, or unchanged — color-coded for clarity.
0 added
0 removed
0 unchanged
Diff Result
Paste text in both boxes, then click Compare.
Copied!
Summary
Paste two blocks of text and instantly see which lines were added, removed, or unchanged — color-coded for clarity.
How it works
- Paste the original text into the left box and the modified text into the right box.
- Click Compare. A Longest Common Subsequence (LCS) algorithm — the same family Unix diff and Git use — finds the minimal edit path between the two sides.
- Each line is classified as added, removed, or unchanged, then color-coded with a + or - prefix.
- Read the green (added) and red (removed) lines, check the change counts, and copy the result as plain text.
Use cases
- Compare two versions of a configuration file before deploying.
- Review code patch changes before applying them.
- Check what changed between two drafts of a document or essay.
- Spot unwanted modifications in log files or data exports.
- Validate that a copy-paste preserved all expected lines.
Frequently Asked Questions
Last updated: 2026-06-09 ·
Reviewed by Nham Vu