Text & Code
Hash Generator
Generate MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes from text or files.
Format
Hash Comparison
🔒 All hashing happens in your browser using the Web Crypto API. Nothing is sent anywhere.
☕ Love this tool? Support the developer.
100% free — no ads, no limits. Your support keeps every tool free.
Secure payment via Stripe · No account needed
About Hash Generator
OptiPix Hash Generator computes cryptographic hashes of text or files directly in your browser. Enter text or drop a file to instantly generate MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashes simultaneously. Switch between lowercase hex, uppercase hex, and Base64 output formats. Use HMAC mode with a secret key for keyed-hash message authentication codes. The hash comparison tool lets you paste two hashes to verify if they match — perfect for file integrity verification. Hashes update live as you type. SHA hashes use the Web Crypto API built into every modern browser; MD5 uses a bundled pure-JavaScript implementation. Nothing is sent to any server.
How It Works
SHA hashes use the Web Crypto API's crypto.subtle.digest() method, which is built into every modern browser. MD5 uses a bundled pure-JavaScript implementation since the Web Crypto API doesn't support MD5. For HMAC, the tool uses crypto.subtle.sign() with the HMAC algorithm.
Use Cases
- •Verify file integrity after downloading
- •Generate checksums for data validation
- •Create HMAC signatures for API authentication
- •Compare hashes to detect file modifications
- •Generate hash digests for password storage research
Frequently Asked Questions
What hash algorithms are supported?
Can I hash files?
What is HMAC mode?
Is MD5 secure?
Is my data sent to any server?
Related Tools
UUID Generator
Generate UUID v4, v1, and v7 identifiers with batch generation, formatting, and validation.
Random String Generator
Generate cryptographically random strings with strength meter, batch generation, and character set controls.
Base64 Text Encoder / Decoder
Encode text to Base64 and decode Base64 back to text. URL-safe mode available.
Word Counter
Count words, characters, sentences, paragraphs, and reading time — with readability scores and keyword density.