Hash Generator
Enter text below to generate SHA-1, SHA-256, SHA-384 and SHA-512 hashes at once, or supply a key to sign it with HMAC. Uses the Web Crypto API. All processing happens locally in your browser.
About Hash Functions
A cryptographic hash function takes an input and produces a fixed-size string of bytes. The output (hash) is unique to the input - even a tiny change produces a completely different hash.
- SHA-1 - 160-bit, deprecated for security use. Still used in Git.
- SHA-256 - 256-bit, part of SHA-2 family. Recommended for general use.
- SHA-384 - 384-bit, part of SHA-2 family. Truncated variant of SHA-512.
- SHA-512 - 512-bit, part of SHA-2 family. Strongest standard hash.
Every digest on this page comes from the browser's own Web Crypto API, including the HMAC signatures. Nothing is implemented by hand and nothing is uploaded.
Two settings change the answer more than people expect. The character set decides which bytes are hashed, so the same sentence gives a different digest in UTF-8 and in Windows-1252. The line ending setting matters for anything that came out of a file, because a digest taken over CRLF will never match one taken over LF. Paste a checksum into the compare field and the page tells you which of the four it came from, which is the quickest way to identify an unlabelled hash.
Related tools
How are you actually storing that?
Hashes, tokens and passwords are only as strong as the code around them: a cost factor left at the default, a token nobody checks the expiry on, a secret committed to the repository. We review and harden applications, and we tell you what an attacker reaches first.
Book a security review