SHA-256 & hash generator
Generate a cryptographic hash of any text or file. Choose MD5, SHA-1, SHA-256, SHA-384, or SHA-512 — computed locally with WebCrypto, nothing uploaded.
What a hash is
A cryptographic hash maps any input to a fixed-length fingerprint. The same input always yields the same digest, and even a tiny change produces a completely different one.
Why generate hashes
Hashes verify that a download was not corrupted or tampered with, deduplicate files, and act as content fingerprints in caches and integrity checks.
Which algorithm to pick
SHA-256 is the sensible default. SHA-384 and SHA-512 offer longer digests, while MD5 and SHA-1 remain useful for checksums despite being unsuitable for security.
Computed locally
SHA algorithms use the browser's built-in WebCrypto, and MD5 runs as local JavaScript. Your text and files never leave the device.
How to sha-256 generator
- Choose Text or File input.
- Pick the hash algorithm you need.
- Enter text and click Generate, or drop a file to hash it.
- Copy the resulting hex digest.