#๏ธโƒฃ Hash Generator

Instantly convert text into MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes.

How to use

  1. Enter text in the input box above.
  2. Hash values for each algorithm are computed automatically as you type.
  3. Use the copy button to grab the hash value you need.

๐ŸŽฏ Use Cases

Example

Input
hello world
Output
MD5:     5eb63bbbe01eeed093cb22bb8f5acdc3
SHA-1:   2aae6c35c94fcfb415dbe95f408b9ce91ee846ed
SHA-256: b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9
SHA-384: fdbd8e75a67f29f701a4e040385e2e23986303eaโ€ฆ
SHA-512: 309ecc489c12d6eb4cc40f50c902f2b4d0ed77eeโ€ฆ

Entering the text hello world produces a distinct fixed-length hexadecimal hash for each algorithm โ€” MD5 is 32 characters, SHA-256 is 64. The same input always yields the same result; the SHA-384 and SHA-512 values are truncated here for space. Change just one character to Hello World (capital H, W) and the output becomes a completely different hash โ€” this is the "avalanche effect": a good hash function makes even a tiny input change produce a result that looks unrelated to the original.

Algorithm comparison

AlgorithmOutput lengthSpeedSafe for security?Common use
MD5128 bit (32 hex chars)Very fastโŒ (collisions known)File checksums, cache keys
SHA-1160 bit (40 hex chars)FastโŒ (real collision found in 2017)Legacy Git object IDs, etc.
SHA-256256 bit (64 hex chars)Moderateโœ…Digital signatures, certificates, blockchain
SHA-384384 bit (96 hex chars)Moderateโœ…TLS certificate signing, etc.
SHA-512512 bit (128 hex chars)Moderateโœ…High-assurance integrity checks

This tool only implements MD5 itself (md5.js); the SHA family runs through the browser's built-in crypto.subtle.digest (Web Crypto API) โ€” a browser-vetted standard implementation, so there's no separate library to trust.

FAQ

What's the difference between MD5 and SHA-256?
MD5 has known collision vulnerabilities, so it isn't recommended for security purposes โ€” it's only suitable for non-security uses like checking file integrity. Use SHA-256 or higher wherever security matters.
Can I hash passwords with this and store them in a database?
Not recommended. General-purpose hashes like SHA-256 are fast to compute, which makes them easy to brute-force with a GPU. Password storage should use a purpose-built, deliberately slow algorithm like bcrypt, scrypt, or Argon2 instead.
Is the text I enter sent to a server?
No. All hash computation happens entirely in your browser, using the Web Crypto API and a self-contained MD5 implementation.
Can the original text be recovered from a hash?
No. Hash functions are one-way โ€” they're designed so the original input can't be derived from the output. However, if the input is short and predictable (like a common password), it can be reverse-matched using precomputed hash tables (rainbow tables).

More Security Tools

๐Ÿ”‘
Password Generator
Generate strong random passwords
๐Ÿ“ฑ
QR Code Generator
Turn text/URLs into a QR code
๐Ÿ—๏ธ
htpasswd Generator
Generate APR1-MD5 hashed passwords
๐Ÿ”
SSL Certificate Viewer
Check issuer, validity & SANs
๐Ÿ“œ
CSR Viewer
Check CSR subject & public key info
โ™ป๏ธ
SSL Certificate Converter
Convert PEM โ†” DER (HEX)
๐Ÿค
Cert/Key Pair Checker
Verify a certificate matches its private key
๐Ÿฉบ
SSL Checker
Check HTTPS connectivity & trust
๐Ÿช„
Self-Signed Certificate Generator
Generate a self-signed SSL cert & key
๐Ÿ”
Base64 Encode/Decode
Convert text โ†” Base64
๐Ÿ”‘
HTTP Auth Header Generator
Build Basic/Bearer Authorization headers
๐Ÿชช
JWT Decoder
Inspect JWT header/payload, verify HS256
๐ŸŽซ
Random Token Generator
Generate Hex/Base64/UUID tokens
๐Ÿ”’
Jasypt Encrypt/Decrypt
Encrypt/decrypt Spring Boot ENC(...) values