sha3-512 hash generator online

Recommended

Create the sha3-512 hash of any text: 128 hex characters, the same result as PHP's hash(). Check a hash or a file below. Nothing leaves your browser.

Runs in your browser
A hash is one-way. It can't be turned back into the text.
Check & convert

Compare, hash a file, copy any format

Type text in the tool above or choose a file. Case, spaces and prefixes like sha3-512: don't matter.

Formats for hello world
Hex
840006653e9ac9e95117a15c915caab81662918e925de9e004f774ff82d7079a40d4d27b1b372657c61d46d470304c88c788b3a4527ad074d1dccbee5dbaa99a
HEX (upper case)
840006653E9AC9E95117A15C915CAAB81662918E925DE9E004F774FF82D7079A40D4D27B1B372657C61D46D470304C88C788B3A4527AD074D1DCCBEE5DBAA99A
Base64
hAAGZT6ayelRF6FckVyquBZikY6SXengBPd0/4LXB5pA1NJ7GzcmV8YdRtRwMEyIx4izpFJ60HTR3MvuXbqpmg==

Files are read in your browser and never uploaded.

In short

What is SHA3-512?

SHA3-512 is the 512-bit hash of the SHA-3 standard (FIPS 202, 2015), written as 128 hex characters. It is the most conservative SHA-3 variant and slower than SHA-512 in software.

SecureNo practical attacks known. Fine for integrity checks and signatures.
Try it

Change one letter, see what happens

A cryptographic hash changes about half of all bits when one input character changes. Nothing about the old hash tells you what the new one will be.

Hash A…
Hash B…

Calculating…

SHA-3 vs Keccak

Why your Ethereum hash doesn't match

Ethereum and Solidity's keccak256() use Keccak as submitted to the SHA-3 competition. NIST changed the padding byte from 01 to 06 when it standardised SHA-3, so every result differs.

SHA3-256 (FIPS 202)
…
Keccak-256 (Ethereum)
…

The first 4 bytes of Keccak-256 of a function signature are its Solidity selector.

Use it in code

The same result in your code

Every snippet prints 840006653e9ac9e95117a15c915caab81662918e925de9e004f774ff82d7079a40d4d27b1b372657c61d46d470304c88c788b3a4527ad074d1dccbee5dbaa99a for hello world, the same as the tool. They are run against PHP's hash() before each release.

PHP
echo hash('sha3-512', 'hello world');
Python
import hashlib

print(hashlib.sha3_512("hello world".encode()).hexdigest())
Node.js
import { createHash } from "node:crypto";

console.log(createHash("sha3-512").update("hello world").digest("hex"));
Java
import java.nio.charset.StandardCharsets;
import java.security.MessageDigest;
import java.util.HexFormat;

public class Hash {
  public static void main(String[] args) throws Exception {
    byte[] digest = MessageDigest.getInstance("SHA3-512")
        .digest("hello world".getBytes(StandardCharsets.UTF_8));
    System.out.println(HexFormat.of().formatHex(digest)); // Java 17+
  }
}
Go
package main

import (
	"fmt"
	"crypto/sha3"
)

func main() {
	fmt.Printf("%x\n", sha3.Sum512([]byte("hello world")))
}

crypto/sha3 is in the standard library since Go 1.24.

Command line
printf '%s' 'hello world' | openssl dgst -sha3-512
Test values

SHA3-512 test values

Hashes of common test strings (UTF-8, no line break). Use them to check your own implementation.

Inputsha3-512
empty stringa69f73cca23a9ac5c8b567dc185a756e97c982164fe25859e0d1dcc1475c80a615b2123af1f5f94c11e3e9402c3ac558f500199d95b6d3e301758586281dcd26
abcb751850b1a57168a5693cd924b6b096e08f621827444f70d884f5d0240d2712e10e116e9192af3c91a7ec57647e3934057340b4cf408d5a56592f8274eec53f0
hello world840006653e9ac9e95117a15c915caab81662918e925de9e004f774ff82d7079a40d4d27b1b372657c61d46d470304c88c788b3a4527ad074d1dccbee5dbaa99a
The quick brown fox jumps over the lazy dog01dedd5de4ef14642445ba5f5b97c15e47b9ad931326e4b0727cd94cefc44fff23f07bf543139939b49128caf436dc1bdee54fcb24023a08d9403f9b4bf0d450
Common mistakes

Why your SHA3-512 doesn't match

SHA3-256 is not Keccak-256

Ethereum and Solidity's keccak256() use the original Keccak padding (0x01) from before standardisation; FIPS 202 SHA-3 uses 0x06. Same length, different result. Compare both below.

A line break sneaks in

echo "hello world" | sha256sum hashes 12 bytes: the text plus a line break. Use printf '%s' 'hello world' or echo -n to hash exactly 11 bytes.

Same text, different bytes

The tool hashes UTF-8 bytes, like most languages. Windows APIs and .NET's Encoding.Unicode use UTF-16, older systems Latin-1. "ü" is 2 bytes in UTF-8, 1 in Latin-1, 2 in UTF-16, and each gives a different hash.

Upper or lower case

Hex is not case-sensitive: 5EB63BBB… and 5eb63bbb… are the same hash. Compare in one case, and watch for spaces or a prefix like "sha256:".

This tool trims and uses CRLF

Like the form on the original site, the tool removes spaces and line breaks at the start and end and sends line breaks as CRLF (\r\n). For exact bytes use "Hash a file" or "Exactly as typed" in the check panel.

Compare

The SHA-3 family side by side

The same text, every SHA-3 algorithm. Shown for hello world; type in the tool above to use your text.

AlgorithmHashBits
sha3-224dfb7f18c77e928bb56faeb2da27291bd790bc1045cde45f3210bb6c5224
sha3-256644bcc7e564373040999aac89e7622f3ca71fba1d972fd94a31c3bfbf24e3938256
sha3-38483bff28dde1b1bf5810071c6643c08e5b05bdb836effd70b403ea8ea0a634dc4997eb1053aa3593f590f9c63630dd90b384
sha3-512840006653e9ac9e95117a15c915caab81662918e925de9e004f774ff82d7079a40d4d27b1b372657c61d46d470304c88c788b3a4527ad074d1dccbee5dbaa99a512
Measured on your device

How fast is SHA3-512?

Hashes up to 4 MB of random data in your browser and compares with sha256, xxh3. Browser numbers are lower than native code, but the ranking holds.

FAQ

Questions about SHA3-512

Can SHA3-512 be decrypted?

No. SHA3-512 is a one-way function: there is no key and no way to compute the input from the hash. Sites that "decrypt" SHA3-512 look the hash up in large tables of known inputs, which only works for short or common strings.

How long is a SHA3-512 hash?

A SHA3-512 hash is always 512 bits, written as 128 hexadecimal characters (64 bytes), no matter how long the input is.

Is SHA3-512 secure?

Yes. No practical attack on SHA3-512 is known, and it is approved for integrity checks and signatures. For passwords use a slow password hash instead.

Should I hash passwords with SHA3-512?

No. SHA3-512 is fast, so attackers can test huge numbers of guesses. Use Argon2id, bcrypt or scrypt with a unique salt per password.

Good to know

Before you rely on it

Searches the list of pages on this site. What you type stays in your browser.