Hash Generator: MD5, SHA-1, SHA-256, SHA-512
Create an MD5, SHA-1, SHA-256, SHA-384 or SHA-512 hash from any text or file. All five hashes appear at once as you type, and your data stays in your browser.
- MD5 and SHA family
- Text or file
- Instant, private
- No sign-up
How to use
- Type or paste text, or choose a file.
- All five hashes are calculated at once.
- Press the copy button next to the hash you need.
- Tick Uppercase hex if you need capital letters.
What is a hash?
A hash function turns any input into a fixed-length fingerprint. The same input always gives the same hash, and a tiny change gives a completely different one. You cannot turn a hash back into the original data. Hashes are used for file checksums, deduplication and data integrity.
Which one should you use?
Use SHA-256 or SHA-512 for security-related work. MD5 and SHA-1 are broken for security and should only be used for checksums or compatibility. Do not store passwords with a plain hash: use a slow password hash such as bcrypt or Argon2. To make a strong password first, try the password generator.
Frequently asked questions
Can a hash be reversed?
No. A hash is a one-way function. Weak or common inputs can be guessed with lookup tables, which is why passwords need a salt and a slow hash.
Is MD5 still safe?
Not for security. Collisions can be made on purpose. MD5 is fine to check a download for accidental corruption.
Is my file uploaded?
No. The hash is calculated in your browser.
Why do I get a different hash than another tool?
Check for a trailing space or line break in the text. A single extra character changes the whole hash.