What is Hash Generator?
Hash Generator computes cryptographic hash values for any text input. It supports MD5, SHA-1, SHA-256, and SHA-512. Everything runs in your browser — no data is sent to a server.
How to use
- Type or paste text into the input area
- All four hash values are computed instantly
- Toggle between lowercase and UPPERCASE output
- Copy any individual hash with one click
Supported algorithms
- MD5 — 128-bit hash (32 hex characters). Fast but NOT collision-resistant.
- SHA-1 — 160-bit hash (40 hex characters). Deprecated for security use.
- SHA-256 — 256-bit hash (64 hex characters). Part of the SHA-2 family, widely used.
- SHA-512 — 512-bit hash (128 hex characters). Stronger variant of SHA-2.
Common uses
- Verifying file integrity (checksum comparison)
- Generating unique identifiers from content
- Validating data hasn't been tampered with
- Learning about cryptographic hash functions
Security notes
- MD5 and SHA-1 are considered broken for security — don't use them for passwords or signatures
- SHA-256 is the standard for most security applications today
- This tool is for generating hashes, not for password hashing (use bcrypt/argon2 for that)
- All computation happens client-side using the Web Crypto API (SHA) and a pure-JS implementation (MD5)
Limitations
- Maximum input size: 10 MB of text
- Text-only input (no file hashing)
- Does not support HMAC or keyed hashes