Hash Generator
Type or paste your input. All four hashes update as you type. Copy any one with a click.
How it works
SHA-1, SHA-256, and SHA-512 use the browser's built-in crypto.subtle.digest API. MD5 is computed with a small JavaScript implementation since browsers no longer expose it. All hashes are computed locally — your input never leaves your device.
Frequently asked
- Which hash should I use?
- For new applications: SHA-256 (general-purpose) or SHA-512 (maximum). MD5 and SHA-1 are broken cryptographically — useful only for non-security checksums (e.g., file integrity in trusted contexts).
- Is MD5 still useful?
- For verifying file downloads where collision resistance is not critical, yes. For passwords, signatures, or anything an attacker might attack, never.
- Why are the hashes always the same length?
- Hash functions produce a fixed-size output regardless of input length. SHA-256 always produces 256 bits (64 hex chars); SHA-512 produces 512 bits (128 hex chars).
Other generators
- Stopwatch
- Password Generator
- QR Code Generator
- Hex to RGB Converter
- Barcode Generator
- Base64 Encoder & Decoder
- RGB to Hex Converter
- CSS Gradient Generator
- Lorem Ipsum Generator
- Random Word Generator
- Random Quote Generator
- Username Generator
- UUID Generator
- URL Encoder & Decoder
- Color Palette Generator
- Roman Numeral Converter
- Slug Generator
- Number to Words Converter
Popular calculators
Share
Popular converters
- Centimeters to incheslength
- Kilograms to poundsmass
- Millimeters to incheslength
- Pounds to kilogramsmass
- Celsius to fahrenheittemperature
- Kilometers to mileslength
- Inches to centimeterslength
- Meters to feetlength
- Fahrenheit to celsiustemperature
- Inches to feetlength
- Inches to millimeterslength
- Liters to US gallonsvolume