Original text
0 characters · 0 lines
Compare an original and revised text and focus only on what changed.
0 characters · 0 lines
0 characters · 0 lines
No changes
Enter two texts to display the comparison result here.
Review changes between draft revisions, configuration text, email versions, or any two blocks of text.
Compare revisions to email drafts, contracts, web copy, translations, code strings, and more. Comparison and draft storage take place only in your browser, and your text is never sent to a server.
Changing “Doors open at 9” to “Doors open at 10” shows 9 as removed and 10 as added. Reordering A, B, C to B, A, C is represented as removals and additions rather than a special move operation.
Distinguish edited lines from differences hidden by your comparison options.
Trying an example replaces the input and settings and runs the tool above. Restore previous input restores the preceding input and settings, not a saved copy of the calculated result; run again as needed. Existing storage rules apply.
After trying multiple examples, repeat Restore previous input to return to your original input. History is kept only in this page; restore any input you need before closing it.
Before: red / blue (two lines) After: red / green (two lines) Ignore options: all off
0 added · 0 removed · 1 changed blue → green
Before: A B After: a b Ignore spaces and case: on Ignore line breaks and changes only: off
No changes (under these comparison options)
Counts describe line differences. The first example replaces one line, so it reports one changed line. No changes in the second example does not mean the original strings are identical; disabling the ignore options reveals differences.
This does not judge meaning or explain why an edit was made. Ignoring line breaks also hides paragraph boundaries. Comparisons that exceed the size budget stop while preserving input; character highlighting may be omitted for long lines. Normal 30-day draft-storage rules apply.
Verification: added, removed and changed counts from the existing buildLineDiff function, including option-dependent matching, are compared with the rendered summary and differences.
before: A B after: AB
No changes
Ignoring spaces removes ordinary spaces, tabs, and full-width spaces from matching keys. Ignoring line breaks is a separate option.
An LCS comparison exceeding four million cells asks you to shorten the texts. Character highlighting has its own size limit.
Texts are compared line by line. Added, removed, and changed lines are color-coded, and changed lines also highlight character-level differences.
Yes. You may separately ignore spaces, line breaks, and letter case in the comparison options.
No. Comparison and draft storage take place only in your current browser.
Share only the tool name and public URL. Your input and results are not included.
Keep a separate copy before clearing or resetting. This browser autosaves entered text. Data is not restored when read 30 days or more after its last save. Clearing site data or storage restrictions may remove it sooner.
Favorites and language preferences are stored separately and may be lost when site data is cleared. Tool resets and site-data deletion do not delete files already downloaded to your device.