What is a file comparison tool?
A file comparison tool checks two files against each other to see whether their contents match. It's used to confirm a copy or download is intact, to tell which of two backups is newer, to check whether a document changed, and to find where a file was corrupted.
Choose two files to get a clear identical or different verdict, both SHA-256 fingerprints, both sizes, the offset of the first difference and the number of differing bytes. Text files show a line diff; other files show a side-by-side hex view around the first change.
How to use the Compare files
1.Choose file A and file B
Any types, up to 1 GB each.
2.Read the verdict
Identical, or different, with the first changed byte.
3.Look at the changes
Text files show changed lines; others show bytes around the difference.
Example: two copies of a config file
settings.json from two servers, both 2,140 bytes:
- Verdict
- different
- First difference
- byte 1,021
- Text changes
- +1 / −1 line: "timeout": 30 vs 60
You see at once that only the timeout setting differs between the servers.
Byte for byte
Each file's SHA-256 fingerprint is calculated; identical fingerprints mean identical contents, whatever the files are called or when they were saved. For same-sized files, every differing byte is counted.
Text files under 5 MB, such as code, CSV, configuration and logs, also get a line-by-line diff with added lines in green and removed lines in red, while long unchanged stretches are collapsed.
Frequently asked questions
Two files have different names and dates. Can they still be identical?
Yes. Only the contents are compared.
Why is the byte count "Sizes differ"?
When lengths differ, everything after an insertion shifts, so a byte count isn't meaningful.
Can it compare Word documents?
It tells you if they're identical; for wording changes, compare the text in the text diff tool.
Are my files uploaded?
No. Both stay on your device.
Related tools
Text Diff Checker
Compare two texts by line, word or character and see what changed.
Duplicate file finder
Find identical files in a folder, even with different names.
File inspector
Find a file's real type from its contents, with a hex view and SHA-256.
Folder size analyzer
See what's taking up space in a folder, by subfolder and file type.
ZIP extractor
Open a ZIP, see what's inside and extract the files you need.
ZIP creator
Compress files and folders into one ZIP file.