Hash Generator โ€“ MD5, SHA-1, SHA-256, SHA-512

Get MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text or a file, and verify a checksum. Nothing is uploaded.

Last updated:

MD5 and SHA hash generator

This hash generator computes the MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of any text as you type, or of any file you choose โ€” handy for verifying a download's checksum, checking two files are identical, or debugging an API signature. SHA hashes use your browser's built-in Web Crypto, MD5 is calculated locally, and nothing you hash ever leaves your device. Paste a published checksum into โ€œCompare withโ€ and the matching row lights up.

How to use it

  1. Type text, or switch to File and choose a file.
  2. All five hashes appear โ€” tap one to copy it.
  3. Optionally paste a checksum to verify it matches.

Example

The MD5 of the word hello is 5d41402abc4b2a76b9719d911017c592, and its SHA-256 begins2cf24dbaโ€ฆ. Change it to โ€œHelloโ€ and both hashes change completely. Hashing isn't encoding โ€” to reversibly convert text use Base64; for strong random passwords use thepassword generator.

Rate this tool

Frequently asked questions

What is a hash?
A hash is a short fixed-length โ€œfingerprintโ€ of some data. The same input always gives the same hash, but even a one-letter change gives a completely different one โ€” and you canโ€™t work backwards from the hash to the data.
How do I verify a downloaded file?
Choose the file here and compare its SHA-256 (or MD5) with the checksum published on the download page. Paste the published value in โ€œCompare withโ€ and the tool tells you if it matches.
Which algorithm should I use?
SHA-256 for anything security-related. MD5 and SHA-1 are broken for security and should only be used to check files against old published checksums.
Can I hash passwords with this?
You can see the hash, but websites should never store passwords as plain MD5 or SHA hashes โ€” they need a slow, salted algorithm such as bcrypt or Argon2. Your text and files never leave your browser.