How to generate a SHA hash
- Type or paste your text into the box above.
- The SHA-1, SHA-256 and SHA-512 hex digests appear automatically as you type.
- Click Copy next to the hash you need.
What is a SHA hash?
A hash function turns any input into a fixed-length fingerprint called a digest. The same input always produces the same digest, but even a one-character change produces a completely different result. That makes hashes ideal for verifying downloads, comparing files, deduplicating data and storing password fingerprints.
Hashing is one-way: you cannot compute the original text from its digest. This tool shows the digest as lowercase hexadecimal — 40 characters for SHA-1, 64 for SHA-256 and 128 for SHA-512.
Which SHA should I use?
SHA-256 is the modern default — fast, widely supported and used everywhere from TLS certificates to Git and Bitcoin. SHA-512 offers a longer digest and is a good choice on 64-bit systems. SHA-1 is considered broken for security purposes and should only be used for legacy compatibility or non-security checksums. MD5 is not offered because browsers' Web Crypto API deliberately does not implement it.
Is it private and safe?
Yes. Toolyard computes hashes with the Web Crypto API built into your browser, on your own device. Your text is never uploaded anywhere, so it stays completely private.
Frequently asked questions
Is my text uploaded to a server?
No. Hashes are computed with the Web Crypto API built into your browser. Your text never leaves your device and stays completely private.
Why is MD5 not supported?
Browsers' Web Crypto API does not implement MD5 because it is cryptographically broken. Use SHA-256 instead — it is the modern standard.
Can I reverse a hash back to the original text?
No. Hashing is a one-way function. There is no way to compute the original input from a digest; you can only compare hashes.
Is it free?
Completely free, no sign-up.