Hash Generator — MD5, SHA-256, SHA-512 from Text or File, Free & Private
Generate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes from text or file. 100% browser-based — nothing uploaded, completely private. HMAC support.
Frequently Asked Questions
What is the difference between MD5, SHA-256 and SHA-512?
MD5 produces a 128-bit hash and is cryptographically broken — avoid for security use. SHA-256 (SHA-2 family) produces a 256-bit hash and is the current standard for most security applications. SHA-512 produces 512 bits for a higher security margin.
Is my text or file sent to a server when I generate a hash?
No. All hashing uses the browser's built-in Web Crypto API (SubtleCrypto) and a local MD5 implementation. Your text and files never leave your device — everything runs entirely in your browser.
What is HMAC and when should I use it?
HMAC (Hash-based Message Authentication Code) adds a secret key to the hashing process to produce a keyed hash. Use HMAC-SHA256 for API request signing, webhook signature verification, and JWT HS256 tokens — anywhere you need to prove message authenticity.
How do I verify a downloaded file with its hash?
Upload the file to the Hash Generator, compute its SHA-256 or SHA-512 hash, and compare the result to the checksum published on the official download page. An exact match (case-insensitive) confirms the file is genuine and unmodified.