RunTheTests

Hash Generator

Generate SHA-1, SHA-256, SHA-384 or SHA-512 hashes of text, in your browser.

No network requests are made from this page

How this works

The tool feeds your text to the browser’s built-in SHA implementations and shows the resulting digest in hexadecimal. The same input always produces the same hash, and the smallest change to the input changes the hash completely — which is what makes hashes useful for integrity checks.

What the results mean

SHA-256
The modern default. A 256-bit fingerprint used everywhere from certificates to file verification. Choose this unless you have a specific reason not to.
SHA-1
A 160-bit hash that is broken for signatures — collisions have been produced — but still used as a non-security checksum, as in Git.
SHA-384 / SHA-512
Longer digests from the SHA-2 family, used where a wider hash is required.

Frequently asked questions

Where is MD5?

Deliberately absent. The Web Crypto API does not implement MD5, and it has been broken for security purposes for years. Offering it would encourage people to use it where they should not. For a non-security checksum, SHA-1 is a better minimum; for anything that matters, use SHA-256.

Can I reverse a hash to get the original text?

No. A hash is one-way by design. What attackers do instead is guess inputs and compare hashes, which is why passwords are hashed with a salt and a deliberately slow algorithm rather than a bare SHA-256.

Is my text sent anywhere?

No. Hashing happens in your browser via the Web Crypto API, and the page ships a Content-Security-Policy that blocks outbound connections. You can confirm in your network panel that nothing leaves.

More in Security