Security Tool

Hash Generator

Generate SHA-256, SHA-512, SHA-384, and SHA-1 hashes from text or files. Verify checksums instantly. Uses the browser's built-in Web Crypto API β€” nothing leaves your device.

Input Text
Hash Results
SHA-256 (recommended)
β€”
SHA-512
β€”
SHA-384
β€”
SHA-1 (legacy)
β€”
Hash File
πŸ“‚ Click to select or drag & drop a file
Any file type supported β€” processed locally
Verify Checksum

Hash Algorithm Reference

AlgorithmOutput LengthSecurity StatusCommon Use
SHA-256256 bits / 64 hex charsβœ… SecureChecksums, TLS, Bitcoin
SHA-512512 bits / 128 hex charsβœ… SecureHigh-security checksums
SHA-384384 bits / 96 hex charsβœ… SecureTLS certificates
SHA-1160 bits / 40 hex chars⚠ DeprecatedLegacy file checksums only
MD5128 bits / 32 hex chars❌ BrokenNon-security checksums only

Frequently Asked Questions

Why is MD5 not available?
MD5 is cryptographically broken β€” collision attacks are trivially feasible on modern hardware. The browser's Web Crypto API does not expose MD5 for this reason. For file integrity checks, SHA-256 is the modern standard.
Can I hash binary files?
Yes. Use the File Hash section above. The file is read as an ArrayBuffer and hashed directly β€” no text encoding issues. This is identical to running sha256sum on the command line.
Is this tool suitable for password hashing?
No. SHA-256 and similar fast hashes are unsuitable for password storage because they can be brute-forced at billions of hashes per second on GPUs. Use bcrypt, Argon2, or scrypt for passwords β€” these are designed to be slow and are not available in browser JS for good reason.