Text Diff Checker
Compare an original and revised text to find added and removed lines with their positions in each version.
Line comparison
| Change | Old line | New line | Text |
|---|
Empty lines appear as (empty line) on screen. Copy and TXT contain the actual empty text with line prefixes, not a ready-to-apply Git patch.
Review changed lists, settings or copy
Paste two versions of a notice, configuration or deployment list to inspect edits before sharing. Compare the original text before applying cleanup: stripping whitespace first can erase meaningful indentation and line differences. Use a format-specific tool such as JSON Validator when you need syntax or data-format checks.
One edited line becomes a removal and an addition
The first line in this example matches; the second changes. The expected counts are one unchanged, one removed and one added line. Old and new line numbers help locate shifts caused by insertions. Moving a line is also represented as removal and addition; there is no word-level highlighting.
Original:
name=Utilook
mode=draft
Revised:
name=Utilook
mode=public
TXT result:
name=Utilook
- mode=draft
+ mode=public
Know which whitespace is being compared
CRLF and CR are normalized to LF. An empty line after a final LF participates in the comparison, so A differs from A followed by a newline. When trailing-space ignoring is enabled, only ordinary spaces and tabs at line ends are omitted from comparison keys. Matching rows display and export the revised text. Case and spaces inside a line still matter.
The length budget counts UTF-16 code units, not visible characters: 가 uses one unit and 😀 uses two. The 1,000-line limit bounds browser computation; split larger documents into smaller comparisons. Repeated identical lines can permit multiple equally short edit paths. This tool consistently prefers removal when paths tie.
References
Frequently Asked Questions
Can I compare Word or PDF files directly?
No. This tool compares pasted plain text. It does not inspect document formatting, images or internal file structures.
Does it find plagiarism or sentences with the same meaning?
No. It compares line text, not meaning, translation equivalence or plagiarism.
Does a comparison with no changes count as a completed run?
Yes. Successfully checking that the inputs match is a completed comparison. Empty-input errors and over-limit attempts are not counted as successes.
Can I copy or save a result after clearing the inputs?
Clearing, editing either input or changing the option invalidates the previous result. Compare again to enable copy and download.