Compare two files
Check whether two files are identical byte for byte, and find the position of the first difference and the number of differing bytes, with each file's hash.
In your browser
How to use
- 1Add the first file, then the second.
- 2The comparison starts automatically, byte by byte.
- 3See the result, the position of the first difference and each file's hash.
FAQ
Does the tool compare the text content?
It compares raw bytes, so it works for any type of file. To compare two texts line by line, use the text compare tool.
Is Compare two files free?
Yes, Compare two files is completely free and needs no account.
Are my files uploaded to a server?
No. The tool runs entirely inside your browser, and your files and text never leave your device at any point.
Does it work on mobile?
Yes. It works in any modern browser on a phone or computer, with no app to install.
Related tools
Create a ZIP fileCombine several files into a single ZIP archive and compress it inside your browser, choosing the compression level and file name.
Real file type detectorFind the real type of any file from its content rather than its extension, and get warned if the extension is misleading.
File inspectorInspect any file from the inside: its real type and signature, SHA-256 hash, randomness level, text statistics, and its bytes in hexadecimal view.
ZIP extract and createOpen a ZIP archive and extract only what you want to a folder or as files, or compress your files into a new archive, inside your browser.
File size analyzerSee what's using space in any folder: the largest subfolders and files, and the size distribution by type.
Batch file renameRename dozens of files at once with a template, numbering, find and replace, case and extension changes, then download them in a ZIP file.