About Hash Generator
Paste text and get its hash as hexadecimal: MD5, SHA-1, SHA-256 or SHA-512, or all four side by side. Use it to compare a value with a checksum, generate a cache key or check what a script should output.
Hashing happens on your device, which matters when the text is an API key or other secret you would not want to paste into a server-side tool.
How to use it
- Paste the text into the Input box.
- Choose an Algorithm, or “All of them” to see every hash at once.
- Switch on Uppercase if you need A–F instead of a–f.
- Copy the hash from the right. The note shows how many bytes were hashed.
Frequently asked questions
Why is my hash different from the one in my terminal?
Every character counts, including a trailing newline. echo adds one, so compare with echo -n, and make sure the input box has no extra blank line at the end. Text is hashed as UTF-8.
Which algorithm should I use?
Use SHA-256 for checksums and anything new. MD5 and SHA-1 are fine for matching older checksums but are broken for security. None of these should be used on their own to store passwords.
Can I hash a file?
This tool hashes text. Opening a binary file such as a zip or an image would not give the file’s real checksum; use sha256sum or shasum for those.