Text Diff Tool
Compare two texts and see the differences highlighted. Perfect for finding changes between document versions, code revisions, or any text comparison.
Original Text
Modified Text
Color-Coded Differences
Clear visual indicators for added, removed, and unchanged text with intuitive color coding.
Flexible Comparison Modes
Choose between line-by-line or character-by-character comparison based on your needs.
100% Private
All comparisons happen in your browser. Your text never leaves your device.
Frequently Asked Questions
How do I compare two texts?
Paste or type your original text in the left box and the modified text in the right box. Click the "Compare" button to see the differences highlighted in color.
What do the colors mean?
Green highlights indicate text that was added, red highlights show text that was removed, and yellow highlights indicate modified lines. Unchanged text has no highlight.
What's the difference between line and character mode?
Line mode compares texts line by line, which is better for code or structured content. Character mode compares character by character, which is better for finding small changes within lines.
Is my text private?
Yes! All text comparison happens in your browser. Your text never gets sent to any server, ensuring complete privacy.
Can I copy the diff result?
Yes! Click the "Copy Diff" button to copy the comparison result to your clipboard in a standard diff format.