TOOL · 06
Text Hash Generator
Generate cryptographic hashes from any text — SHA-1, SHA-256, SHA-384 and SHA-512 via the Web Crypto API.
Input text
Output
About hash functions
A cryptographic hash function maps input data to a fixed-size string, and it is one-way: you cannot recover the input from the digest. SHA-256 is widely used for integrity checks, digital signatures and blockchain.
Features
Four algorithms
SHA-1, SHA-256, SHA-384 and SHA-512 in one click.
Web Crypto API
Native browser cryptography — fast and standards-compliant.
100% private
Hashing runs locally — your text never leaves the page.
Free forever
No registration, no limits, no watermarks.
How to use
-
1
Type or paste text
Any text works — a password, a file’s content, a message.
-
2
Click Generate
All four SHA digests are computed at once.
-
3
Copy a digest
Copy the hex value you need for your checksum or signature.
Use cases
Integrity checks
Verify a downloaded file by comparing its digest with the published one.
Digital signatures
Produce the digest that a signature algorithm signs.
Deduplication
Fingerprint content to detect duplicates quickly.
Learning crypto
See how a tiny input change produces a completely different digest.
Example
hello
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
SHA-256 always outputs 64 hex characters (256 bits), no matter the input size. Change one character of the input and the whole digest changes — the avalanche effect.
FAQ
Can I recover the original text from a hash?
No. SHA functions are one-way. You can only check whether a given input produces the same digest.
Should I use SHA-1 for passwords?
No. SHA-1 is broken for security purposes, and plain SHA-256 is too fast for passwords — use a dedicated password hash like bcrypt or Argon2.
Why do I get an error on some browsers?
The Web Crypto API needs a secure context. If it is unavailable, this tool falls back to a pure-JavaScript implementation so it still works.