Compare Any Two Files
Free file comparison with no upload. Add two files and DiffResolver reads the signature, the name, and the content, then opens the right diff.
Files never leave your browser.
Add two files. The signature, the file name, and the content decide which comparison fits. Nothing leaves your browser.
Formats this page routes
- Text and code: TXT, Markdown, HTML, XML, SVG.
- Structured data: JSON, YAML, TOML, CSV, TSV.
- Documents: PDF, Word, Excel, PowerPoint, ODT, EPUB, RTF.
- Images: PNG, JPG, WebP, and other picture formats.
- Archives: ZIP, TAR, 7z, RAR.
- Any other file: the byte (hex) view.
About File Compare
One entry point for every comparison. Add two files, and the page reads the signature, the file name and the content, then opens the tool that fits the pair. The detection runs in your browser, like the comparison that follows.
How to use
- Add the first file. The format comes from the first bytes of the file, not only from its name.
- Add the second file. The two detected formats appear under Detected formats.
- Follow the Compare in link under Detected formats. The matching tool opens with both files already loaded.
What this tool doesn't handle
- When the two files share no comparison, the byte (hex) view opens instead, and the page says so.
- The page routes a pair of files. Use Folder Diff for two folders and Archive Diff for the entries inside an archive.
Frequently asked questions
Do my files ever leave my browser?
No. Every comparison runs locally in your browser. Nothing you paste, drop, or load is uploaded to a server; the tool keeps working even if you go offline after the page loads.
Is this tool free to use?
Yes. All DiffResolver tools are free, with no account, sign-up, or installation. Because processing happens on your device, there are no server-imposed usage limits.
What happens when the file extension is wrong?
The signature wins. The first bytes are read before the name, so a ZIP archive named .txt still opens in the archive comparison.
Which formats does this page route?
Text and code, structured data, documents, images and archives. The list on the page names each family. Any other file opens in the byte (hex) view.
What happens when the two files have different formats?
The page looks for a comparison that fits both sides. Two files of one family open in the tool for that family, for example a PNG and a JPG in Image Diff. A pair with nothing in common falls back to the byte view.
Is there a file size limit?
No server limit applies, because nothing is uploaded. The memory of your device sets the practical limit. Above 10 MB for text, 40 MB for images, 100 MB for documents, or 500 MB for archives, the tool warns you that the work can be slow, but it never blocks the file.
Does this tool work offline?
Yes. The browser keeps a copy of the tool after the first visit, so a page you opened before still works without a network. You can also install DiffResolver as an app from the browser menu. Installation stays optional; the site works the same in a normal tab.
Where is my data stored?
Your files are stored nowhere. They stay in the memory of the page and are gone when you close the tab. Only what you save yourself stays in this browser: a snapshot, your tool options, and your theme. To remove it, open Settings and select Clear all local data.