How to use the File Compare
- Choose the two files to compare.
- Select Compare.
- See whether they're identical; for text files, review the line-by-line differences.
Two kinds of comparison
- Identical or not: both files are hashed with SHA-256. Matching hashes mean the files are byte-for-byte the same — works for any file type, from PDFs to videos.
- What changed: if both are text files under 10 MB (code, CSV, JSON, logs), a line-by-line diff highlights additions and removals, with word-level highlights inside changed lines.
When to compare two files
- Duplicate check. Two photos or PDFs with different names — are they actually the same file? Matching hashes settle it.
- Backup verification. Confirm a copy on a USB drive or cloud folder is identical to the original before you delete one.
- Download integrity. Compare a file you downloaded twice, or against a copy a colleague sent, to rule out corruption.
- Config and code changes. See exactly which lines changed between two versions of a settings file, CSV export or script.
Reading the result
When files differ, the result says whether they're the same size with different contents or different sizes altogether, and shows both SHA-256 hashes so you can record them. For text files, choose Side by side to read old and new versions next to each other, or Inline to see removed and added lines in one column. Each file can be up to 500 MB; files of that size take longer to hash because every byte is read.
Comparing documents
Word and PDF files are binary, so this tool can only tell you whether they differ. To compare their text, extract it first with Word to Text or PDF to Text, then use the text diff checker.
Frequently asked questions
Are my files uploaded?
No. Hashing and comparison happen in your browser.
Do the file names or dates matter?
No. Only the contents are compared. Two files with different names and modification dates are reported as identical if every byte matches.
Why do two PDFs that look the same show as different?
PDFs store hidden data such as creation dates and internal IDs, so re-saving or re-exporting the same document produces different bytes. Compare their extracted text instead.