Hash Generator (SHA-1, SHA-256, SHA-384, SHA-512)
See the SHA-1, SHA-256, SHA-384, and SHA-512 hash of any text update as you type.
Hash Generator
See the SHA-1, SHA-256, SHA-384, and SHA-512 hash of any text update as you type.
Starts in your browser. Instructions are below.
How to use Hash Generator
- 01Type or paste the text you want to hash into the box.
- 02All four hashes, SHA-1, SHA-256, SHA-384, and SHA-512, update automatically as you type.
- 03Press Copy next to the digest you need.
About Hash Generator
A hash generator turns any input into a fixed-length fingerprint called a digest. This tool computes four digests at once, SHA-1, SHA-256, SHA-384, and SHA-512, so you can compare formats without switching tools.
The same input always produces the same digest, and changing a single character produces a completely different one. There is no way to work backwards from a digest to the original text, which is why hashes are used to check that a file or message has not changed.
Use this to verify a download against a published checksum, for example pasting a file's contents and comparing the SHA-256 output to the one the publisher listed. Do not use a plain hash to store passwords; that needs a slow, salted algorithm such as bcrypt or Argon2.
Frequently asked questions
- Can a hash be reversed back to the original text?
- No. Hashes are one-way. Short or common inputs can sometimes be found by brute force, which is why passwords need salting.
- Which hash algorithm should I use?
- SHA-256 is the common default for checksums and integrity checks. SHA-384 and SHA-512 give longer digests for extra margin.
- Is my text sent to a server?
- No. Hashing runs locally using the Web Crypto API.
- Why isn't MD5 included?
- MD5 has known collision weaknesses and is not considered safe for integrity or security checks. SHA-256 or better is the right default.
Related tools and tools
UUID Generator
Generate cryptographically random version 4 UUIDs, one at a time or in bulk.
Password Generator
Generate strong random passwords with the length and character types you choose.
Base64 Encoder / Decoder
Convert text to Base64 and back, with full UTF-8 support.
URL Encoder / Decoder
Percent-encode or decode a URL and see its query parameters listed out.