How to use
- 1
Paste the original text in the left (or top) box.
- 2
Paste the modified text in the right (or bottom) box.
- 3
Select the comparison mode (Lines, Words, Chars).
- 4
View the highlighted differences instantly below.
Key Features
- Side-by-side or unified difference highlighting
- Support for JSON comparison with auto-formatting
- Line-by-line, Word-by-word, and Character-by-character modes
- Completely private - data never leaves your browser
- Visual indicators for additions (green) and removals (red)
Frequently Asked Questions
Is my code safe to paste here?
Yes, absolutely. The comparison happens entirely within your browser using JavaScript. No data is sent to any server.
Can I compare JSON files?
Yes, select the JSON mode to attempt to parse and format JSON data before comparing, making it easier to spot structural differences.