Hash Generator
Generate MD5, SHA-1, SHA-256, and SHA-512 hashes instantly. Uses the Web Crypto API — nothing leaves your browser.
Input
Hashes
Frequently Asked Questions
What is a hash?
A hash is a fixed-size string generated from input data using a one-way mathematical function. The same input always produces the same hash; different inputs produce vastly different hashes.
Is hashing the same as encryption?
No. Hashing is one-way — you cannot reverse a hash back to the original data. Encryption is two-way — you can decrypt. Use hashing for integrity checks and password storage; encryption for confidentiality.
Which algorithm should I use?
SHA-256 is the default choice for most purposes. SHA-512 for higher security. MD5 and SHA-1 are legacy — use only for compatibility, not security.
How are hashes generated?
Using your browser's built-in Web Crypto API (SubtleCrypto). No data is sent to any server. MD5 uses a JavaScript implementation since it's not in Web Crypto.