Hash Generator
Compute cryptographic hash digests of text as hex or Base64. SHA-1/256/384/512 use the browser's SubtleCrypto API; MD5 is computed in-page by a bundled RFC 1321 implementation. Nothing is uploaded.
About this tool
Compute a cryptographic hash (digest) of whatever text you type, shown as hexadecimal or Base64. SHA-1, SHA-256, SHA-384 and SHA-512 come from the browser's built-in SubtleCrypto; MD5 is not offered by SubtleCrypto, so this tool includes a small RFC 1321 implementation that runs in the page. Hashing is deterministic — the same input and algorithm always give the same digest — and the text never leaves your browser.
When to use it
Questions
Can I get the original text back from the hash?
No. A hash is one-way by design — there is no decode step. The only way to find an input that produces a given digest is to try candidates until one matches, which is why hashing is not encryption and not reversible.
Which algorithm should I use?
For anything security-related use SHA-256 or stronger. MD5 and SHA-1 are cryptographically broken — attackers can craft two different inputs with the same digest — so never use them for signatures, integrity against a motivated adversary, or password storage. They are still fine as fast non-adversarial checksums or lookup keys.
Is this how passwords should be hashed?
No. Plain SHA-256 is far too fast for passwords. Use a purpose-built password hash such as bcrypt, scrypt or Argon2, which are deliberately slow and salted. This tool is for checksums and digests, not credential storage.
Why is MD5 available if it is broken?
MD5 is still everywhere as a non-security checksum — legacy file manifests, ETags, cache keys, test vectors — so being able to reproduce an MD5 digest is genuinely useful. The tool computes it in-page; just don't rely on it where collision resistance matters.