Generate SHA-1, SHA-256, SHA-384, or SHA-512 hexadecimal hashes locally.
Ready to use · Runs in your browser · No signup
Loading tool…
How to use the Hash Generator
Generate standard SHA-family message digests from text using your browser's built-in Web Crypto API.
Generate supported cryptographic digests from text in the browser for checks, development, and reproducible comparisons. A hash is one-way by design but is not safe password storage without a password-specific scheme.
Input stays in the browser and is not sent to Fieldlet. Do not treat a formatting, encoding, test, or generated value as a substitute for security review.
Paste or type the input text.
Choose a supported SHA algorithm.
Fieldlet encodes the text as UTF-8, hashes it locally, and displays the hexadecimal digest.
Last reviewed for accuracy:
Worked examples
Verify an unchanged message
Scenario: The same text is hashed twice with SHA-256 using identical UTF-8 encoding.
Result: Both runs return the same 64-character hexadecimal digest.
Cryptographic hash functions deterministically map the same byte sequence to the same fixed-length output; changing one byte produces a different digest.
How the result is produced
The tool converts text to UTF-8 bytes and uses the browser's cryptographic digest implementation. Output can be shown in hexadecimal for copying and comparison.
Hashing is deterministic for identical bytes
A digest does not conceal a low-entropy password from guessing attacks
Comparisons require the same algorithm and exact input encoding
References
These primary references document standards or definitions used in the explanation above.
A text hash cannot verify who created or approved the input.
Plain SHA hashes are unsuitable for storing passwords; use a salted, slow password-hashing system.
Common questions
Can I reverse a cryptographic hash?
No. Cryptographic hash functions are designed to be one-way; this tool generates digests rather than decoding them.
Should I use SHA-1 for security?
No. SHA-1 is included only for legacy compatibility and checksums. Use a modern algorithm such as SHA-256 or stronger for current security-sensitive work.
Can a hash be decrypted?
A cryptographic hash is not encryption and has no decryption key. Attackers can still guess likely inputs and compare their hashes, especially for passwords.