About Hash Generator
A cryptographic hash function maps input of any size to a fixed-size digest. The same input always gives the same output, and the process cannot be run backwards. This tool hashes the UTF-8 bytes of your text with MD5 (128 bits), SHA-1 (160 bits), and SHA-2 at 224, 256, 384, and 512 bits, using the CryptoJS library. MD5 and SHA-1 are broken for collision resistance and should not be used for signatures or passwords.
Also known as: MD5 Hash Generator, MD5 Encrypt/Decrypt, SHA-256 Hash Generator, SHA256 Encrypt/Decrypt, SHA1 Encrypt/Decrypt, SHA224 Encrypt/Decrypt, SHA384 Encrypt/Decrypt, SHA512 Encrypt/Decrypt.
How to use Hash Generator
- Type or paste into the "Input text" box, or press "Use example" to try it with sample data.
- Set "Uppercase" if the defaults do not fit.
- The result appears below and updates as you type.
- Copy the result with the copy button, or download it as a file where that is offered.
Questions about Hash Generator
Can an MD5 or SHA hash be decrypted?
No. Hashing is not encryption and has no key or inverse. Sites that claim to decrypt hashes look the value up in tables of previously hashed common inputs, which only works for short or guessable text.
Which hash should I use for storing passwords?
None of these directly. Fast hashes like MD5 and SHA-256 can be brute-forced at billions of guesses per second. Use a dedicated password hashing function such as Argon2, bcrypt, or scrypt with a per-user salt.
Why do I get a different hash than another tool for the same text?
Usually because of invisible differences in the input: a trailing line break, different line endings, or another text encoding. This tool hashes exactly the characters in the box, encoded as UTF-8.
Runs in your browser. Page last updated .