Verify downloads
Hash a downloaded file and compare it with the checksum the publisher lists to make sure it was not corrupted.
Type or paste text, or choose a file, and see its MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes at once. Paste a hash you were given to see whether it matches. Hashing happens on your device, so your text and files are never uploaded.
A plain explanation of MD5 and SHA, how to verify a file, and what hashes are not for.
A hash function turns any input, a word or a whole file, into a short fixed-length fingerprint. The same input always gives the same hash, and even a one-character change gives a completely different one.
That makes hashes useful for checking that a file arrived unchanged, spotting duplicate files, creating cache keys and comparing data without sharing the data itself.
Hash a downloaded file and compare it with the checksum the publisher lists to make sure it was not corrupted.
Create quick checksums, cache keys or test values for APIs, signatures and fixtures.
Two files with the same SHA-256 hash are, for practical purposes, the same file.
MD5 gives a 32-character hex hash and SHA-1 gives 40. Both are fine for catching accidental corruption, but collisions can be created on purpose, so do not use them for anything security-related. SHA-256 (64 characters), SHA-384 (96) and SHA-512 (128) belong to the SHA-2 family and are the safe choices today.
A hash is not encryption: it cannot be reversed to get the original back. It is also not enough for storing passwords. Use a slow, salted password hash such as bcrypt, scrypt or Argon2 for that.
Text and files are hashed in your browser with built-in browser tools. Nothing is uploaded, stored or logged.
Very large files are read into memory, so a file of several gigabytes may fail on a phone or older computer. MD5 and SHA-1 are shown for compatibility and should not be used for security.
A hash is a fixed-length fingerprint calculated from some data. The same input always gives the same hash, and a tiny change in the input changes the hash completely.
Use SHA-256 for most things, including checking downloads. MD5 and SHA-1 are only suitable for catching accidental changes, not for security.
No. A hash is a one-way function. People can guess the input and compare hashes, which is why weak passwords can still be found.
Choose File, select the downloaded file, and compare the SHA-256 hash with the one on the publisher's page. Paste the published hash into the compare box to see a match or a mismatch.
Usually the input differs by a space, a line ending or the text encoding. This tool hashes text as UTF-8 exactly as typed, with no trimming.
No. MD5 is fast and has known collisions. Store passwords with bcrypt, scrypt or Argon2 instead of a plain hash.
MD5 is 32 hex characters, SHA-1 is 40, SHA-256 is 64, SHA-384 is 96 and SHA-512 is 128.
No. Everything is hashed inside your browser and nothing leaves your device.
The homepage features dozens more free tools that don't require an API key.
No matching question.
Share your thoughts on this tool with other visitors.