Hash Generator โ€” MD5, SHA-1, SHA-256, SHA-512 Online | Tinker
โ† Tinker

Click any hash to copy it.

MD5*โ€”
SHA-1โ€”
SHA-256โ€”
SHA-384โ€”
SHA-512โ€”

* MD5 is a pure-JS implementation (not via SubtleCrypto).

Choosing the Right Hash Algorithm

Hash functions map arbitrary input data to a fixed-size digest. A good cryptographic hash is deterministic, fast to compute, and practically impossible to reverse or to find two inputs with the same output (collision resistance).

AlgorithmOutputSecurityUse today?Best for
MD5128 bits (32 hex)BrokenNon-security onlyChecksums, cache keys, deduplication
SHA-1160 bits (40 hex)DeprecatedLegacy onlyGit object IDs (legacy), old TLS certs
SHA-256256 bits (64 hex)SecureYesCode signing, TLS, general hashing
SHA-384384 bits (96 hex)SecureYesHigher-assurance contexts
SHA-512512 bits (128 hex)SecureYesFaster than SHA-256 on 64-bit CPUs, HMAC keys

What hashing is NOT for

How SubtleCrypto works

SHA-1, SHA-256, SHA-384, and SHA-512 are computed using the browser's built-in crypto.subtle.digest() API โ€” a native, hardware-accelerated implementation. MD5 is not available in SubtleCrypto (it is cryptographically broken), so it uses a pure-JavaScript implementation included in this page.

© 2026, Tinker - tools ยท calculators ยท practice games