Hash Generator

Generate SHA digests of text or files, computed locally, never uploaded.

Hashes update as you type.


DigestsClick any row to copy it

Verify against a known hash

Features

  • SHA-1, SHA-256, SHA-384 and SHA-512
  • Hexadecimal or Base64 output
  • Hash files of any size without uploading them
  • Constant-time comparison against a known hash
  • Computed by the browser's own crypto implementation

How to use it

  1. Type or paste the text you want to hash.
  2. All four digests update immediately.
  3. Use “Hash a file” to checksum a download.
  4. Paste a published hash into the verify box to compare.

What hashes are for, and what they are not for

A cryptographic hash maps any input to a fixed-size digest such that the same input always produces the same output, any change produces a completely different output, and the original cannot be recovered from the digest. That makes hashes ideal for integrity checking: download a file, hash it, compare against the published value, and you know whether it arrived intact.

SHA-1 is included here because you will still encounter it, Git uses it for object identifiers, and plenty of legacy systems publish SHA-1 checksums. It should not be used for anything security-relevant. A practical collision was demonstrated in 2017, and the cost of producing one has fallen since. Use SHA-256 or better for anything new.

The critical thing hashes are not suitable for is storing passwords. SHA-256 is designed to be fast, and fast is exactly wrong for password storage, modern hardware computes billions of SHA-256 hashes per second, so a stolen database of SHA-256 password hashes falls quickly to brute force. Password storage needs a deliberately slow, memory-hard, salted function: Argon2id, scrypt, or bcrypt. Adding a salt to SHA-256 helps against rainbow tables but does not fix the speed problem.

Frequently asked questions

Yes, completely. Hash Generator is free with no usage limits, no account and no sign-up. There is no paid tier and no trial that expires. Tools marked Premium on this site carry that label to indicate a deeper feature set, not a price.
Hash Generator covers sHA-1, SHA-256, SHA-384 and SHA-512, hexadecimal or Base64 output, hash files of any size without uploading them, among other things. Everything is available immediately with no account, no sign-up and no usage limit.
A cryptographic hash maps any input to a fixed-size digest such that the same input always produces the same output, any change produces a completely different output, and the original cannot be recovered from the digest. That makes hashes ideal for integrity checking: download a file, hash it, compare against the published value, and you know whether it arrived intact.
Everything happens inside your browser. The text you enter is processed by JavaScript running on your own device and is never sent to a server, there is no backend to send it to. You can confirm this in your browser's Network tab while you use the tool. Because nothing depends on a server, the tool also keeps working offline once the page has loaded, the site registers a service worker that caches it after your first visit.

Related tools

Further reading

📖 What Is a Hash? MD5, SHA-256 and How Hashing Works

Read the full guide on the 123MiniApps blog.

Pick a theme

Ten hand-tuned palettes.