Hash Generator

Hash Generator

Generate MD5, SHA-1, SHA-256, SHA-384, SHA-512 and CRC32 hashes instantly in your browser. Free online hash tool — no install, no sign-up, 100% client-side.

Updated May 2026

INPUT TEXT
UTF-8
UPLOAD FILE
ANALYSIS RESULTS
MD5
SHA-1
SHA-256
SHA-384
SHA-512
CRC32
Quick Tip

Ctrl+G to regenerate · Shift+Enter to copy all

How to generate a hash online

Text or file, six algorithms at once

1. Paste text or upload a file

Paste text into the input field, or drag a file (up to 50 MB) into the upload zone.

2. Get six hashes instantly

MD5, SHA-1, SHA-256, SHA-384, SHA-512 and CRC32 are calculated at the same time and update live as you type.

3. Copy one hash or all of them

Click the copy icon on any single row, or use "Copy All" to grab every hash in `ALGORITHM: hash` format.

Supported hash algorithms

All computed via the browser's native Web Crypto API

MD5

128 bits, 32 hex characters. Fast, but broken against collisions — fine for non-security checksums only.

SHA-1

160 bits, 40 hex characters. Deprecated by NIST in 2017, but still shows up in Git commit IDs and legacy TLS.

SHA-256

256 bits, 64 hex characters. The current standard for integrity checks, code signing and password salts.

SHA-384

384 bits, 96 hex characters. Extra security margin for high-assurance applications.

SHA-512

512 bits, 128 hex characters. Fast on 64-bit hardware; double the output size of SHA-256.

CRC32

32 bits, 8 hex characters. Not cryptographic — used only for error detection in ZIP files and transfers.

Hash generation examples

Algorithm — Input
Hash
MD5 — `hello`
5d41402abc4b2a76b9719d911017c592
SHA-256 — `hello`
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
MD5 — `hello ` (trailing space)
b1946ac92492d2347c6235b4d2611184
SHA-256 — empty string `""`
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855

When you'll reach for this tool

The most common scenarios among people who use it

Verify a file's integrity

Compare a download's hash against the checksum published by the publisher to confirm nothing was tampered with.

Prototype password hashing

Test logic with SHA-256/SHA-512 plus a salt before migrating to bcrypt or Argon2 in production.

Debug HMAC-SHA256 signatures

Inspect the underlying SHA-256 output to track down signature mismatches in API webhooks.

Deduplicate data

Hash large files to spot duplicates without doing a byte-by-byte comparison.

Digital forensics

Prove that disk images, logs and evidence files haven't changed since they were collected.

Common mistakes

Using MD5/SHA-1 for passwords

Both are cryptographically broken for this purpose. Use bcrypt, Argon2, or scrypt instead.

Hashing passwords without a salt

Without a salt, identical passwords produce identical hashes — opening the door to rainbow table attacks.

Assuming hashing is encryption

Hashes are one-way. There's no key and no reversal — "crackers" just test known inputs against the hash.

Comparing hashes with `==`

Use a timing-safe comparison (crypto.timingSafeEqual) in any security-sensitive context.

Why use this tool

Six algorithms calculated at once, for text or files, right in the browser via the Web Crypto API — no need to install openssl or write a script just to check a quick checksum.

Nothing leaves your device: not the text you type, not the file you upload for hashing.

Quick Tools vs. the command line

Same result, different workflow

Quick Tools
openssl / certutil
Six algorithms at once
yes
one command per algorithm
Drag-and-drop file upload
yes
no
Nothing to install
yes
openssl isn't always preinstalled
One-click copy
yes
copy manually from the terminal

Frequently asked questions

Paste your text into the input field — the SHA-256 hash appears instantly alongside every other algorithm. No account needed. The calculation runs locally through the Web Crypto API, so your data never leaves your device.

References

Related article

Salt, Pepper, Bcrypt and Argon2id: How to Actually Protect Passwords

Related Tools