Text diff
Compare two versions of text. See which lines were added, removed or changed. Files stay on your device.
Loading comparison…
Privacy & draft storage
Tool input and output stay in your browser. Neither is uploaded or saved by the toolkit.
- Copy writes the result to your device’s clipboard.
- Switching tools or returning home keeps drafts in this tab’s memory.
- Reloading or leaving the toolkit clears drafts. Nothing is saved to browser storage.
Clearing a tool does not erase a copy already on your clipboard or a file you saved. A dot beside a tool marks an edited draft.
How to use
Text diffPaste the original and revised text, or open a local UTF-8 file in either editor.
Choose whether to ignore spaces and tabs, then review the comparison.
Switch between Side by side and Unified, and use Previous/Next change to navigate.
What does the comparison include?
Text diff compares lines and labels additions, removals and changes; color is an extra cue.
CRLF,CRandLFline endings compare alike.- Trailing blank lines remain meaningful.
- Ignore spaces and tabs changes the comparison, not either original text.
Limits and privacy
- Each version: up to 100,000 UTF-16 code units and 5,000 lines.
- Local files: files above 400,000 bytes are rejected before reading.
- Processing: a browser worker with time and complexity limits.
Input and output stay in your browser. Binary comparison and patch export are not supported.