Home›Developer Tools› Hash generatorBrowser
Generate a SHA hash of any text
Computes a cryptographic digest using the Web Crypto API. MD5 is deliberately absent — the browser does not implement it, and it has been unsafe for anything security-related for two decades.
MD5 is not offered — the Web Crypto API does not implement it, and it is unsafe for anything security-related anyway.
SHA-256 digest
Common presets
Each one has its own page explaining where that requirement comes from and what to expect.
How to use it
- 1Paste the text you want to hash into the input box.
- 2Pick the algorithm: SHA-1, SHA-256, SHA-384 or SHA-512.
- 3The digest renders live as lowercase hex — copy it with the Copy button.
Frequently asked questions
- Why is MD5 not offered?
- Two reasons, and either one is enough. The browser's Web Crypto API does not implement it, and it has been broken for twenty years — collisions can be produced on a laptop. If you are checking an old checksum you will need a different tool; if you are choosing an algorithm today, do not choose this one.
- Which algorithm should I use?
- SHA-256 unless something specifies otherwise. SHA-384 and SHA-512 are stronger and no slower on 64-bit hardware. SHA-1 is here only for reading legacy systems — it has been considered unsafe for signatures since 2017.
- Can a hash be reversed?
- Not by inverting it. But a hash is deterministic, so short or common inputs fall to a lookup table instantly. That is why passwords need a slow, salted algorithm like bcrypt or Argon2 rather than a bare SHA digest.
- Why does my hash differ from the one the server produced?
- Almost always the exact bytes. A trailing newline, CRLF instead of LF line endings, or a different text encoding all produce a completely different digest. This page hashes the UTF-8 bytes of exactly what is in the box, nothing added.