Hash Generator
Compute SHA-256, SHA-512, SHA-384, SHA-224, SHA-1, MD5, HMAC and CRC-32 — instantly, in your browser.
Frequently Asked Questions
Is this hash generator free?
Yes, completely free. No signup or account required.
Is my data safe?
All hashing is computed entirely in your browser using the Web Crypto API and pure JavaScript. No data is uploaded anywhere.
Which hash algorithms are supported?
SHA-1, SHA-256, SHA-512, MD5, HMAC (with SHA-256), and CRC32.
What is a hash function?
A hash function takes any input and produces a fixed-length output called a digest or checksum. The same input always produces the same output, but even a tiny change in input produces a completely different hash.
What is the difference between SHA-256 and MD5?
SHA-256 produces a 256-bit hash and is cryptographically secure. MD5 produces a 128-bit hash and has known collision vulnerabilities, making it unsuitable for security purposes but still useful for checksums.
What is HMAC?
HMAC (Hash-based Message Authentication Code) combines a hash function with a secret key to verify both data integrity and authenticity. It confirms that a message was created by someone who knows the key.
How do I verify a file checksum?
Hash the file content with the same algorithm used to generate the checksum (e.g. SHA-256), then compare the two hex strings. If they match, the file is intact.
Is it possible to reverse a hash?
No. Hash functions are one-way — you cannot derive the original input from the digest. This is a fundamental property called preimage resistance.
What is a hash collision?
A collision occurs when two different inputs produce the same hash output. MD5 and SHA-1 have demonstrated collision attacks, which is why SHA-256 or SHA-512 are preferred for security-critical use.
What is CRC32 used for?
CRC32 is a fast checksum used to detect accidental data corruption in file transfers, network packets, and storage. It is not cryptographic — it should not be used for security purposes.
What is SHA-512?
SHA-512 is the 512-bit variant of the SHA-2 family. It produces a 128-character hex digest. It offers a larger security margin than SHA-256 and can be faster on 64-bit processors.