SHA-3 Hash Calculator

Calculate all four SHA-3 hashes of text, Hex or Base64 input: SHA3-224, SHA3-256, SHA3-384 and SHA3-512 (56, 64, 96 and 128 hex characters). These are the standardized NIST FIPS 202 variants. The hashes update as you type, each with its own Copy button, and the text never leaves your browser.

The hashes update as you type. Text is hashed as UTF-8, exactly as entered; line breaks are hashed as LF.

Hashing for Ethereum? Use the Keccak-256 Hash Calculator: Ethereum uses Keccak-256, which gives different hashes from SHA3-256.

What is SHA-3?

SHA-3 (Secure Hash Algorithm 3) is a family of cryptographic hash functions standardized by NIST in 2015 as FIPS 202. It is based on Keccak, selected in a public competition. SHA-3 offers a different internal design from SHA-2; SHA-2 remains secure and is not made obsolete by SHA-3.

Like other cryptographic hashes, SHA-3 converts input data into a fixed-length digest. A small change to the input will generally produce a very different result. Hashes can help verify data integrity, but they cannot be used to reconstruct the original input.

How does SHA-3 work?

SHA-3 uses a sponge construction. It absorbs input bytes into a 1600-bit state, repeatedly applies the Keccak-f[1600] permutation, and then squeezes out the requested digest. Unlike SHA-256 and SHA-512, the standardized SHA-3 hash functions are not susceptible to the classic length-extension attack.

This calculator converts text to UTF-8, or reads raw bytes written as Hex or Base64, and calculates all four SHA-3 variants locally in your browser. It does not upload your input for hashing.

SHA-3 variants

Algorithm Output Hex characters Rate (block size) Collision / preimage strength
SHA3-224 224 bits 56 1152 bits (144 bytes) 112 / 224 bits
SHA3-256 256 bits 64 1088 bits (136 bytes) 128 / 256 bits
SHA3-384 384 bits 96 832 bits (104 bytes) 192 / 384 bits
SHA3-512 512 bits 128 576 bits (72 bytes) 256 / 512 bits

All four variants use the SHA-3 standard, but they produce different digests even for the same input.

Which one should I use? SHA3-256 is the usual choice. Use SHA3-384 or SHA3-512 if a specification or compliance rule asks for a longer digest. SHA3-224 is mostly used where a short output is required.

SHA-3 test values

Use these values to check this calculator or any other SHA-3 tool. They include the NIST reference messages. Select Try to load an example into the calculator above, which then shows all four variants.

Input Input type SHA3-256 hash Try
Empty string Text a7ffc6f8bf1ed76651c14756a061d662f580ff4de43b49fa82d80a4b80f8434a
abc Text 3a985da74fe225b2045c172d6bd390bd855f086e3e9d525b46bfe24511431532
616263 Hex 3a985da74fe225b2045c172d6bd390bd855f086e3e9d525b46bfe24511431532
YWJj Base64 3a985da74fe225b2045c172d6bd390bd855f086e3e9d525b46bfe24511431532
hello Text 3338be694f50c5f338814986cdf0686453a888b84f424d792af4b9202398f392
hello followed by Enter Text b314e28493eae9dab57ac4f0c6d887bddbbeb810e900d818395ace558e96516d
68656c6c6f0d0a hello + CRLF Hex 7a5e1be0535111a63ac42e739b8aa5f28f66109b683e32f18f92c99234b82c64
café Text df3af2d3f8303dfe0037b32bd8cd080ff2df0e82d79fef74724858e02166e90c
hello 😀 Text ea34108034331b41f5254ba5ad42e4fa68f68add693a05be7330fe575a1676bd
68656c6c6f20f09f9880 Hex ea34108034331b41f5254ba5ad42e4fa68f68add693a05be7330fe575a1676bd
abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq NIST 448-bit message Text 41c0dba2a9d6240849100376a8235e2c82e1b9998a999e21db32dd97496d3376
A3 × 200 NIST 1600-bit message Hex 79f38adec5c20307a98ef76e8324afbfd46cfd81b22e3973c65fa1bd9de31787

abc, 616263 and YWJj are the same three bytes written as text, Hex and Base64, so they give the same hash, and so do the two hello 😀 rows: the emoji is 4 bytes in UTF-8 (f0 9f 98 80).

The calculator hashes exactly what you enter. A trailing space or line break changes the hash, and text that looks the same can differ in bytes: café typed with a single é and café written as e plus a combining accent give different hashes. Line breaks in Text mode are always hashed as LF (\n), because browsers store them that way in a text box. To hash a Windows CRLF line ending, use Hex (0d 0a), as in the hello + CRLF row.

SHA-3 vs. Keccak-256

SHA3-256 and Keccak-256 are not interchangeable. The NIST SHA-3 standard uses different domain-separation padding from the earlier Keccak implementation. Ethereum uses Keccak-256, not NIST SHA3-256. This calculator implements the standardized SHA-3 variants (with the SHA-3 domain-separation byte 0x06).

Input (UTF-8) SHA3-256 (this tool) Keccak-256 (Ethereum)
Empty string a7ffc6f8…80f8434a c5d24601…5d85a470
abc 3a985da7…11431532 4e03657a…a12d6c45
hello 3338be69…2398f392 1c8aff95…a36deac8

Both use the same Keccak-f[1600] permutation and the same 1088-bit rate. The only difference is the padding: SHA3-256 appends the domain-separation bits 01 (first padding byte 0x06), while the original Keccak appends none (first padding byte 0x01). That small change gives completely different digests. Need Ethereum's hash? Use the Keccak-256 Hash Calculator.

SHA-3 vs. SHA-2

SHA-2 (SHA-256, SHA-512 and others) uses the Merkle–Damgård construction: it compresses the message block by block into a fixed internal state. SHA-3 uses a sponge: it absorbs the message into a 1600-bit state and squeezes out the digest. Both are approved by NIST and considered secure. SHA-3 is an alternative with a different design, not a replacement. One practical difference: SHA-256 and SHA-512 allow length-extension attacks, so keyed hashes need HMAC; SHA-3 doesn't have this weakness.

How to use this calculator

  1. Enter or paste text in the Input text field. All four hashes update as you type.
  2. To hash raw bytes instead of text, change Input type to Hex or Base64. In Hex mode, spaces and 0x prefixes are allowed; an odd number of digits or a character other than 0–9 and a–f is an error.
  3. Select Copy beside the SHA3-224, SHA3-256, SHA3-384 or SHA3-512 result you need.
  4. Turn on Uppercase output if the other system shows hashes in capitals. Comparing hashes is not case-sensitive.

Frequently asked questions

Can SHA-3 hashes be reversed?

No. SHA-3 is a one-way cryptographic hash function. Although common inputs may be guessed and checked, a hash cannot feasibly be inverted to recover arbitrary original text.

Is SHA-3 more secure than SHA-2?

Both SHA-2 and SHA-3 are considered secure for general-purpose cryptographic hashing. SHA-3 provides an alternative construction, rather than a mandatory replacement for SHA-2.

Should I use SHA-3 to store passwords?

No. Neither SHA-3 nor SHA-2 is a password hash. Both are designed to be fast, so an attacker can test huge numbers of guesses per second, and neither adds a salt. Store passwords with a deliberately slow, salted function such as Argon2id, scrypt or bcrypt.

Why do two SHA-3 calculators produce different results?

Check the selected variant, exact input bytes, whitespace and text encoding. Also check whether the other calculator uses standardized SHA-3 or Keccak-256 (the pre-standard padding used by Ethereum).

Why doesn't my hash match sha3sum or openssl on the command line?

Usually because echo adds a line break at the end. Use printf '%s' 'text' | openssl dgst -sha3-256 or echo -n instead, so the command hashes the same bytes as this calculator.

Does this tool calculate SHAKE128 or SHAKE256?

No. FIPS 202 also defines SHAKE128 and SHAKE256, which are extendable-output functions with a length you choose. This tool calculates the four fixed-length SHA-3 hashes only, from text, Hex or Base64 input.

Last updated:

© 2008–2026 XORBIN.COM. All rights reserved.