Hash Generator

Compute MD5, SHA-1, SHA-256, SHA-384, SHA-512, and CRC32 hashes from any text. All algorithms run locally in your browser.

Generate Hashes

Enter text and compute every algorithm at once

Hash Results

MD5
-
SHA-1
-
SHA-256
-
SHA-384
-
SHA-512
-
CRC32
-

Verify the exact input bytes

The examples below hash UTF-8 text without a final newline. Spaces, line breaks and different Unicode representations change the bytes and therefore the digest. This tool hashes text, not an uploaded file. MD5, SHA-1 and CRC32 can check known data but are not suitable for password storage or proving authenticity.

SHA-256: ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
MD5: 900150983cd24fb0d6963f7d28e17f72
SHA-256: edeaaff3f1774ad2888673770c6d64097e391bc362d7d6fb34982ddf0efd18cb
MD5: 0bee89b07a248e27c83fc3d5951213c1

About These Hash Algorithms

What each algorithm is good for - and what to avoid

MD5 MD5

A 128-bit digest from 1992. Fast and universally supported, but collision-broken since 2004. Fine for non-security checksums like deduplication and cache keys; never use it for signatures or certificates.

SHA-1 SHA-1

A 160-bit digest. Formally collision-broken in 2017 - browsers no longer trust SHA-1 certificates. Legacy verification only; prefer SHA-256 or above for anything new.

SHA-2 SHA-256 / 384 / 512

The SHA-2 family, computed here with the browser's native WebCrypto API. The current standard for TLS, code signing, Git commits, and file integrity. Prefer SHA-256 or above whenever security matters.

CRC CRC32

A 32-bit cyclic redundancy check, not a cryptographic hash. Detects accidental corruption in ZIP entries and Ethernet frames, but is trivial to collide. Use it for quick change detection, never for security.

Security Notes

  • MD5 and SHA-1 are broken for security purposes - use SHA-256 or above for signatures and integrity checks.

  • Never store passwords with a plain hash. Use a dedicated password hashing algorithm such as Argon2, bcrypt, or scrypt instead.

  • Hashing is one-way: the same input always produces the same digest, but the digest cannot be turned back into the input.

Frequently Asked Questions

Is MD5 still safe for hashing passwords?

No. MD5 produces 128-bit digests and has been vulnerable to practical collision attacks since 2004. Use it only for checksums or legacy compatibility. For passwords, choose a slow, salted algorithm such as bcrypt, scrypt, or Argon2 instead of any fast general-purpose hash function.

What is the difference between SHA-256 and SHA-512?

SHA-256 generates a 256-bit digest (64 hex characters) using 32-bit operations, while SHA-512 generates a 512-bit digest (128 hex characters) using 64-bit operations. Both are secure SHA-2 algorithms; SHA-512 is often faster on 64-bit CPUs, while SHA-256 is the more common default in certificates and APIs.

Can a hash be reversed or decrypted?

No. Hashing is a one-way mathematical function with no key or decryption step. The only ways to recover the input are brute force or rainbow-table lookups, so a long random string of 12 or more characters is effectively impossible to reverse from its hash.

Are hash results the same in every tool?

Yes. Hash algorithms are deterministic public standards, with MD5 defined in RFC 1321 and SHA-2 in FIPS 180-4, so identical input always yields an identical digest everywhere. If your results differ, check for trailing spaces, line-ending differences, or a different character encoding.

What is a CRC32 hash used for?

CRC32 creates a short 32-bit checksum (8 hex characters) that detects accidental data corruption in downloads, zip archives, and network transfers. It is not cryptographic, and collisions can be crafted in seconds, so never rely on it for passwords, signatures, or security checks.

Which hash algorithm should I use?

Choose SHA-256 as the default for integrity checks and general security; it is fast, collision-resistant, and universally supported. Use SHA-384 or SHA-512 for a larger security margin, keep MD5 and SHA-1 for legacy systems only, and reserve CRC32 for quick corruption detection.

Does this hash generator upload my text to a server?

No. Every hash is computed locally in your browser with JavaScript, so your text never leaves your device or reaches a server. Nothing is stored or logged, which makes the tool safe for sensitive strings like tokens, API keys, or personal data.

Why is the hash always the same length no matter the input size?

By design, every hash function maps input of any size to a fixed-length digest: MD5 is always 32 hex characters, SHA-1 is 40, SHA-256 is 64, SHA-384 is 96, SHA-512 is 128, and CRC32 is 8, whether you hash one word or an entire book.

References & Resources

Free Online Tools for the United States US

Do Generator for the United States brings you free online tools tuned for American workflows. Generate secure random numbers, scannable QR codes, retail barcodes (UPC-A, EAN-13), and strong passwords with US-friendly formatting, English (US) spelling, and mobile-first layouts that work across all 50 states.

Programming tools and code generators for developers. Learn how to generate random numbers, strings, and data in various programming languages