Security
Hash generator
MD5, SHA-1, SHA-256, SHA-384 and SHA-512 of text or a file, computed locally.
Private Everything on these pages runs in your browser. What you type is never sent to a server and nothing is stored.
MD5 and SHA-1 are broken for security. Use them for checksums only; use SHA-256 or better. Text typed in the box uses LF line breaks; choose a file to hash exact bytes.
How to use it
- Type text, or choose a file.
- The hashes for every algorithm appear at once.
- Copy the one you need, or paste a known hash to compare.
Example
Input
helloResult
MD5 5d41402abc4b2a76b9719d911017c592
SHA-256 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824Frequently asked questions
Can I use MD5 or SHA-1 for security?
Not for anything that must resist an attacker, such as signatures or password storage; collisions are practical. They are fine for checksums and cache keys. Prefer SHA-256 or better.
Is a hash a safe way to store passwords?
A plain hash is not. Use a slow, salted password hashing function such as Argon2, scrypt or bcrypt.