Hash generator
Compute MD5, SHA-1, SHA-256, SHA-384 and SHA-512 digests of any text at once.
How to use
Type or paste any text and the tool computes its cryptographic hash — choose from MD5, SHA-1, SHA-256 and SHA-512. A hash is a fixed-length fingerprint of your input: the same text always produces the same hash, and even a tiny change produces a completely different one.
Hashes are used for verifying file integrity, storing password fingerprints, generating cache keys and creating checksums. Click any result to copy it. The modern SHA family is computed with the browser's built-in Web Crypto API for speed and correctness.
All hashing runs locally in your browser, so the text you hash is never transmitted — useful when you're fingerprinting sensitive strings.
Examples
Hash a file's contents and compare the SHA-256 against the published checksum.
Hash a long input to a short, stable identifier for caching or deduplication.
Confirm two values match by comparing their hashes rather than the raw text.
Frequently asked questions
Which hash should I use?
Use SHA-256 or SHA-512 for anything security-related. MD5 and SHA-1 are fine for non-security checksums but are considered broken for cryptographic use.
Can a hash be reversed?
No. Hashing is one-way — you can't recover the original text from the hash. That's the point of it.
Is my text sent anywhere?
No. Hashes are computed in your browser, so the input never leaves your device.
Why do MD5 and SHA-256 give different lengths?
Each algorithm has a fixed output size — MD5 is 128-bit, SHA-256 is 256-bit — so their hex strings are different lengths regardless of input.
Related tools
Compute a keyed HMAC signature (SHA-1/256/384/512) for a message using a secret key.
Encode text to Base64 or decode Base64 back to text, with URL-safe support.
Generate random v4 or time-ordered v7 UUIDs in bulk.
Generate strong random passwords with character-class rules and a strength meter.
Decode a JSON Web Token's header and payload and inspect its time claims. No verification.