Hash Generator – MD5, SHA-1, SHA-256, SHA-512

Get every common digest of your text or file side by side: MD5, SHA-1, SHA-256, SHA-384 and SHA-512.

Loading tool…

About the Hash Generator

When you do not know which checksum a vendor published, or you need several at once for a release page, this tool computes all five common digests in one pass: MD5 (128-bit), SHA-1 (160-bit), SHA-256, SHA-384 and SHA-512. The SHA family uses the browser's native Web Crypto implementation; MD5 uses a verified JavaScript implementation because Web Crypto does not include it.

You can identify an unknown hex hash by its length: 32 characters is usually MD5, 40 is SHA-1, 64 is SHA-256, 96 is SHA-384 and 128 is SHA-512. Base64 lengths are 24, 28, 44, 64 and 88 characters respectively.

For security-sensitive work prefer SHA-256 or stronger: MD5 and SHA-1 have practical collision attacks. None of these general-purpose hashes should be used to store passwords — use the bcrypt generator instead. To authenticate a message with a shared secret, use HMAC. All hashing happens locally and files are not uploaded.

How to use it

  1. Type or paste text, or click “Hash a file”.
  2. Pick hex, HEX or Base64 output.
  3. Compare the digest that matches your published checksum.
  4. Copy any value with its Copy button.

Frequently asked questions

How can I tell which algorithm produced a hash?
By length: 32 hex chars = MD5, 40 = SHA-1, 64 = SHA-256, 96 = SHA-384, 128 = SHA-512. The format alone cannot distinguish algorithms with the same length.
Are large files supported?
Yes, as long as the file fits in browser memory. Hundreds of megabytes usually work; multi-gigabyte files may be slow or fail.
Which hash should I publish for downloads?
SHA-256 is the common standard. Publishing SHA-512 as well is fine; MD5 alone is no longer recommended.

Related tools