Hash Generator
Generate SHA-256, MD5, SHA-1, SHA-512 hashes of text locally in your browser. No uploads, no servers.
How it works
This tool runs entirely in your browser using the Web Crypto API (SubtleCrypto) for SHA hashes and a local JavaScript implementation for MD5. Your text never leaves your device.
Quick tips
- Hashes are one-way — you cannot recover the original text from a hash.
- SHA-256 is the recommended general-purpose hash for verification.
- MD5 and SHA-1 are considered cryptographically broken and should not be used for security-sensitive applications.
- Different algorithms produce different-length hashes: MD5 = 32 chars, SHA-1 = 40 chars, SHA-256 = 64 chars, SHA-512 = 128 chars.
Frequently asked questions
What is a hash?
A hash is a fixed-length fingerprint of your data. The same input always produces the same hash, but even a one-character change produces a completely different one. Hashes are one-way — you can't recover the input.
Which algorithms are included?
SHA-256, SHA-512, SHA-1, and MD5. SHA-256 and SHA-512 are current standards for integrity and signatures; SHA-1 and MD5 are legacy — don't use them for security.
Is my data uploaded?
No. Hashing runs locally in your browser, so you can hash passwords, tokens, or sensitive files without them leaving your device.
Should I hash passwords with SHA-256?
Not on its own. Plain fast hashes are vulnerable to brute-force attacks; use a dedicated password hashing scheme (bcrypt, scrypt, or Argon2) for password storage.
Related Digital tools
Showing all 38 related digital tools. Browse all tools →
Guides & resources
✦ Upgrade to Premium
HMAC support, salt input, file hashing & more — $5 lifetime.
See Premium Features →