Text compare
Paste an original and an edited version. See which lines were added or removed, then copy or save the comparison.
Both texts stay editable. Comparison happens in your browser, without a text upload or account.
54 / 50,000 UTF-16 input units. Up to 500 lines.
68 / 50,000 UTF-16 input units. Up to 500 lines.
Line-by-line comparison
+ added, - removed, unmarked unchanged. Line numbers refer to the original and changed texts. A changed line appears as a removal and an addition.
2 added; 1 removed; 3 unchanged.
- 11 Project notes
- 22 - Add title
- 3--- Check spacing
- -3+- Check width
- 44 - Export TXT
- -5+- Keep a backup
Copy and TXT contain marked lines: two spaces for unchanged, a minus and space for removed, a plus and space for added. No line numbers or display markers. This is not a unified patch.
A short revision, line by line
Check spacing becomes Check width, so the old line is removed and the new one added. Keep a backup is an added line. The other three lines are unchanged.
Original
Project notes - Add title - Check spacing - Export TXT
Changed
Project notes - Add title - Check width - Export TXT - Keep a backup
Marked comparison
Project notes - Add title - - Check spacing + - Check width - Export TXT + - Keep a backup
What this comparison checks
Whole lines are matched exactly, including case, tabs, leading or trailing spaces and Unicode spelling. Blank lines are kept. There is no trimming, case folding or Unicode normalization. A composed accent and a letter with a combining accent can look alike but compare differently.
CRLF, LF, lone CR, NEL (U+0085), line separator (U+2028) and paragraph separator (U+2029) are treated as the same line ending. Empty input has zero lines; a final ending creates an empty final line. Soft wrapping does not add lines. Browser text fields normally turn pasted CRLF or lone CR into LF.
The checker keeps a longest shared sequence of complete lines. When duplicate lines allow equally good matches, removal is chosen before addition. A moved line can appear as a removal and an addition. This is not a word-level or character-level diff, byte-for-byte file comparison, plagiarism check or code analysis.
Show spaces and tabs changes the display only. For other invisible differences, use the Unicode inspector. The word counter checks text size; the alphabetizer sorts one-item-per-line lists.
Limits, exports and your text
Each input allows up to 50,000 UTF-16 input units and 500 lines, including a final empty line. Longer input stays in its field with an error; no partial comparison is exported. Incomplete Unicode characters and C0/C1 controls other than tabs and the supported endings are rejected.
Copy and TXT contain the current marked comparison, not either original alone. Each line starts with two spaces for unchanged text, a minus and space for removed text, or a plus and space for added text. Line numbers and display markers are excluded. This is a readable report, not a unified patch or a file you can apply with patch tools.
TXT is UTF-8 with LF endings, no byte-order mark and no added final newline. The prefixes are part of the export, including on an empty line. A receiving app or clipboard may change endings. If copying is blocked, select the raw comparison shown by the error or use TXT. A download-started message is not proof that your device saved the file.
Your inputs stay in this page's memory, not links, saved settings or analytics events. Export the comparison and keep your own originals before leaving or reloading. Site resources and analytics still make requests; see data handling.