Hash Generator
Runs locallyGenerate MD5, SHA-1, SHA-256, and bcrypt hashes locally. Output is computed in real-time.
Input
Output Hash
Generated hash appears here.
Generate cryptographic hashes — MD5, SHA-1, SHA-256, SHA-512 and bcrypt — from any text or file, right in your browser. Hashes are one-way fingerprints used to verify integrity, compare files, and store passwords. Nothing you hash is ever uploaded.
How to generate a hash
- 1Type or paste your text, or drop a file to hash its contents.
- 2See MD5, SHA-1, SHA-256 and SHA-512 digests computed instantly.
- 3Copy any digest, or use bcrypt for salted password hashing.
Which hash should you use?
For verifying file integrity, SHA-256 is the modern default. MD5 and SHA-1 are fast but cryptographically broken — fine for checksums, not for security. For storing passwords, use bcrypt, which is deliberately slow and salted to resist brute-force attacks. This tool computes all of them locally.
Frequently asked questions
- What is a hash and what is it used for?
- A hash is a fixed-length fingerprint of data produced by a one-way function. It's used to verify that a file hasn't changed, compare values without revealing them, and securely store passwords.
- Is MD5 still safe to use?
- MD5 is fine for non-security checksums but is broken for cryptographic use — collisions can be generated. Use SHA-256 for integrity and bcrypt for passwords instead.
- Are my text and files uploaded to compute the hash?
- No. All hashes are computed locally in your browser, so the original text or file never leaves your device.