Diff Viewer - Text Comparison Tool
Compare text side-by-side or in unified view with inline word-level highlighting. Supports split/unified modes, file upload, and drag & drop. 100% client-side.
Features
- Split (side-by-side) and unified views
- Inline word-level and character-level highlighting
- File upload and drag & drop
- Paste from clipboard
- Ignore whitespace and case options
- Syntax-aware diffing
- 100% client-side
Frequently Asked Questions
What is the difference between unified and split diff?
A unified diff interleaves additions and removals in a single column (compact, good for patches). A split diff shows the old and new versions side by side (clearer for review). This tool supports both and lets you switch instantly.
Can I diff two files directly?
Yes. Drag two files into the left and right panes, or paste their contents. The diff is computed entirely in your browser, so confidential files never leave your machine.