Skip to content
snip tools

Hash generator (MD5, SHA-1, SHA-256)

Compute MD5, SHA-1, SHA-256, SHA-384 and SHA-512 digests from text — live, in your browser.

Runs 100% in your browser

How to generate a hash

  1. Type or paste text. Enter the text you want to hash.
  2. Read the digests. MD5, SHA-1, SHA-256, SHA-384 and SHA-512 update live.
  3. Copy a hash. Click Copy next to the algorithm you need.

About hashing

A cryptographic hash turns any input into a fixed-size fingerprint that is fast to compute but practically impossible to reverse. The same input always yields the same digest, so hashes are ideal for verifying that a download or message arrived unchanged. For security-sensitive work choose SHA-256 or stronger — MD5 and SHA-1 are shown here for checksums and legacy interop only. To encode rather than hash data, see the Base64 tool.

Frequently asked questions

Which hash algorithms are supported?
MD5, SHA-1, SHA-256, SHA-384 and SHA-512. SHA functions use the browser's Web Crypto API; MD5 uses a small built-in implementation since Web Crypto does not provide it.
Is my text uploaded to compute the hash?
No. All hashing runs locally in your browser. Your input is never sent to a server, which is enforced by a strict content-security policy.
Should I use MD5 or SHA-1 for security?
No. MD5 and SHA-1 are cryptographically broken and must not be used for passwords, signatures or integrity against an attacker. They remain useful for checksums and legacy interoperability. Use SHA-256 or stronger for security.
What is a hash used for?
A hash maps any input to a fixed-length fingerprint. It is used to verify file integrity (checksums), index data, and — with proper salting and a slow algorithm — store password verifiers.