ToolSprinkle.

SHA hash generator

Hash UTF-8 text with SHA-256, SHA-384 or SHA-512 in your browser. Compare exact-byte examples and copy or download the hexadecimal digest.

From input to insight.
PROCESSED ON YOUR DEVICE

Ready when you are.

◎ No uploads. Your input stays here.↗ Free to use. No account needed.⌘ / Ctrl + Enter to run

A worked example

Using the default settings. You can try the same input in the workspace.

Input / settings

Hello, world!

Expected result

315f5bdb76d078c43b8ac0064e4a0164612b1fce77c869345bfc94c75894edd3
A LITTLE GUIDANCE

How to use SHA hash generator

Choose an algorithm, enter the text and select Run tool. Copy or download the lowercase hexadecimal digest. Spaces and line breaks in the input matter; no file upload or automatic trimming is performed.

Good to know

Text hashes are fingerprints, not encryption, signatures or password storage. This tool does not calculate file checksums, HMACs or salted password hashes.

A few quick answers.

Can I recover the text from its SHA hash?

A hash is not reversible encryption. Even a newline changes the digest. These fast SHA hashes are not a substitute for password hashing algorithms such as Argon2.

Is my input sent to a server?

No. This tool processes your input in your browser. We don't store your text, files or results. Standard website access logs are separate; read our privacy notes.

Can I use it for free?

Yes. No account, subscription or usage credits are required.

How do I keep my result?

Use Copy or Download after running the tool. Inputs are not saved automatically and disappear when you leave or refresh the page.

Text hashing: algorithms, bytes and verification

Three SHA-2 algorithms, fixed-length output

SHA-256 produces 64 hexadecimal characters (256 bits), SHA-384 produces 96 and SHA-512 produces 128. These are digest lengths, not input limits. Select the same algorithm as the reference you are comparing; a SHA-256 digest cannot be compared directly with SHA-512.

A reproducible SHA-256 check

Enter abc with no quotes, spaces or trailing newline. The expected digest is ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad. Adding a line break changes it. The worked example above uses Hello, world! exactly, with the comma, space and exclamation mark.

UTF-8 and visually identical text

The browser encodes the text as UTF-8 using TextEncoder, then hashes those bytes with Web Crypto. It does not normalize Unicode: a precomposed é and an e followed by a combining acute accent look similar but produce different digests. The text box can normalize pasted line endings, so this is not a byte-for-byte file checksum utility.

What a matching digest does not prove

A digest comparison is useful only when the expected value comes from a trusted source. An attacker who can replace both text and its published digest can make them agree. A plain hash does not authenticate a sender, encrypt text or make a guessable password secret. Applications should use a dedicated salted password-hashing scheme, not these fast SHA digests.

Choose by purpose: compare a text fingerprint, generate a password or create random identifiers. These operations are not interchangeable; do not paste passwords into other tools just to test them.

Method references: Web Crypto digest and UTF-8 example, cryptographic random values, and RFC 9562: UUID version 4.

Keep your flow going.

More developer tools ↗

What would you like to do?

↑ ↓ Navigate · Enter Open · Esc Close. Switching tools clears unsaved input.