Loona Automation logoLoona Developer Tools
Home › Developer Tools › Hash Generator

Hash Generator - SHA-1, SHA-256, SHA-384 & SHA-512

In short: the Hash Generator computes SHA-1, SHA-256, SHA-384 and SHA-512 digests of your text with your browser's built-in cryptography - the same Web Crypto engine your bank's website uses. SHA-1 is labelled honestly: for checksums, not security.

Need to check that two copies of a string are identical, produce a cache-busting fingerprint, or follow a tutorial that asks for a SHA-256 digest? Paste the text and all four standard digests appear together, ready to copy.

Note: SHA-1 is included for checksums and legacy compatibility only - it is not safe for passwords or security. For security use SHA-256 or stronger, with a proper password-hashing scheme such as bcrypt or Argon2 for passwords.

Private by design: everything in this tool happens 100% in your browser with JavaScript. Your input is never uploaded to a server, never stored and never seen by us - close the tab and everything is gone.

How to use the Hash Generator

  1. Type or paste the text to hash.
  2. Click Generate Hashes.
  3. Copy the digest you need from the results.

How it works

A cryptographic hash turns any input into a fixed-length fingerprint. The same input always gives the same fingerprint; changing even one character changes it completely; and the input cannot be reconstructed from the fingerprint. This tool feeds the UTF-8 bytes of your text to the Web Crypto API (crypto.subtle.digest) - native, audited browser cryptography, not a JavaScript re-implementation. SHA-256 produces 64 hex characters, SHA-512 produces 128, and SHA-1 produces 40. SHA-1's collision resistance is broken, which is why it is offered only for checksums and legacy systems that still ask for it.

Worked example

Hashing the word "abc" with SHA-256 always gives ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad - the published test vector used by engineers worldwide to check that a hash implementation is correct. Try it here and compare.

Frequently Asked Questions

Is this hash generator free?

Yes - free, no sign-up, no limits.

Is hashing the same as encryption?

No. A hash is one-way: it makes a fingerprint you can compare, but you cannot decrypt it back to the original text.

Why is SHA-1 marked "not for security"?

Researchers have produced real SHA-1 collisions, so it must not protect passwords, signatures or certificates. It is still fine as a quick file checksum where attacks are not a concern.

Should I hash passwords with SHA-256?

Not directly. Passwords need slow, salted password-hashing functions such as bcrypt, scrypt or Argon2 - fast hashes like SHA-256 let attackers guess billions of passwords per second.

Is my text uploaded to be hashed?

No. The hashing runs in your browser via Web Crypto; your text never leaves your device.

Related Developer Tools

Embed this tool on your website — free

Add this tool to your own website or blog — it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.