theDiff is a free, private, 100% client-side comparison tool for text, code, files, JSON
and images. Every diff runs in your browser — nothing is ever uploaded, and there's no
account, no server, and no "share via link" (that would need a backend this project
deliberately doesn't have).
Features
- Text/Code Diff on Monaco — VS Code's own editor engine
- Side-by-side and unified views, character-level highlighting
- Syntax highlighting for 60+ languages
- Ignore whitespace, word wrap, hide unchanged lines, moved-block detection, live +/− stats, change navigation — in both Text/Code and File Diff
- File Diff — text files compared directly; binary files get an honest SHA-256/size check
- JSON Diff — a structural comparison; reordered keys are never a false change; paste, drop or upload a file
- Image Diff — before/after slider, blink overlay, pixel heat-map
- Export a real unified patch (.patch) or a static HTML report
- Dark (Orchid Nightshade) and light (Blossom Paper) themes
- Fully responsive, phone to desktop
- No sign-up, no ads, no tracking
Frequently asked questions
Is anything I paste or upload sent to a server?
No. This is a static page with no backend — every comparison runs entirely in your
browser. You can disconnect from the internet after the page (and its editor engine) loads
and keep comparing.
How is the JSON diff different from comparing the text?
It parses both sides and compares them structurally, by key and index — not line by
line. Reordered keys or different indentation with identical values correctly show as no
change, which a plain text diff would get wrong.
Can I compare binary files or PDFs?
File Diff detects binary files and compares size + a SHA-256 hash instead of attempting
a meaningless byte-level visual diff. Full PDF/spreadsheet diffing isn't supported yet.
Can I share a diff with someone?
There's no "share via link" — that needs a server this project doesn't have. Export a
unified patch or a static HTML report and send that instead.
Is theDiff free?
Completely — no sign-up, no ads, no tracking, no paid tier.
Version 1.1.1 · More apps
· About the developer
· Made with in India