SHA-256 Hash Generator
Calculate a SHA-256 hash from text locally in your browser.
Generate hashes online with SHA-256, SHA-512, SHA-3, SHA-1, and MD5; create keyed HMAC values; and derive or verify password hashes with Argon2, bcrypt, and PBKDF2. All calculations run locally in your browser.
Pick an algorithm and compute the cryptographic hash of any text directly in your browser. Supports SHA-1, SHA-256, SHA-384, SHA-512.
Calculate a SHA-256 hash from text locally in your browser.
Generate an HMAC from text with a secret key in your browser.
Calculate a SHA-1 hash from text locally in your browser.
Calculate a SHA-512 hash from text locally in your browser.
Calculate an MD5 hash from text locally in your browser.
Calculate a SHA3-256 hash from text locally in your browser.
Calculate a SHA3-512 hash from text locally in your browser.
Calculate a BLAKE2b hash from text locally in your browser.
Derive and verify PBKDF2-HMAC keys in your browser.
Generate or verify bcrypt password hashes in your browser.
Generate or verify Argon2 password hashes in your browser.
Calculate a CRC32 checksum from text locally in your browser.
Hashing transforms text into a fixed-length value called a hash, digest, fingerprint, or checksum. The same input and algorithm always produce the same output, while even a small change to the input normally produces a very different digest. This makes a hash calculator useful for comparing data, detecting accidental changes, building cache keys, and preparing values for cryptographic protocols.
A cryptographic hash is designed to work in one direction. It does not encrypt a message and does not contain a key that can be used to restore the original text. Instead of “decrypting” a hash, systems verify data by hashing a candidate value with the same settings and comparing the results.
Use SHA-256 as a strong general-purpose default for integrity checks, identifiers, and modern integrations. SHA-512 provides a longer 512-bit digest, while SHA-3 offers a modern design based on the Keccak construction. Choose the exact algorithm required by the system or published checksum you need to match.
MD5 and SHA-1 remain useful for legacy compatibility, non-adversarial checksums, and reproducing existing identifiers, but both have known collision weaknesses and should not be chosen for new security-sensitive designs. A matching digest only has meaning when the algorithm, input bytes, character encoding, capitalization, whitespace, and line endings are identical.
A regular hash takes only the message as input. HMAC combines a message with a secret key, allowing two parties that share the key to detect changes and authenticate webhook payloads, API requests, and other signed messages. A plain SHA-256 digest cannot replace HMAC because anyone can calculate it.
Passwords need a deliberately slow, salted password hashing function rather than a fast general-purpose hash. Argon2id is memory-hard and suitable for modern password storage; bcrypt offers broad compatibility and an adjustable cost; PBKDF2 derives keys through repeated hashing and is useful where standards or platform support require it. These tools can generate test hashes and verify a password against an existing result.
Open a hash generator, enter the text exactly as it should be processed, select an algorithm where available, and copy the hexadecimal result. To reproduce a checksum, preserve every space, newline, and character. For HMAC, also provide the shared secret and its format. For Argon2, bcrypt, or PBKDF2, configure the available salt and work-factor settings or switch to verification mode.
Calculations run locally in your browser, so the entered text, password, salt, and HMAC key are not sent to the server for processing. The tools are convenient for learning, development, interoperability checks, and debugging. For production credentials and signing secrets, use a reviewed server-side cryptographic library and your application’s secure secret-management workflow.
Compare SHA-256 and SHA-512 output lengths and match the algorithm required by an integration.
Contrast an unkeyed SHA-256 digest with HMAC-SHA-256 authentication using a shared secret.
Compare memory-hard Argon2 password hashing with the widely supported bcrypt format and cost model.