Hash Generator
How to Generate a Hash (MD5, SHA-256)
A hash turns any text into a fixed-length fingerprint. The same input always gives the same hash, but you can't reverse it back to the text. Enter text below to generate its hash.
Generate a hash
Steps to generate a hash
- Type or paste your text into the box above.
- Pick the algorithm — SHA-256 is the usual modern choice.
- Copy the resulting hash for checksums, fingerprints or comparisons.
What hashes are used for
Hashes verify that data hasn't changed (file checksums), index content, and fingerprint values. SHA-256 is the current standard; SHA-1 and MD5 still appear in older systems but are considered weak for security.
The hash is computed with the browser's built-in Web Crypto, so your text never leaves your device.
Frequently asked questions
Which hash algorithm should I use?
Use SHA-256 unless a system specifically requires another. Avoid MD5 and SHA-1 for anything security-related, as both are considered broken for collision resistance.
Can a hash be reversed back to the original text?
No. Hashing is one-way. Identical input always produces identical output, but you cannot derive the input from the hash.