Skip to content

Developer and design

SHA-256 hash generator

Create SHA-256, SHA-1, SHA-384 and SHA-512 hashes of any text, to verify downloads, compare values or build checksums.

  • Free
  • No signup
  • Nothing stored

Hashes of empty text

Calculating…

Why use it

A hash is a fixed-length fingerprint of some data: change one character and the hash changes completely. Hashes are used to verify downloads, detect changes and sign API requests.

This tool uses your browser’s built-in Web Crypto API, so the text you hash never leaves your device.

How to use it

  1. Type or paste the text.
  2. Read the hash for each algorithm, updated as you type.
  3. Copy the one you need. Turn on Uppercase if the system you compare with uses capitals.

How it works and its limits

  • Text is hashed as UTF-8.
  • SHA-1 is shown for compatibility only; it is no longer safe for security purposes.
  • Hashing is not encryption and should not be used on its own to store passwords.

Questions

Can a hash be reversed?

No. A hash is one-way: you cannot get the original text back from it. Short or common inputs can still be guessed, though, which is why passwords need special slow hashing.

Why does my hash not match?

Check for invisible differences: a trailing space or line break, different capitalisation, or a different text encoding all change the hash.

Which hash algorithm should I use?

SHA-256 is the usual choice for checksums and verifying files. Use SHA-1 only for compatibility with older systems, as it is no longer collision-resistant. Never store passwords as a plain hash: use a password-hashing function such as Argon2 or bcrypt.

More tools