SHA-2 Hash Calculator (SHA-224, SHA-384 & SHA-512/t)

Calculate SHA-224, SHA-384, SHA-512/224 or SHA-512/256 for text or files.



How to use

Choose SHA-512/256 to get a 256-bit digest. It uses a different initial state from SHA-512, so taking the first 64 Hex digits of a SHA-512 digest gives a different result.

FAQ

Can I compare variants without resubmitting a file?

Keep the file selected and choose a different SHA-2 variant. The browser reads and hashes the file locally each time.

What is supported?

Enter UTF-8, Hex or Base64, or select a file up to 8 MiB. The digest is shown in Hex.

Other Languages

SHA-2 Hash Calculator (SHA-224, SHA-384 & SHA-512/t) — Base64.sh

SHA-2 Hash Calculator (SHA-224, SHA-384 & SHA-512/t)

Calculate SHA-224, SHA-384, SHA-512/224 or SHA-512/256 for text or files.

Share:

References

How we make sure

We check this tool with the automated test suites linked below. Example checks are shown in their original language.

Verification method
Compare SHA-224, SHA-384, SHA-512/224 and SHA-512/256 with Node crypto on empty text, abc, Chinese/emoji and binary bytes.
Comparison reference
Node.js 24.22.1 crypto (OpenSSL 3.5.9) versus @noble/hashes 2.4.0.
Verification scope
The comparison covers four SHA-2 variants for representative text and byte inputs.
Test source and cases (select a file to read it)

These checks cover the listed examples and boundaries, not every possible input. Round trips and checks using the same library are not independent verification.