Security Tools
Hash Generator: MD5 and SHA Checksums for Text
Get MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of any text in one table, as lowercase hex, uppercase hex or Base64, worked out in your browser.
How to use Hash Generator: MD5 and SHA Checksums for Text
Type or paste text, then keep All algorithms or pick a single hash and an output format. Hashes are computed from the UTF-8 bytes of your text and update as you type.
- Enter the textPaste the exact text to hash; spaces, capitals and line breaks all change the result.
- Pick algorithm and formatShow all five algorithms or just one, as lowercase hex, uppercase hex or Base64.
- Compare or copyCopy the digest, or compare it with a published checksum character by character.
Example: the hashes of hello
Hashing the word hello gives MD5 5d41402abc4b2a76b9719d911017c592 (128 bits), SHA-1 aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d (160 bits) and SHA-256 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824 (256 bits). Capitalise one letter, as in Hello, and the SHA-256 becomes 185f8db32271fe25f561a6fc938b2e264306ec304eda518007d1764826381969, completely different. Hex uses two characters per byte, so SHA-256 is 64 characters long; Base64 shortens the same digest to 44.
Why MD5 and SHA-1 are not for passwords
MD5 and SHA-1 are still fine for spotting accidental changes, such as checking that a copied string or download is intact, but practical collision attacks exist for both, so they should not be used for digital signatures or certificates. None of these fast hashes is suitable for storing passwords on its own, because attackers can test billions of guesses a second. Use a slow, salted password hashing function such as bcrypt, scrypt or Argon2 instead. For integrity checks today, SHA-256 is the usual choice.
Accuracy and data handling
A format or strength result covers only the checks shown here and does not replace a full security review or secure key management. The calculation runs in your current browser; the tool code does not send the input to a processing API.
FAQ
Can an MD5 hash be decrypted?
No. Hashing is one-way, so there is nothing to decrypt. Short or common inputs can still be found by looking them up in precomputed tables, which is why plain hashes are unsafe for passwords.
Why is my hash different from another tool's?
Usually the input differs: a trailing newline, an extra space, different capitalisation or another text encoding. This tool hashes exactly the characters in the box, encoded as UTF-8.
Can I hash a file?
No, it hashes text only. To check a downloaded file, use sha256sum on Linux, shasum -a 256 on macOS or Get-FileHash in Windows PowerShell.
Is my text uploaded?
No. SHA hashes are computed with the browser's Web Crypto API and MD5 with built-in JavaScript, so the text never leaves the page.
More Security Tools
Related toolsMake cryptographically random PINs that skip 0000, 1234, years and dates.
Create easy-to-type passphrases from random words, with the entropy shown for each setting.
Create random one-time code samples and see how easy each length is to guess.
Get CRC-32, CRC-16, CRC-8, Adler-32 and other checksums from text, hex or Base64.
See a password's estimated entropy, crack times and the patterns that weaken it.
Build a Content-Security-Policy with checked sources and export it for your server.