Create a SHA hash of any text. Hashing happens in your browser, so the text you enter is never uploaded.
How to use the Hash Generator
- Type or paste your text.
- Click the hash type you need, such as SHA-256.
- Copy the hash from the result box.
Tips and common uses
A hash generator produces a fixed-length fingerprint of text, useful for checking that a file or message has not changed.
- Compare the hash you generate with the one published by the source to verify a download.
- Prefer SHA-256 or stronger; MD5 and SHA-1 are fine for checksums but not for security.
- Never store passwords as a plain fast hash; use a dedicated password hashing method such as bcrypt or Argon2.
Frequently asked questions
What is a hash?
A hash is a fixed-length fingerprint of data. The same input always gives the same hash, and a small change gives a completely different one.
Which hash should I use?
SHA-256 is a good default. SHA-1 is considered weak and should only be used for old systems.
Can I use a hash to store passwords?
Not on its own. Passwords need a slow, salted method such as bcrypt or Argon2, not a plain SHA hash.
More free tools
Free to use, with no sign-up or login. This tool runs in your browser and does not store your data.
Worked example
Hash the word hello with SHA-256 and you get 2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824. The MD5 hash of the same word is 5d41402abc4b2a76b9719d911017c592. Change one letter of the input and the output changes completely, which is why hashes are used to check that a file has not been altered.
When to use this tool
Use it to verify downloads against a published checksum and to see how hash functions behave.
Good to know
- MD5 and SHA-1 are not safe for security uses, so prefer SHA-256 or stronger.
- A hash is one-way and is not encryption, so it cannot be turned back into the text.
- Store passwords with a dedicated password-hashing method and not a plain hash.
More free tools: Password Generator, Base64 Encoder and Decoder, UUID Generator. Browse all ZinoLens tools.
