Hash Generator
Generate MD5, SHA-1, SHA-256 and SHA-512 hashes of text or files, and verify checksums.
Text is hashed as UTF-8, exactly as typed - including spaces and line breaks.
- MD5 not for passwords or signatures
… - SHA-1 not for passwords or signatures
… - SHA-256
… - SHA-384
… - SHA-512
…
A hash is a short fingerprint of some data: the same input always produces the same hash, and changing even one character produces a completely different one. This tool calculates MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text or files right in your browser - nothing is uploaded.
Verifying a download
- Switch to File and drop the file you downloaded.
- Paste the checksum published by the software's website into Compare with a checksum.
- A green match means your file is exactly what the publisher released - not corrupted or tampered with.
Which algorithm should I use?
- SHA-256 is the everyday standard for checksums, APIs and certificates.
- SHA-384 / SHA-512 give longer hashes; SHA-512 is also often faster on 64-bit computers.
- MD5 and SHA-1 are broken for security - attackers can create two different inputs with the same hash - but they're still fine for spotting accidental corruption and matching old checksums.
Hashes are not encryption: you can't "decode" a hash back into the original. And for storing passwords, use a slow, salted algorithm such as bcrypt or Argon2, not any of these fast hashes.
What is HMAC?
HMAC combines a hash with a secret key. Only someone who knows the key can produce the same value, which is why services use it to sign API requests and webhooks. Enter the shared secret to calculate or check such a signature.
Frequently asked questions
Why does my hash differ from another tool's?
Usually invisible differences in the input: a trailing newline, Windows vs Unix line endings, or a different text encoding. This tool hashes your text as UTF-8 exactly as typed.
Is my file uploaded?
No. The file is read and hashed on your device; SHA hashes use your browser's built-in Web Crypto engine.
Related tools
Encode data with the Base64 Encoder/Decoder, inspect tokens with the JWT Decoder, or create random IDs with the UUID Generator.
Runs entirely in your browser - nothing you enter or upload is sent to a server.
Need it to do something else? Request a tool