Free Hash Generator Online
Generate MD5, SHA-1, SHA-256, SHA-512, SHA-3, RIPEMD, Whirlpool, CRC32 & 20+ hash algorithms instantly in your browser. HMAC support, SRI output, uppercase toggle — 100% free, no data sent to servers.
All hashing happens locally in your browser — your text is never sent to any server.
HMAC is available for SHA-1, SHA-224, SHA-256, SHA-384, SHA-512 and MD5.
to generate hash digests
24 Hash Algorithms. One Free Online Tool.
From the industry-standard SHA-256 to legacy MD5 checksums and experimental MD6 โ this free hash generator covers every major algorithm family with instant browser-side computation, HMAC support, and SRI hash output.
MD5, SHA-256 & SHA-512 Hash Generator
Generate the industry's most-used cryptographic digests โ MD5 for legacy checksums, SHA-256 for file integrity and digital signatures, SHA-512 for maximum-security applications. Results appear in real time as you type.
SRI Hash Generator โ Subresource Integrity
Generate integrity="sha256-BASE64==" attributes for CDN script and stylesheet tags. Enable SRI mode to instantly convert SHA-256, SHA-384, or SHA-512 hex output to the base64-encoded format required by browsers.
HMAC Hash Generator
Toggle HMAC mode to authenticate messages using a shared secret key. Supports HMAC-MD5, HMAC-SHA-1, HMAC-SHA-224, HMAC-SHA-256, HMAC-SHA-384, and HMAC-SHA-512. Ideal for API signature verification and webhook validation.
20+ Algorithm Families โ One Page
Switch between MD2/MD4/MD5/MD6, SHA-1/2/3 families, RIPEMD-128/160/256/320, CRC16/CRC32, Adler-32, NTLM, and Whirlpool โ all from a single free tool. No switching tabs, no downloads, no accounts.
Generate a Hash in 4 Simple Steps
Our free online hash generator is designed for immediate results โ no configuration needed, no account required.
Enter Your Text
Type or paste any text, password, URL, file content, or string into the input field. Hashes update automatically as you type โ or click Generate Hashes for an instant result.
Choose an Algorithm Group
Select a tab to filter results: All (24 algorithms at once), SHA-1/2 for industry-standard hashes, SHA-3 for NIST FIPS 202, RIPEMD, Checksums, or MD Family.
Set Options (Optional)
Enable HMAC to authenticate with a secret key. Toggle SRI to convert SHA-256/384/512 output to integrity="" format for CDN security. Switch Uppercase for capital hex output.
Copy Your Hash
Click the Copy button next to any algorithm row to copy that hash to your clipboard. Use Copy All to copy every visible hash at once. Each digest is also selectable by clicking the output text.
Everything You Need in a Hash Generator
Built for developers, security professionals, and power users โ with the algorithm breadth and output options that free online tools usually lack.
24 Hash Algorithms in One Tool
MD2, MD4, MD5, MD6 (128/256/512), SHA-1, SHA-224, SHA-256, SHA-384, SHA-512, SHA3-224, SHA3-256, SHA3-384, SHA3-512, RIPEMD-128, RIPEMD-160, RIPEMD-256, RIPEMD-320, CRC16, CRC32, Adler-32, NTLM, and Whirlpool โ all computed simultaneously when you select the "All" tab.
SRI Hash Generator Built In
Toggle SRI mode to instantly format SHA-256, SHA-384, or SHA-512 hashes as base64-encoded Subresource Integrity values (sha256-ABC...==). Paste directly into your <script> or <link> integrity attribute without any manual conversion.
HMAC Authentication Mode
Enable HMAC to compute keyed-hash message authentication codes. Enter your secret key and the tool computes HMAC-MD5, HMAC-SHA-1, HMAC-SHA-256, HMAC-SHA-384, and HMAC-SHA-512 alongside standard digests โ essential for API signature verification.
100% Browser-Based โ Zero Server Uploads
Every hash is computed locally using the Web Crypto API and open-source JavaScript algorithms. Your text, passwords, and keys are never transmitted to any server, stored, or logged. Close the tab and the data is gone.
Real-Time Hashing as You Type
Hash results update automatically with a short debounce as you type โ no button click required. Switch algorithm groups instantly without re-entering your text. The sticky output bar keeps the SHA-256 digest visible as you scroll the page.
Security Status Indicators
Every algorithm row displays a color-coded security badge โ Secure (SHA-256, SHA-3), Deprecated (MD5, SHA-1), Legacy (MD2, MD4, NTLM), Checksum (CRC32, Adler-32) โ so you always know which algorithms are safe for production use.
Hash Algorithm Comparison โ All 24 Supported
Use this reference table to choose the right hash algorithm for your use case. Security status reflects 2026 NIST guidance and industry consensus.
| Algorithm | Output Bits | Family | Security Status | Common Use Case |
|---|---|---|---|---|
| MD2 | 128 bits / 32 hex | MD | Legacy | Historical only โ withdrawn, collisions found |
| MD4 | 128 bits / 32 hex | MD | Broken | NTLM base; do not use for new work |
| MD5 | 128 bits / 32 hex | MD | Deprecated | File checksums, legacy databases โ not for passwords or security |
| MD6-128 | 128 bits / 32 hex | MD6 | Experimental | Research / SHA-3 competition candidate |
| MD6-256 | 256 bits / 64 hex | MD6 | Experimental | Research / SHA-3 competition candidate |
| MD6-512 | 512 bits / 128 hex | MD6 | Experimental | Research / SHA-3 competition candidate |
| SHA-1 | 160 bits / 40 hex | SHA-2 | Deprecated | Git commit IDs, legacy TLS; avoid for new designs |
| SHA-224 | 224 bits / 56 hex | SHA-2 | Secure | Constrained environments needing shorter output |
| SHA-256 | 256 bits / 64 hex | SHA-2 | Secure | File integrity, digital signatures, TLS, SRI, blockchain, API auth |
| SHA-384 | 384 bits / 96 hex | SHA-2 | Secure | Certificates, SRI, high-security document signing |
| SHA-512 | 512 bits / 128 hex | SHA-2 | Secure | Maximum-security hashing, HMAC keys, archive verification |
| SHA3-224 | 224 bits / 56 hex | SHA-3 | Secure | FIPS 202 compact variant, IoT and embedded systems |
| SHA3-256 | 256 bits / 64 hex | SHA-3 | Secure | Drop-in SHA-256 alternative, post-quantum resistant structure |
| SHA3-384 | 384 bits / 96 hex | SHA-3 | Secure | High-security FIPS 202 applications |
| SHA3-512 | 512 bits / 128 hex | SHA-3 | Secure | Maximum SHA-3 security, Keccak-based digests |
| RIPEMD-128 | 128 bits / 32 hex | RIPEMD | Legacy | Avoid โ use RIPEMD-160 or higher if RIPEMD is required |
| RIPEMD-160 | 160 bits / 40 hex | RIPEMD | OK | Bitcoin/crypto address generation, PGP fingerprints |
| RIPEMD-256 | 256 bits / 64 hex | RIPEMD | OK | Collision-resistant RIPEMD extension, non-password use |
| RIPEMD-320 | 320 bits / 80 hex | RIPEMD | OK | Collision-resistant RIPEMD extension, non-password use |
| CRC16 | 16 bits / 4 hex | Checksum | Checksum | Serial data error detection, Modbus, USB โ not cryptographic |
| CRC32 | 32 bits / 8 hex | Checksum | Checksum | ZIP/gzip integrity, Ethernet frames โ not cryptographic |
| Adler-32 | 32 bits / 8 hex | Checksum | Checksum | zlib / PNG stream checksums โ faster than CRC32, weaker |
| NTLM | 128 bits / 32 hex | Windows | Legacy | Windows NT authentication (MD4 of UTF-16LE); deprecated by Microsoft |
| Whirlpool | 512 bits / 128 hex | ISO | OK | ISO/IEC 10118-3 standard, academic and archival use |
What Is a Hash Generator? How Cryptographic Hashing Works
A hash generator is a tool that applies a mathematical algorithm โ called a hash function โ to any input text and produces a fixed-length output called a hash digest or checksum. Feed the same input into the same hash algorithm and you always get the same output. Change even a single character of the input and the output changes completely. This avalanche effect is what makes hashing so useful in software development, security, and data integrity verification.
Hash functions are one-way: you cannot reconstruct the original input from the hash digest alone. This is different from encryption, which is designed to be reversed with the correct key. Hashing is used wherever you need to verify data without storing or transmitting the original โ passwords, file integrity checks, digital signatures, and API authentication are the four most common applications.
MD5 Hash Generator โ Fast Checksum, Broken for Security
MD5 remains the most searched hash algorithm online because of its decades of legacy use. The MD5 hash generator produces a 128-bit (32 hex character) digest from any input. While extremely fast, MD5 is cryptographically broken โ collision attacks have been demonstrated since 2004, meaning two different inputs can produce the same MD5 hash. Never use MD5 for password storage, digital signatures, or certificate fingerprints.
Where MD5 is still acceptable in 2026: verifying downloaded file integrity against a published MD5 checksum (where the attacker cannot substitute both the file and checksum), deduplicating large datasets, legacy database systems where migration is impractical, and generating non-security identifiers such as cache keys or ETags.
The MD hash generator family on this page also includes MD2 (1989, fully deprecated), MD4 (1990, broken by 1995, basis for NTLM), MD6-128/256/512 (2008 SHA-3 competition candidate by Ron Rivest โ experimental, not standardized for production).
SHA-256 Hash Generator โ The Gold Standard
SHA-256 is the most widely deployed cryptographic hash function in active use. It belongs to the SHA-2 family standardized by NIST and produces a 256-bit (64 hex character) digest. SHA-256 is used in Bitcoin mining proof-of-work, TLS/HTTPS certificate chains, code signing, file integrity verification, JWT signatures, and HMAC-SHA-256 API authentication.
This free online SHA-256 hash generator computes SHA-256 digests using the browser's native Web Crypto API (crypto.subtle.digest), which is hardware-accelerated on modern CPUs. You get the same output as OpenSSL, Python's hashlib.sha256, or the sha256sum command-line tool.
SHA-1 Hash Generator
SHA-1 produces a 160-bit (40 hex character) digest. It was the most-used hash function from the mid-1990s until the mid-2010s, powering TLS certificates, SSH fingerprints, and Git commit IDs. NIST deprecated SHA-1 for digital signatures in 2011, and practical collision attacks were demonstrated by Google's SHAttered project in 2017. Git has since moved toward SHA-256 for new repositories. Use SHA-256 or SHA-3 for new designs.
SHA-512 Hash Generator
SHA-512 produces a 512-bit (128 hex character) digest. On 64-bit hardware it is often faster than SHA-256 because modern CPUs can process 64-bit operations more efficiently. SHA-512 is the preferred choice when maximum collision resistance is needed, for long-term archival integrity, or when designing HMAC keys for high-security APIs. SHA-384 and SHA-512/256 are truncated variants also supported in this tool.
SHA-3 Hash Generator โ Keccak & FIPS 202
SHA-3 (also known as Keccak) is a completely different algorithm family from SHA-1 and SHA-2, standardized by NIST in FIPS 202 (2015). It uses a sponge construction rather than the MerkleโDamgรฅrd structure used by MD5, SHA-1, and SHA-2, giving SHA-3 a stronger theoretical security model against length-extension attacks.
The four SHA-3 variants โ SHA3-224, SHA3-256, SHA3-384, and SHA3-512 โ produce 224, 256, 384, and 512-bit digests respectively. SHA3-256 is the direct drop-in replacement for SHA-256 in systems that want the Keccak design, though SHA-256 itself remains secure and is more widely supported. Select the SHA-3 tab on this free sha hash generator to compute all four variants simultaneously.
RIPEMD Hash Generator โ RIPEMD-160, RIPEMD-256 & RIPEMD-320
The RIPEMD family was designed in Europe in the 1990s and remains notable for its use in Bitcoin: a Bitcoin address is derived by applying SHA-256 then RIPEMD-160 to an elliptic curve public key. Our tool supports all four RIPEMD variants:
| Algorithm | Output | Status | Notes |
|---|---|---|---|
| RIPEMD-128 | 128-bit / 32 hex | Legacy โ avoid | Short output; use RIPEMD-160 minimum |
| RIPEMD-160 | 160-bit / 40 hex | OK for non-password use | Bitcoin, PGP fingerprints |
| RIPEMD-256 | 256-bit / 64 hex | OK โ collision resistant | Extended RIPEMD-128 parallel pipeline |
| RIPEMD-320 | 320-bit / 80 hex | OK โ collision resistant | Extended RIPEMD-160 parallel pipeline |
SRI Hash Generator โ Subresource Integrity for CDN Security
Subresource Integrity (SRI) is a browser security feature that prevents CDN-served scripts and stylesheets from being tampered with. You provide a hash of the expected file content in the integrity attribute of your <script> or <link> tag. If the loaded file's hash does not match, the browser blocks execution.
To generate an SRI hash: enable SRI mode in this tool, paste your file content into the input, select SHA-256 (for shorter output), SHA-384 (most common default), or SHA-512 (maximum security), and the tool outputs the ready-to-paste sha384-BASE64== value. All three SRI-compatible algorithms are computed simultaneously.
SRI is supported in all modern browsers and is strongly recommended for any third-party JavaScript or CSS loaded from a CDN. Without SRI, a compromised CDN could serve malicious code that executes silently in your users' browsers.
NTLM Hash Generator โ Windows NT Authentication
The NTLM hash (also called the NT hash) is Microsoft Windows' legacy password representation format. It is computed as the MD4 hash of the UTF-16LE encoding of the plaintext password โ making it fast to compute and therefore vulnerable to brute-force attacks with GPU cracking tools. Microsoft has deprecated NTLM authentication in favor of Kerberos and modern protocols as of 2024.
The NT hash generator on this page computes the NTLM hash for any input string using the correct UTF-16LE encoding. This is useful for penetration testing exercises, Active Directory audit tools, and understanding legacy authentication systems. Use this tool only on systems you own or have explicit authorization to test.
CRC32 & CRC16 Hash Generator โ Checksums Explained
CRC (Cyclic Redundancy Check) algorithms are not cryptographic hash functions โ they are error-detection codes designed to catch accidental corruption, not deliberate tampering. CRC32 produces a 32-bit (8 hex character) checksum and is used in ZIP archives, gzip, PNG files, Ethernet frames, and ZFS storage. CRC16 produces a 16-bit checksum used in Modbus, USB communications, and serial protocols.
Adler-32 is a simpler 32-bit checksum used by the zlib compression library (and therefore PNG and HTTP gzip responses). It is faster than CRC32 but provides slightly weaker error detection. None of CRC16, CRC32, or Adler-32 should be used for security purposes โ an attacker can trivially produce a different file with the same CRC checksum.
Whirlpool Hash Generator โ ISO/IEC Standard
Whirlpool is a 512-bit cryptographic hash function designed by Paulo Barreto and Vincent Rijmen, standardized in ISO/IEC 10118-3:2018. It uses a MiyaguchiโPreneel construction with an AES-like internal cipher and produces 128 hex characters of output. Whirlpool is less commonly used than SHA-2 or SHA-3 but appears in security-sensitive European systems and academic research. This free Whirlpool generator computes digests entirely in your browser.
Using Hash Functions in PHP โ hash_hmac & hash() Function
PHP's built-in hash() function supports over 50 algorithms. The most common patterns:
Use hash_equals() when comparing hashes to prevent timing attacks. The PHP password hash generator for user passwords should use password_hash($password, PASSWORD_ARGON2ID) rather than any of the above โ Argon2id is the OWASP-recommended algorithm for password storage in 2026.
WordPress Password Hash Generator โ wp_hash_password()
WordPress uses the phpass library with bcrypt (in WordPress 6.4+, upgraded from MD5-based phpass) to hash user passwords. The WordPress hash generator for passwords uses wp_hash_password($password) which automatically salts and applies multiple rounds. You should never store WordPress passwords as plain MD5 โ the correct tool for generating WordPress-compatible password hashes is the WordPress admin panel itself or WP-CLI.
If you are verifying a WordPress password hash for debugging purposes, use wp_check_password($password, $hash). The MD5 and SHA-256 hash generators on this page are useful for verifying data integrity in WordPress plugins (e.g., webhook signatures using hash_hmac('sha256', $payload, $secret)) but not for user password management.
Which Hash Algorithm Should You Use in 2026?
The right choice depends entirely on your use case:
- File integrity verification: SHA-256 is the standard. It is fast, universally supported, and secure. Use SHA-512 for archival-grade security.
- Subresource Integrity (CDN): SHA-384 is the recommended default. SHA-256 is also acceptable. SHA-512 provides the highest assurance.
- API authentication / HMAC: HMAC-SHA-256 is the industry default (used by AWS Signature Version 4, GitHub webhooks, Stripe, Twilio, and most modern APIs). HMAC-SHA-512 for higher security requirements.
- Password storage: Do NOT use any hash on this page directly. Use Argon2id (first choice), bcrypt (widely supported), or scrypt. Use a dedicated password hashing library โ never raw MD5, SHA-1, or even SHA-256.
- Blockchain / cryptocurrency: SHA-256 (Bitcoin proof of work, many altcoins). RIPEMD-160 for address generation (Bitcoin). SHA3-256 for Ethereum (Keccak variant).
- Legacy compatibility: MD5 or SHA-1 only when required by a system you cannot modify. Document the risk.
- Post-quantum considerations: SHA-256 and SHA-3 are considered quantum-resistant for pre-image resistance. Hash functions require doubling the output size (SHA-512 โ equivalent to SHA-256 classically) for collision resistance against quantum adversaries.
crypto.getRandomValues() in the browser or crypto.randomBytes() in Node.js, then hash it with SHA-256. Never use Math.random() for security-sensitive randomness.
Frequently Asked Questions
Everything you need to know about hash generators, hash algorithms, and how to use this free online tool.
wp_hash_password() in WordPress or WP-CLI for correct WordPress password hashes. For PHP applications, use password_hash($password, PASSWORD_ARGON2ID) โ never raw MD5 or SHA-256 for password storage. This tool is ideal for generating non-password hashes in PHP: hash('sha256', $data) for file integrity or hash_hmac('sha256', $message, $key) for API webhooks.
sha384-BASE64== format. 4) Copy the value and add it to your HTML tag: <script src="..." integrity="sha384-VALUE" crossorigin="anonymous">. SHA-384 is the most commonly used variant for SRI. Browsers will block the script if the hash does not match the loaded content.
Get-FileHash file.zip -Algorithm SHA256 in PowerShell. On macOS/Linux, use sha256sum file.zip or md5sum file.zip. Note that hashing a file's text content pasted into this tool will not produce the same result as hashing the binary file โ encoding differences (line endings, BOM) will affect the output. For exact file checksums, always use a binary-aware tool.
More Free Tools You'll Love
From QR code generators to password tools and color pickers โ WebToolTrix has free browser-based tools with zero signup and zero data uploads.