Hash generator — MD5, SHA-1, SHA-256, SHA-384, SHA-512

Generate MD5, SHA-1, SHA-256, SHA-384, and SHA-512 digests of any text or file (up to 100 MB) directly in your browser. WebCrypto under the hood, hex or base64 output, instant copy. No upload, no signup.

Empty — type or paste to begin.

Digests
MD5
—
SHA-1
—
SHA-256
—
SHA-384
—
SHA-512
—

All hashing happens in your browser via the WebCrypto API. Files are never uploaded.

How to use

  1. Choose Text or File mode at the top of the tool.

  2. In Text mode, type or paste any string — MD5, SHA-1, SHA-256, SHA-384, and SHA-512 all update live (debounced by ~200 ms so big pastes don't stutter).

  3. In File mode, pick any file up to 100 MB. The file is read in 4 MB chunks with a live progress bar; all five digests appear together when hashing finishes.

  4. Toggle Uppercase hex for upper-case digests, or SHA outputs as base64 to switch the four SHA rows to their base64 representation (MD5 stays hex — base64 MD5 is uncommon).

  5. Click Copy on any row to put that digest on your clipboard. Nothing leaves the browser.

Frequently asked questions

Is MD5 still safe to use?
No — not for anything where collisions matter. MD5 has been considered cryptographically broken since 2004; researchers have published methods to construct two different inputs that produce the exact same MD5 hash in minutes on commodity hardware. That means MD5 must NOT be used for password storage, digital signatures, file-integrity-against-an-adversary, or any security context. It IS still fine for non-adversarial uses: cache keys, content-addressed deduplication, ETags, sanity-checking accidental corruption of a download. Use SHA-256 or stronger anywhere an attacker might benefit from forging a collision.
What's the status of SHA-1?
SHA-1 is deprecated for cryptographic use. The 2017 SHAttered attack from Google + CWI demonstrated a practical SHA-1 collision (two PDFs with the same SHA-1) at roughly 110 GPU-years of compute, and the cost has fallen since. Major browsers stopped trusting SHA-1 TLS certificates in 2017; Git is migrating away from it (slowly). It's still everywhere in legacy systems — checking that a download matches a published SHA-1 from a trustworthy source is fine, but never use SHA-1 to verify a file came from a specific person, and never use it for new signatures, password hashes, or HMAC keys.
When should I pick SHA-256 vs SHA-384 or SHA-512?
SHA-256 is the default in 2026 — it's secure, fast on 32-bit and 64-bit CPUs, and produces a 64-character hex digest that's compact enough to paste around. Pick SHA-512 (or SHA-384, which is just a truncated SHA-512 with different initial constants) when you need extra collision resistance for very long-lived signatures, when the spec you're complying with requires it (e.g., some government / banking standards mandate SHA-384 for TLS), or when you're hashing on a 64-bit CPU where SHA-512 is actually FASTER than SHA-256 because it operates on 64-bit words natively. For day-to-day file integrity, content addressing, and general-purpose hashing, SHA-256 is the right pick.
Can I use these hashes to store passwords?
Absolutely not. MD5, SHA-1, SHA-256, SHA-384, and SHA-512 are all FAST hashes — exactly the wrong property for password storage. A modern GPU rig can compute billions of SHA-256 hashes per second, so an attacker who steals your database of SHA-256-hashed passwords can brute-force most weak-to-moderate passwords in hours. Use a deliberately slow, memory-hard password hashing function: Argon2id (the modern default), bcrypt (the stable workhorse), or scrypt. These are tuned so a single hash takes ~100 ms and so much memory that GPUs lose their advantage. Every reputable language has libraries — use them.
What's the difference between a 'hex digest' and the raw bytes?
A hash function's actual output is raw binary bytes — MD5 produces 16 bytes, SHA-256 produces 32 bytes, SHA-512 produces 64 bytes. Binary bytes are hard to copy-paste, log, or stick in a URL, so we encode them. 'Hex' encoding represents each byte as two hexadecimal characters: 32 hex chars for MD5, 64 for SHA-256, 128 for SHA-512. 'Base64' encoding packs three bytes into four ASCII characters and is ~33% shorter than hex — 44 base64 chars for SHA-256 instead of 64 hex. Both are just textual representations of the SAME underlying bytes. The hash itself isn't different; the encoding is. Match the encoding to your environment: most CLI tools and Git use hex; JWTs and HMAC signatures in HTTP headers usually use (URL-safe) base64.

Need AI implementation? Book a call.

We’re the studio behind these tools — eight productized AI engagements for SMBs (leads, automation, receptionist, support, content, more). If you want something built for production, we’ll quote it.

Schedule A Call