Text Diff
Compare two blocks of text and highlight added and removed lines.
Text & data Client-side Diff algorithm
Tool preview
How to use it
- 01
Paste the original on the left.
- 02
Paste the changed version on the right.
- 03
Read the highlighted diff.
Limitations
- ! The diff is line-based, so a single changed character marks the whole line.
- ! Very large inputs are rejected to protect the tab from freezing.
FAQ
Does it ignore whitespace?
No, differences in spacing count as changes.
Can I compare files?
Paste their contents; direct file comparison is on the roadmap.
Is the text uploaded?
No.
Files never leave your device
Processing happens in your browser using the File API, WebAssembly and Web Workers. There is no upload endpoint.
Technical details
- Processing
- Client-side
- Implementation
- Diff algorithm
- Category
- Text & data
- Network requests
- None while processing