About Hash text
Use the SHA text hash generator to compare the exact bytes of a short message. Choose the default to calculate SHA-256 for UTF-8 text, or select SHA-384 or SHA-512. Spaces, line endings, and Unicode representation all affect the digest.
How to calculate a SHA-2 text digest
- Enter the exact message, including meaningful spaces and line breaks; empty input is allowed.
- Choose SHA-256, SHA-384, or SHA-512 and select Process.
- Copy the lowercase hexadecimal digest or download hash.txt.
A practical example
- Input
abc
- Result
ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad
This digest hashes three UTF-8 bytes, with no trailing newline.
Supported input and limitations
- Input is text up to 5 MB, not arbitrary binary-file hashing. Web Crypto requires a supported secure browser context.
- A fast SHA digest is not a password-storage algorithm, encryption, or proof of authenticity. MD5 and SHA-1 are deliberately not offered.
Processing happens on your device. Read about local processing and optional workspace recovery.
Frequently asked questions
Why does the same visible text produce a different hash?
Trailing newlines, different line endings, invisible characters, or different Unicode normalization can change the UTF-8 bytes. No normalization is applied here.
Can a SHA hash verify who sent a message?
Not by itself. Use an appropriate keyed MAC or signature protocol with trusted keys when authenticity matters.