Developer

Hash Generator

Generate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes from text or a file, instantly and privately in your browser.

Hashes are computed in your browser and never uploaded.

Hashing is one way: you cannot turn a hash back into the original text. It is not encryption. Use it to verify downloads, compare files or create checksums, not to hide secrets.

What a hash is

A hash function turns any input into a fixed length fingerprint. The same input always produces the same hash, a tiny change produces a completely different one, and you cannot work backwards from the hash to the input. That makes hashes useful for checking that a downloaded file is intact, for comparing data without storing it, and for storing passwords safely when combined with a salt and a slow algorithm.

Which algorithm to use

  • SHA-256: the sensible default for checksums, integrity checks and signatures.
  • SHA-512: longer output, slightly faster on 64-bit systems, used where longer digests are required.
  • SHA-1 and MD5: fast but broken for security. Fine for detecting accidental corruption, never for anything an attacker could tamper with.

Hashing versus encryption

Encryption is reversible with a key. Hashing is one way. If you need to get the original data back, you need encryption, not a hash. For passwords, do not use plain SHA-256 either; use a dedicated slow algorithm such as bcrypt or Argon2 in your application code. The file option computes SHA-256 without uploading the file, so you can verify installers and backups of any size on your own machine. Test your own passwords safely with the password strength checker.

FAQ

Frequently asked questions

Is my text or file uploaded?
No. Hashing uses the Web Crypto API built into your browser. Files are read locally and never leave your device.
Why does the same text give a different hash than another tool?
Usually a trailing space or newline, or a different text encoding. This tool hashes the exact UTF-8 bytes of what you typed.
Can I reverse a hash to get the original?
Not by design. Short or common inputs can be guessed by trying candidates, which is why MD5 of a simple password is not safe.
How do I verify a downloaded file?
Choose the file, compare the SHA-256 shown with the checksum published by the vendor. If they match, the file is intact and unmodified.
Need the real thing?

We build the sites and systems these tools measure.

Digzy Technology designs fast, search-friendly websites, stores and apps. Tell us what you have in mind.

Chat with us