Hash Generator
Compute MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of any text at once, and check them against an expected value.
0 characters · 1 line
Hashes
Computing…Computing…Computing…Computing…Computing…MD5 and SHA-1 can be deliberately collided. Use them only to detect corrupted files, never for passwords or signatures.
Shortcut: Ctrl/⌘ + Enter copies all
How to use
- Paste or type into “Input text”, or click “Example” to try it.
- MD5, SHA-1, SHA-256, SHA-384 and SHA-512 are computed instantly, all at once.
- Choose an output format: lowercase hex, uppercase hex or Base64.
- To verify a checksum, paste the expected value into “Compare with a hash” to see whether it matches and which algorithm it is.
- Click “Copy” on a row, or “Copy all” to grab every result.
FAQ
Is my data uploaded?
No. Hashes are computed on your device with the browser’s built-in Web Crypto. Your data never leaves your device, and the tool even works offline.
Why does my result differ from a command-line tool?
Usually because of a trailing newline: echo "abc" | sha256sum also hashes a line break, so use echo -n or printf instead. This tool hashes the UTF-8 bytes of your text and treats line breaks as LF (\n), so a file with CRLF line endings gives a different result.
Can a hash be turned back into the text?
No. Hashing is one-way. Simple passwords can still be guessed with lookup tables, though, so store passwords with a dedicated algorithm such as bcrypt, scrypt or Argon2.
Are MD5 and SHA-1 still safe to use?
They are fine for spotting corrupted downloads, but both have practical collision attacks, so never use them for signatures, certificates or password storage. Use SHA-256 or stronger for new systems.
How do I hash a file?
This tool hashes text only. For files, use the File Hash Checker, which handles large files and compares them with the published value.
Related tools
File Hash Checker
Compute MD5, SHA-1, SHA-256, SHA-512 and more for files of any size, and verify them against a published checksum.HMAC Generator
Compute HMAC-SHA256, SHA-384, SHA-512, SHA-1 and MD5 of a message with a secret key, and verify webhook or API signatures.Password Generator
Create strong random passwords with your browser’s secure random generator. Pick the length and character sets, or make many at once.Base64 Encode/Decode
Encode text to Base64 or decode it back, with full UTF-8 support for Chinese and emoji and a URL-safe option.