Skip to main content
SK Play Labs logoSK Play Labs

Hash Generator

SHA-1, SHA-256, SHA-384, SHA-512.

Runs entirely in your browser — nothing you enter is uploaded or sent to a server.

A hash is a one-way fingerprint, not encryption — it can't be reversed to recover the original text, so don't use it to store something you'll need to read back. Read our full disclaimer.

About this tool

A hash function turns any input into a fixed-length fingerprint — the same text always produces the same digest, and even a one-character change produces a completely different one. This tool computes SHA-1, SHA-256, SHA-384, and SHA-512 digests of your text using the browser's built-in Web Crypto API, updating live as you type. It's useful for checksums, comparing two strings, and spotting whether inputs are identical — all with no third-party code and nothing uploaded.

Try it

The SHA-256 of "abc" is ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad.

How to use

  1. 1Pick a hash algorithm.
  2. 2Type or paste your text.
  3. 3The hex digest updates instantly — copy it in one click.

Features

  • SHA-1, SHA-256, SHA-384, and SHA-512.
  • Digest updates live as you type.
  • Built on the browser's native Web Crypto — no third-party libraries.
  • One-click copy of the hex digest.

Frequently asked questions

Can I reverse a hash to get the text back?

No. Hashes are one-way by design — this tool computes digests, it can't invert them. Matching a hash to text is only possible by hashing guesses until one matches, which is why hashing is used for fingerprints, not storage you need to read back.

Which SHA algorithm should I use?

SHA-256 is the sensible default for most checksums and integrity checks. SHA-384 and SHA-512 give longer digests for higher-security needs; SHA-1 is included for compatibility but is considered weak and shouldn't be relied on where collision resistance matters.

Can I use this to store passwords?

No. A raw SHA hash isn't suitable for passwords — that needs a slow, salted algorithm like bcrypt, scrypt, or Argon2. Use this for checksums and data integrity, not password storage.

Does the same text always give the same hash?

Yes. Hashing is deterministic — identical input always yields the identical digest, which is what makes it useful for verifying that data hasn't changed. Any difference, even one character, changes the whole digest.

Why isn't MD5 offered?

The Web Crypto API doesn't include MD5 (it's considered insecure and broken for collisions). We stick to the SHA family it provides natively, with no third-party code.

More developer tools

View all