LogIn
I don't have account.
Input
0 bytes · 0 characters
Hashes of an empty input
MD5Broken128 bits
d41d8cd98f00b204e9800998ecf8427e
SHA-1Broken160 bits
da39a3ee5e6b4b0d3255bfef95601890afd80709
SHA-256Secure256 bits
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
SHA-512Secure512 bits
cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
SHA3-256Secure256 bits
a7ffc6f8bf1ed76651c14756a061d662f580ff4de43b49fa82d80a4b80f8434a
CRC-32Checksum32 bits · zip, PNG, Ethernet
00000000
🔒 Everything runs in your browser. Your text, files and passwords are never sent to a server.
About this tool

Hash Generator - MD5, SHA-256, SHA-512, bcrypt & More

Generate MD5, SHA-1, SHA-256, SHA-512, SHA-3, BLAKE2, CRC32 and more (31 algorithms) for text or files at once, with HMAC, hash comparison and checksum verification. Create and verify bcrypt password hashes, derive keys with PBKDF2 and scrypt and identify unknown hashes.

  • 100% free
  • No sign-up
  • Runs in your browser
  • 31 algorithms
  • Files of any size
  • Bcrypt, PBKDF2 & scrypt

What Is a Hash Generator?


A hash generator computes a cryptographic hash (digest) of text or a file: a short, fixed-length fingerprint such as the 64 hex characters of SHA-256. The same input always gives the same hash, a one-character change gives a completely different one and the hash cannot be turned back into the input.

DevBrainiac's Hash Generator is a free online tool that calculates 31 hashes at once, hashes files, creates HMACs, generates and verifies bcrypt hashes and derives keys with PBKDF2 and scrypt.

Key facts

  • A hash function turns any input into a fixed-length fingerprint; the same input always gives the same hash.
  • This generator computes 31 algorithms at once, including MD5, SHA-1, SHA-2, SHA-3, Keccak-256, BLAKE2, RIPEMD-160, NTLM, CRC32 and xxHash.
  • It hashes text (UTF-8, hex or Base64) and files of any size, with HMAC keys and Base64 or hex output.
  • It generates and verifies bcrypt password hashes and derives keys with PBKDF2 and scrypt.
  • It can compare a hash, verify files against a SHA256SUMS list and identify an unknown hash.
  • Everything runs in your browser; nothing you type or open is uploaded.

Last updated:

How to Generate a Hash Online


  1. Choose what to hash: Use the Text tab for strings or the Files tab for files. Text can be UTF-8, hex bytes or Base64 bytes.
  2. Pick the algorithms: Start with Popular (MD5, SHA-1, SHA-256, SHA-512, SHA3-256, CRC32), choose a preset such as SHA-2 or All, or tick individual algorithms.
  3. Add a key for HMAC (optional): Tick Use a secret key to get HMAC-SHA256 and other HMACs; BLAKE2 uses its own keyed mode.
  4. Copy or compare the result: Hashes update as you type. Copy one or all, switch to uppercase hex or Base64, or paste an expected hash to see which algorithm matches.
  5. Verify and export: For files, paste a SHA256SUMS list to verify them and download a checksum file of your own.

Hash Generator Features


One free tool that works as an MD5 generator, SHA-256 generator, SHA-512 generator, file checksum calculator, HMAC generator, bcrypt generator and checker and hash identifier.

31 Hash Algorithms at Once

MD5, SHA-1, SHA-224/256/384/512, SHA-512/224 and /256, SHA3, Keccak, SHAKE, BLAKE2b/2s, RIPEMD-160, MD4, NTLM, CRC-16/32, Adler-32, FNV-1a and xxHash.

File Hashing and Checksums

Hash several files of any size in 1 MB chunks with progress, then verify them against SHA256SUMS or MD5SUMS lists or download your own.

HMAC and Keyed Hashing

HMAC with every SHA, MD and RIPEMD hash, BLAKE2 keyed mode and keys typed as text, hex or Base64.

Bcrypt Generator and Verifier

Create $2b$, $2a$ or $2y$ bcrypt hashes with cost 4 to 16, see how long each cost takes on your device and check a password against a hash.

PBKDF2 and scrypt

Derive keys with PBKDF2-HMAC (SHA-1/256/384/512) using OWASP iteration counts, or scrypt with N, r and p, with a random salt.

Compare and Identify

Paste an expected hash to find which algorithm produced it, or identify an unknown hash from its format and length.

Exact Bytes

Choose LF or CRLF line endings and hex or Base64 input, so your hash matches the one from sha256sum, certutil or your code.

Hash Every Line

Hash each line of a list separately and download all results as CSV.

Private by Design

All hashing runs in JavaScript in your browser. Your text, files and passwords are never sent anywhere.

Example: Hashes of “hello”


The word “hello” (5 bytes, no newline) with common algorithms:

AlgorithmHash (hex)
MD55d41402abc4b2a76b9719d911017c592
SHA-1aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d
SHA-2562cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
SHA-5129b71d224bd62f3785d96d46ad3ea3d73319bfbc2890caadae2dff72519673ca72323c3d99ba5c11d7c7acc6e14b8c5da0c4663475c2e5c3adef46f73bcdec043
SHA3-2563338be694f50c5f338814986cdf0686453a888b84f424d792af4b9202398f392
BLAKE2b-256324dcf027dd4a30a932c441f365a25e86b173defa4b8e58948253471b81b72cf
CRC-323610a686
NTLM066ddfd4ef0e9cd7c256fe77191ef43c

Supported Hash Algorithms


AlgorithmOutputHex lengthStatusTypical use
MD5128 bits32BrokenLegacy checksums, cache keys, deduplication
SHA-1160 bits40BrokenOld Git object IDs, legacy certificates
SHA-224224 bits56SecureTruncated SHA-2 where space is tight
SHA-256256 bits64SecureFile integrity, TLS, Bitcoin, code signing, JWT HS256
SHA-384384 bits96SecureTLS certificates, government (CNSA) profiles
SHA-512512 bits128SecureFile integrity, Ed25519 internals, high-security hashing
SHA-512/224224 bits56SecureSHA-512 speed on 64-bit CPUs with a short output
SHA-512/256256 bits64SecureSHA-512 speed on 64-bit CPUs, resists length extension
SHA3-224224 bits56SecureSHA-3 with a short output
SHA3-256256 bits64SecureModern alternative to SHA-256
SHA3-384384 bits96SecureSHA-3 for higher security levels
SHA3-512512 bits128SecureSHA-3 with the longest output
Keccak-256256 bits64SecureEthereum addresses, Solidity keccak256()
Keccak-512512 bits128SecureOriginal Keccak submission (pre-SHA-3 padding)
SHAKE128256 bits64SecureExtendable output (XOF), here 256 bits
SHAKE256512 bits128SecureExtendable output (XOF), here 512 bits
BLAKE2b-512512 bits128SecureFast secure hashing, Argon2 internals, libsodium
BLAKE2b-256256 bits64SecureFast 256-bit hashing, Zcash
BLAKE2s-256256 bits64SecureFast hashing on 32-bit and embedded CPUs, WireGuard
RIPEMD-160160 bits40LegacyBitcoin addresses (with SHA-256), PGP
MD4128 bits32BrokenHistorical only
NTLM128 bits32BrokenWindows NT password hashes
CRC-3232 bits8ChecksumZIP, PNG, gzip, Ethernet frames
CRC-32C32 bits8ChecksumiSCSI, ext4, Btrfs, Google Cloud Storage
CRC-16/ARC16 bits4ChecksumARC and LHA archives, simple serial protocols
CRC-16/CCITT-FALSE16 bits4ChecksumEmbedded firmware and serial protocols
Adler-3232 bits8Checksumzlib streams
FNV-1a 3232 bits8ChecksumHash tables, quick fingerprints
FNV-1a 6464 bits16ChecksumHash tables, quick fingerprints
xxHash3232 bits8ChecksumLZ4 frame checksums, fast hashing
xxHash6464 bits16ChecksumVery fast non-cryptographic hashing, deduplication

Which Hash Algorithm Should I Use?


TaskUseWhy
Checking a download or file integritySHA-256 (or SHA-512)Widely published and secure; use the same algorithm as the publisher.
Storing user passwordsArgon2id, bcrypt, scrypt or PBKDF2Slow, salted password hashes. Never store passwords with plain MD5 or SHA-256.
Signing API requests or webhooksHMAC-SHA256Proves the message came from someone with the shared secret.
Fast checksums and hash tablesCRC32, xxHash or FNV-1aVery fast, but anyone can make a collision on purpose.
Ethereum and SolidityKeccak-256Ethereum uses the original Keccak padding, not FIPS SHA3-256.
Modern general-purpose hashingSHA3-256 or BLAKE2bSecure alternatives to SHA-2; BLAKE2 is also very fast.
Compatibility with old systemsMD5 or SHA-1Only where a legacy system requires it; both have practical collision attacks.

Hashing vs Encryption vs Encoding


HashingEncryptionEncoding
Reversible?No, one-wayYes, with the keyYes, by anyone
Needs a key?No (HMAC adds one)YesNo
Output sizeFixed (e.g. 256 bits)About the input sizeLarger than the input
ExamplesSHA-256, bcrypt, CRC32AES, RSA, ChaCha20Base64, hex, URL encoding

Password Hashing: bcrypt, scrypt and PBKDF2


Passwords need a slow, salted hash so that a stolen database cannot be cracked quickly. Recommended minimums from the OWASP Password Storage Cheat Sheet:

  • Argon2id: 19 MiB of memory, 2 iterations, 1 thread (the first choice for new systems).
  • scrypt: N = 2^17 (131072), r = 8, p = 1.
  • bcrypt: cost 10 or more; only the first 72 bytes of the password are used.
  • PBKDF2: 600,000 iterations with HMAC-SHA256, 210,000 with HMAC-SHA512, 1,300,000 with HMAC-SHA1.

A bcrypt hash such as $2b$12$R9h/cIPz0gi.URNNX3kh2O… contains the version ($2b$), the cost (12, meaning 2^12 rounds), a 22-character salt and the 31-character hash, so it can be verified without storing anything else.

Hash Files from the Command Line


SystemCommandNotes
Linuxsha256sum file.isomd5sum, sha1sum, sha512sum, b2sum work the same way
macOSshasum -a 256 file.isomd5 file.iso for MD5
Windows PowerShellGet-FileHash file.iso -Algorithm SHA256Also MD5, SHA1, SHA384, SHA512
Windows cmdcertutil -hashfile file.iso SHA256Also MD5, SHA1, SHA384, SHA512
OpenSSLopenssl dgst -sha256 file.isoopenssl dgst -sha256 -hmac KEY for HMAC
Text in a shellprintf "hello" | sha256sumecho adds a newline, which changes the hash; use printf or echo -n

SHA-256 in Code


JavaScript (browser)

const bytes = new TextEncoder().encode("hello");
const digest = await crypto.subtle.digest("SHA-256", bytes);
const hex = [...new Uint8Array(digest)].map((b) => b.toString(16).padStart(2, "0")).join("");

Node.js

const { createHash } = require("crypto");
const hex = createHash("sha256").update("hello").digest("hex");

Python

import hashlib
hex = hashlib.sha256("hello".encode()).hexdigest()

Java

byte[] digest = MessageDigest.getInstance("SHA-256")
    .digest("hello".getBytes(StandardCharsets.UTF_8));
String hex = HexFormat.of().formatHex(digest);

C#

var hex = Convert.ToHexString(
    SHA256.HashData(Encoding.UTF8.GetBytes("hello"))).ToLowerInvariant();

Go

sum := sha256.Sum256([]byte("hello"))
hex := hex.EncodeToString(sum[:])

PHP

$hex = hash("sha256", "hello");
$password = password_hash("secret", PASSWORD_BCRYPT, ["cost" => 12]);

Frequently Asked Questions


What is a hash generator?

A hash generator calculates a hash (also called a digest or checksum) of text or a file: a fixed-length value such as 64 hex characters for SHA-256. The same input always produces the same hash and any change to the input produces a completely different one.

Can a hash be decrypted or reversed?

No. Hashing is one-way: there is no key and no way to compute the input from the hash. So-called MD5 decrypters only look the hash up in tables of common passwords, which is why short or common passwords hashed with fast algorithms are unsafe.

What is the difference between MD5, SHA-1 and SHA-256?

MD5 gives 128 bits and SHA-1 gives 160 bits; both are broken because attackers can create two inputs with the same hash. SHA-256 gives 256 bits and has no known practical attack, so it is the usual choice today.

Why is my hash different from another tool?

Usually the bytes differ: a trailing newline (echo adds one), Windows CRLF instead of LF line endings, text encoding, or uppercase versus lowercase hex. Use the line-ending option, check the byte count, or enter the input as hex to hash exact bytes.

Is SHA-256 good for storing passwords?

No. SHA-256 is designed to be fast, so attackers can test billions of guesses per second. Use a slow, salted password hash such as Argon2id, bcrypt, scrypt or PBKDF2 with a high iteration count.

What bcrypt cost factor should I use?

Choose the highest cost your server can afford, usually 10 to 12 in 2026, so that one hash takes roughly 0.25 to 1 second. Each step up doubles the time. The Bcrypt tab shows the estimated time for each cost on your own device.

What is HMAC?

HMAC combines a secret key with a hash function, for example HMAC-SHA256, to prove that a message was not changed and came from someone who knows the key. It is used for API request signing, webhooks and JWT HS256 tokens.

How do I verify a downloaded file with SHA-256?

Open the file on the Files tab, then paste the publisher's hash or their SHA256SUMS file into the verify box. The file shows Verified when the hash matches, or Checksum mismatch when it does not.

What is the difference between SHA3-256 and Keccak-256?

Both use the Keccak permutation, but SHA3-256 (FIPS 202) uses a different padding byte than the original Keccak-256. Ethereum and Solidity use Keccak-256, so the two give different hashes for the same input.

Is it safe to hash passwords or private files in this tool?

Yes. All hashing runs locally in your browser with JavaScript; nothing is uploaded or stored. You can disconnect from the internet after the page loads and the tool keeps working.

Related Developer Tools