How to generate a hash
- Type or paste your text into the box.
- The MD5, SHA-1, SHA-256, SHA-384 and SHA-512 values appear immediately.
- Press Copy next to the hash you need. Tick Uppercase if your system expects capital letters.
What is a hash?
A hash function turns any input into a fixed-length string of hexadecimal characters – a fingerprint of the data. The same input always gives the same hash, while changing a single character produces a completely different result.
Hashing only works one way: you cannot compute the original text from the hash. That makes hashes useful for checking that a file or message has not been altered, and for comparing data without revealing it.
Which algorithm should I use?
- SHA-256 is the standard choice today for checksums, signatures and APIs.
- SHA-384 and SHA-512 give longer hashes from the same SHA-2 family.
- MD5 and SHA-1 are broken for security – collisions can be created on purpose. Use them only for legacy systems or simple checksums.
- Passwords should not be stored with any of these fast hashes; use bcrypt, scrypt or Argon2 instead.
Frequently asked questions
Is my text sent to a server?
No. All hashes are calculated in your browser.
Why does my hash differ from another tool?
Usually because of an invisible difference: a trailing space, a line break at the end, or a different text encoding. This tool hashes the text as UTF-8.
Can a hash be decrypted?
No. A hash is not encryption and cannot be reversed. Short or common inputs can still be guessed by trying many candidates.
Can I hash a file?
This tool hashes text only. To check a downloaded file, use the checksum command of your operating system.