SHA3-512 Hash Generator
HG-13Paste text to get its SHA3-512 hash, 128 hex characters long. A select switches to SHA3-384 or SHA3-224. It runs in your browser as you type.
Runs in your browser. Nothing is uploaded.
Text (hashed as UTF-8)
SHA-3 hash
How to use it
- Type or paste your text into the input box. Sample loads the quick brown fox sentence.
- The SHA3-512 hash appears as you type. Change Output size for SHA3-384 or SHA3-224.
- Choose lowercase hex, UPPERCASE hex or Base64 for the output.
- Tick Ignore one trailing line break if your text ends with a newline you do not want hashed.
- Copy the result, or download it as a .txt file.
The SHA-3 sizes on this page
SHA-3 has four fixed sizes in FIPS 202: 224, 256, 384 and 512 bits. This page gives 512 by default, plus 384 and 224 in the select; SHA3-256 has its own page. The sizes share one sponge, with the capacity set to twice the output length, so a larger hash also means a smaller block rate. The empty string gives a69f73cca23a9ac5c8b567dc185a756e97c982164fe25859e0d1dcc1475c80a6 in the first half of SHA3-512 and the full 128 characters on this page.
Why the code is on the page
Web Crypto offers SHA-1 and the SHA-2 family, not SHA-3, so this page includes its own Keccak implementation. It is checked against the FIPS 202 examples for each size and against the SHA-3 support in Node on random inputs. It is not the original Keccak: that uses a different padding byte and gives different values, so Ethereum-style hashes need the Keccak-256 page.
Limits to know
The text is encoded as UTF-8 and hashed as typed, so a trailing line break matters. This tool hashes text, not files. SHA-3 is fast, so it is not a way to store passwords; use bcrypt, scrypt or Argon2 with a salt for that. A lone surrogate half is turned into U+FFFD before hashing.
Questions people ask
How do I generate a SHA3-512 hash?
Type or paste your text and the SHA3-512 hash appears at once. Use the Output size select for SHA3-384 or SHA3-224, choose hex or Base64, and copy the result or download it as a .txt file.
How long is a SHA3-512 hash?
It is 512 bits, or 64 bytes. In hex that is 128 characters and in Base64 it is 88 characters with two padding signs. SHA3-384 gives 96 hex characters and SHA3-224 gives 56.
What is the difference between SHA3-512 and SHA-512?
They output the same number of bits but come from different designs. SHA-512 is in the SHA-2 family; SHA3-512 uses the Keccak sponge. The same text gives unrelated values, so you cannot swap one for the other.
Is SHA3-384 or SHA3-224 on this page too?
Yes. Use the Output size select to pick SHA3-384 or SHA3-224. The output label stays SHA-3 hash, and the hex length shows which one you chose: 96 characters for 384 and 56 for 224.
Is SHA3-512 slower than SHA-512?
In software on a typical 64-bit CPU, SHA3-512 is usually slower than SHA-512, because its wider capacity leaves a smaller block rate. This page does not measure speed, and for short text the difference is not noticeable.
Is SHA3-512 the same as Keccak-512?
No. The original Keccak submission pads with 0x01 and FIPS 202 SHA-3 pads with 0x06, so the hashes differ for every input. This page follows the NIST standard.
About this tool
SHA3-512 is the FIPS 202 standard built on the Keccak sponge; the select also gives SHA3-384 and SHA3-224 (SHA3-256 has its own page). It is written out in this page's own code, because Web Crypto does not offer SHA-3, and checked against the FIPS 202 examples. It is not the same as SHA-512, and not the same as the original Keccak. It is a fast general-purpose hash, so do not use it alone to store passwords: that needs a slow, salted function such as bcrypt, scrypt or Argon2, which this tool is not. The text is hashed exactly as typed, as UTF-8 (a lone surrogate half becomes U+FFFD first), so a trailing line break or a space changes the result; "Ignore one trailing line break" removes one. It hashes text, not files: a file saved with different line endings would give a different hash than the same words typed here.