Hash Generator
Get SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text or a file. Computed in your browser.
Hashing the text above.
Copied to clipboard.
MD5 is not offered. It is broken for security use and the browser's Web Crypto API does not include it.
How the hashes are made
Your text is converted to UTF-8 bytes and passed to crypto.subtle.digest for each algorithm. The raw digest is shown as hexadecimal, 2 characters per byte: 40 for SHA-1, 64 for SHA-256, 96 for SHA-384 and 128 for SHA-512.
The same input always gives the same hash, and any small change gives a completely different one. A hash cannot be reversed to recover the input.
Frequently Asked Questions
Which hash algorithms are supported?
Why is there no MD5?
Can I hash a file?
Is SHA-1 still safe?
Can I use this to store passwords?
More tools
URL Encoder / Decoder
Percent-encode and decode URLs and query strings.
Color Converter
Convert colors between HEX, RGB, HSL and more.
QR Code Generator
Create QR codes for links and text and download them.
Password Generator
Generate strong random passwords in your browser.
Lorem Ipsum Generator
Generate placeholder text by words, sentences or paragraphs.
Diff Checker
Compare two texts line by line with added and removed lines highlighted.
Published