Security utility

SHA Hash Generator

Generate SHA-1, SHA-256, SHA-384, and SHA-512 hashes from text or local files, copy HEX or Base64 digests, and verify expected hashes directly in your browser.

Hash input

Text or local file

Web Crypto

Ready.

HEX digest Base64 digest

Digest details

Hash result summary

AlgorithmSHA-256
Digest bits256
Input bytes11
HEX length64
SourceText
VerificationNo expected hash

Popular SHA examples

SHA algorithm reference

AlgorithmDigest sizeHEX lengthTypical use
SHA-1160 bits40 charsLegacy fingerprints only; avoid for new security-sensitive work
SHA-256256 bits64 charsChecksums, integrity checks, package verification, API signatures
SHA-384384 bits96 charsLonger digest option for modern systems
SHA-512512 bits128 charsLong digests, release checksums, high-margin integrity fingerprints

Hashing notes

Local processingText and files are hashed in the browser with Web Crypto. File content is not uploaded to this server.
Deterministic outputThe same bytes with the same algorithm always produce the same digest.
Encoding mattersText input is encoded as UTF-8 before hashing. File input hashes the raw file bytes.
Not reversibleSHA hashes are fingerprints. They cannot be decoded back to the original text or file.

FAQ

Should I use SHA-1?

Use SHA-1 only when you must match an old system or published legacy checksum. For new integrity checks, SHA-256 is the practical default.

Can this hash large files?

The browser reads the selected file into memory before hashing. It is fine for common downloads and documents, but very large files may be limited by available device memory.

Can I verify a published checksum?

Yes. Select the same algorithm, hash the text or file, then paste the published HEX or Base64 checksum into the compare field.