Hash Generator
Generate MD5, SHA-1, SHA-256, SHA-512 hashes
— — — — — Free online hash generator — MD5, SHA-1, SHA-256, SHA-384, SHA-512
Toololis Hash Generator computes cryptographic hashes entirely in your browser. Paste any text and instantly see all 5 common hashes. SHA family uses the browser\'s native crypto.subtle API for maximum speed and accuracy.
Hash algorithm comparison
- MD5 (128-bit, 32 hex chars) — Broken for security. Fine for file checksums and non-cryptographic uses.
- SHA-1 (160-bit, 40 hex chars) — Deprecated. Still seen in legacy systems. Collisions demonstrated in 2017.
- SHA-256 (256-bit, 64 hex chars) — Current default. Used in HTTPS, Bitcoin, Git (migration).
- SHA-384 (384-bit, 96 hex chars) — A truncated SHA-512, used where 384 bits of output are specified.
- SHA-512 (512-bit, 128 hex chars) — Long-term margin. Recommended for new systems expecting 30+ year lifespans.
How to use this tool
- 1
Paste your text
Type or paste any text — passwords, file contents, API payloads, anything. Hashes update live as you type.
- 2
Read the hashes
All 5 hashes (MD5, SHA-1, SHA-256, SHA-384, SHA-512) are computed simultaneously and displayed in hex.
- 3
Copy the one you need
Click the Copy button next to any hash to send it to your clipboard. All hashing happens locally.
Common use cases
- File integrity — Verify downloads match publisher-stated hash
- Git commits — Git uses SHA-1 (migrating to SHA-256) to identify every commit
- Password storage — Never store plain SHA-256; use bcrypt, argon2, or scrypt which include salting and cost factor
- API signing — Webhook bodies often hashed with HMAC-SHA256 for authenticity
- Blockchain — SHA-256 is the backbone of Bitcoin proof-of-work
- Cache keys — Hashing content to generate deterministic cache keys
Do NOT use hash for password storage
A plain SHA-256 of a password is insecure. GPUs can compute billions of SHA-256s per second, making dictionary attacks trivial. Use a password hashing function designed for slowness: bcrypt, argon2id, or scrypt. These are not regular hashes — they include salt and a tunable work factor.
Frequently Asked Questions
Which hash algorithm should I use?
Is MD5 safe to use?
How are hashes computed here?
crypto.subtle.digest() API — the same implementation browsers use for TLS. MD5 uses the js-md5 library (pure JS). All computation is in your browser.