Hash generator — MD5, SHA-256, SHA-3, BLAKE3 and 9 more at once

Paste text and see its digest under 13 algorithms at once, from MD5 and SHA-256 to SHA-3, BLAKE3 and CRC32, in hex, uppercase hex or Base64, and check whether a hash you were given matches any of them.

Live demo · real result from this tool
Output

Table

AlgorithmDigest
MD55eb63bbbe01eeed093cb22bb8f5acdc3
SHA-12aae6c35c94fcfb415dbe95f408b9ce91ee846ed
SHA-2242f05477fc24bb4faefd86517156dafdecec45b8ad3cf2522a563582b
SHA-256b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9
SHA-384fdbd8e75a67f29f701a4e040385e2e23986303ea10239211af907fcbb83578b3e417cb71ce646efd0819dd8c088de1bd
SHA-512309ecc489c12d6eb4cc40f50c902f2b4d0ed77ee511a7c7a9bcd3ca86d4cd86f989dd35bc5ff499670da34255b45b0cfd830e81f605dcf7dc5542e93ae9cd76f
SHA3-256644bcc7e564373040999aac89e7622f3ca71fba1d972fd94a31c3bfbf24e3938
SHA3-512840006653e9ac9e95117a15c915caab81662918e925de9e004f774ff82d7079a40d4d27b1b372657c61d46d470304c88c788b3a4527ad074d1dccbee5dbaa99a
BLAKE2b-256256c83b297114d201b30179f3f0ef0cace9783622da5974326b436178aeef610
BLAKE3d74981efa70a0c880b8d8c1985d075dbcbf679b99a5f9914e5aaf96b831a9e24
RIPEMD-16098c615784ccb5fe5936fbc0cbe9dfdb408d92f0f
CRC320d4a1185
xxHash6445ab6734b21e6968

13 rows — scroll inside the table, or download the CSV.

MD5 and SHA-1 are broken for security (collisions can be made); use them only for checksums. For passwords use a slow hash such as bcrypt or Argon2.

Processed on your device — nothing is uploaded.

How to use the hash generator

  1. Type or paste into Text. Every character counts, including spaces and line breaks.
  2. Choose an Output format: Hex (lowercase), HEX (upper) or Base64.
  3. Optionally paste a digest into Compare with a known hash. The tool tells you which algorithm produced it, or that none did.
  4. Copy the digest you need from the table.

What it does and when to use it

Use it to check a published checksum, find which algorithm made a hash you found in a config or a database column, or produce test vectors for your own code. Seeing every algorithm at once is useful when you only know the length of a hash. A 32-character hex digest is often MD5, 40 is SHA-1 or RIPEMD-160, and 64 is SHA-256, SHA3-256, BLAKE2b-256 or BLAKE3.

The 13 algorithms are MD5, SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, SHA3-256, SHA3-512, BLAKE2b-256, BLAKE3, RIPEMD-160, CRC32 and xxHash64. CRC32 and xxHash64 are checksums for spotting accidental changes, not cryptographic hashes.

For a keyed signature (webhooks, API requests), use the HMAC generator instead. To verify a file, use the file hash checker, and to compare two digests directly, the hash compare tool.

How it works

The text is encoded as UTF-8 bytes and passed to the hash-wasm library. That is WebAssembly code that loads the first time you use the tool and then runs in your browser. Your text is not uploaded. Base64 output re-encodes the same raw digest bytes, so a SHA-256 is 64 hex characters or 44 Base64 characters. After the table, a notice reminds you that MD5 and SHA-1 are broken for security use.

Worked examples

The input abc gives the published test values: MD5 as listed in RFC 1321, and SHA-1 and SHA-256 as in the NIST examples:

MD5 | 900150983cd24fb0d6963f7d28e17f72
SHA-1 | a9993e364706816aba3e25717850c26c9cd0d89d
SHA-256 | ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
CRC32 | 352441c2

Pasting the SHA-256 in uppercase into the compare box returns Matches SHA-256.

The newline trap. hello world hashes to b94d27b9…cde9 with SHA-256, but hello world followed by a line break (what echo sends) gives:

SHA-256 | a948904f2f0f479b8f8197694b30184b0d2ed1c1cd2a1ec0fb85d299a192a447

Limits and tips

  • Empty input still hashes. An empty box gives the well-known empty-string digests, such as SHA-256 e3b0c442…b855, so check the box is not blank by mistake.
  • No salt or key. The same text always gives the same digest. Short or common inputs can be found in lookup tables.
  • Text only. Binary data, hex strings and Base64 strings are hashed as the characters you typed, not decoded first.

Frequently asked questions

Why does my terminal give a different SHA-256 for the same text?
Usually a hidden newline. echo "hello world" | sha256sum hashes "hello world" plus a line break. Use echo -n or printf to leave it out. Windows line endings (CRLF) and trailing spaces cause the same mismatch.
How is text turned into bytes?
As UTF-8. "café" is hashed as 5 bytes, because é takes two bytes in UTF-8. A tool that uses UTF-16 or Latin-1 will give different digests for any non-ASCII text.
Can I use this to hash passwords?
No. All 13 algorithms are fast by design, which makes password guessing fast too. Store passwords with a slow, salted hash such as bcrypt or Argon2, for example with the bcrypt hash tool.
Why does Compare not find a hash I know is right?
The comparison checks the digests in the output format you chose. A hex hash will not match while Output is set to Base64. Hex is matched case-insensitively, so pasting an uppercase hash is fine.
Can I hash a file?
Not here; this tool hashes typed or pasted text only. Use the file hash tool to checksum a download.

Written by the ToolsRift team · Last updated

Pages are drafted with AI assistance and checked by automated tests. How we write and check pages.

Was this tool useful?

Report a problem

Start typing to search every tool.

↑ ↓ to moveEnter to openEsc to close