Hash Generator - MD5, SHA-256, SHA-512
Generate MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes for any text. Uses the Web Crypto API locally. No data leaves your browser.
Runs in your browser. No data leaves your device.
Frequently Asked Questions
How does the Hash Generator work?
Your text is encoded to bytes via TextEncoder, then passed to the Web Crypto API's crypto.subtle.digest() with your chosen algorithm (SHA-1, SHA-256, SHA-384, or SHA-512). The resulting ArrayBuffer is converted to a Uint8Array and each byte is mapped to a two-character hexadecimal string to produce the final hash. All processing runs in your browser.
What is a hash and what is it used for?
A hash is a fixed-length fingerprint of data. It is used to verify file integrity (checking downloads), store passwords securely, and detect data tampering. The same input always produces the same hash, but you cannot reverse a hash back to the original data.
Which hash algorithm should I use?
SHA-256 is the most widely recommended for general use. MD5 and SHA-1 are considered broken for security purposes but are still used for non-security checksums. SHA-512 provides extra security margin for sensitive applications.
Is my input sent to a server for hashing?
No. Hashing is performed entirely in your browser using the Web Crypto API, which is built into all modern browsers. Your text never leaves your device.