Online XXH3 Hash Calculator

Other algorithm calculators

MD2 MD4 MD5 SHA1 SHA224 SHA256 SHA384 SHA512/224 SHA512/256 SHA512 SHA3-224 SHA3-256 SHA3-384 SHA3-512 RIPEMD128 RIPEMD160 RIPEMD256 RIPEMD320 WHIRLPOOL TIGER128,3 TIGER160,3 TIGER192,3 TIGER128,4 TIGER160,4 TIGER192,4 SNEFRU SNEFRU256 GOST GOST-CRYPTO ADLER32 CRC32 CRC32B CRC32C FNV132 FNV1A32 FNV164 FNV1A64 JOAAT MURMUR3A MURMUR3C MURMUR3F XXH32 XXH64 XXH3 XXH128 HAVAL128,3 HAVAL160,3 HAVAL192,3 HAVAL224,3 HAVAL256,3 HAVAL128,4 HAVAL160,4 HAVAL192,4 HAVAL224,4 HAVAL256,4 HAVAL128,5 HAVAL160,5 HAVAL192,5 HAVAL224,5 HAVAL256,5

Your last 10 encodings

AlgorithmStringHash
sha512thomascad618d77e1c7e64f9069e67fd2782cc040a33559e4cd948efb81cf94630e106eb754fce1a7720d1da29dd6b5df2603ad8c7c4df3dd89077ef7e0d7b09c50109
md5111698d51a19d8a121ce581499d7b701668
ripemd160googledfbeb0b35a4618f6726b89b6f3440f06ea6e8922
snefrupepper582956d3863a06e641502ae06235a13f3c41d99769391d216eb23c47bb9cec53
adler32test045d01c1
gost-cryptoadmina15fd34ab1329ccc4907e554cf43304d1bdb38e0382b63827062dfcb9caad299
crc32killered3ea361
crc32cgoogledd589895
whirlpoolkillered98ccb6bcd9cc82012a9561b4db8e39e91c16c0491a150cc2700740203c388a1dc05c723da4b609bcd8f5ce20b5fb640723d589e0d48b4bb9c0a95999cf1d30
adler32google08c9027e

Usage FAQ

Usage from Address Bar

Access this page directly from your browser's address bar. Enter the string you need to encode with an algorithm according to the following schema: https://md5calc.com/hash/<ALGORITHM>/<PHRASE> For example, to visit the page with the hash of "hello world", simply go to: https://md5calc.com/hash/md5/hello+world Another cool feature is that you can specify "json" or "plain" mode in the URL to get only the HASH in the response. Schema of this feature: https://md5calc.com/hash/<ALGORITHM>.<OUTPUT:plain|json>/<PHRASE> Example: https://md5calc.com/hash/md5.json/hello+world Will output only: "5eb63bbbe01eeed093cb22bb8f5acdc3"

If you have a string containing complex URL-encoded characters, you can send it directly via parameters to avoid processing by our URL parser. Use:
str - for string to encode
algo - for algorithm
output - for output type (empty, "json" or "plain")
https://md5calc.com/hash?algo=<ALGORITHM>&str=<PHRASE>&output=<OUTPUT:plain|json> https://md5calc.com/hash?algo=md5&str=hello%0Aworld https://md5calc.com/hash/md5?str=hello%0Aworld

Usage from Javascript

We have removed CORS restriction so you can access the hash calculator directly in your JavaScript applications via AJAX.

Example:

var toEncode = 'hello world';
var xhr = new XMLHttpRequest();
xhr.onreadystatechange = function () {
if (xhr.readyState == 4 && xhr.status == 200) {
console.log('JSON of "'+toEncode+'" is "'+JSON.parse(xhr.response)+'"');
};
};
xhr.open('GET', 'https://md5calc.com/hash/md5.json/'+encodeURIComponent(toEncode), true);
xhr.send();
Will output: JSON of "hello world" is "5eb63bbbe01eeed093cb22bb8f5acdc3"

Usage from PHP

You can access this function directly in your applications.

PHP Example: <?php
$str = 'hello world';
$url ='https://md5calc.com/hash/md5.plain/'.urlencode($str);
$md5hash = file_get_contents($url);
echo 'Hash of "'.$str.'" is "'.$md5hash.'"';
Will output: Hash of "hello world" is "5eb63bbbe01eeed093cb22bb8f5acdc3"

Chains of algorithms

In some cases, you may need to encode a string using two or more algorithms. For these cases, we have introduced chains of algorithms. For example, if you need to encode a string according to this schema: md5(sha512(sha1('hello world'))) you can do this by connecting algorithms with a double dash: https://md5calc.com/hash/md5--sha512--sha1/hello+world If you do this in your address bar, you can also use a semicolon instead of a double dash. https://md5calc.com/hash/md5;sha512;sha1/hello+world Note that the semicolon should be encoded in the URL, so if you are not using a browser, you should use '%3B' instead: https://md5calc.com/hash/md5%3Bsha512%3Bsha1/hello+world Such approach can be also used with "plain" and "json" mode https://md5calc.com/hash/md5--sha512--sha1.plain/hello+world https://md5calc.com/hash/md5;sha512;sha1.json/hello+world

You can also use special chain item "b64d" or "base64decode" to make base64 decode. It can help to hash any of not printable characters. Example: https://md5calc.com/hash/md5.plain/hello+world https://md5calc.com/hash/b64d--md5.plain/aGVsbG8gd29ybGQ= will be the same: 5eb63bbbe01eeed093cb22bb8f5acdc3

Carriage Return and Line Feed characters

Currently, our text editor doesn't have functionality to determine which of those characters you want to keep in the string. This issue arises because browsers normalize all line endings to the "CRLF" ("\r\n") format according to the HTML specification. This means that if you paste a string from the clipboard:
"hello\nword" and press "Encode", your browser will convert it to "hello\r\nword" and only after this will your browser send the FORM to us. As a result, we will show you the hash of: "hello\r\nword" but not "hello\nword"

You can avoid this by encoding the string to "Base64" on your side and using the "Chains of algorithms" described above.

Example 1: Hash from string with only Line Feed (LF) character Text: hello\nworld
Text encoded to BASE64: aGVsbG8Kd29ybGQ=
URL: https://md5calc.com/hash/b64d--md5.plain/aGVsbG8Kd29ybGQ=
RESULT: 9195d0beb2a889e1be05ed6bb1954837

Example 2: Hash from string with Carriage Return (CR) and Line Feed (LF) character. This is the result you will get if you use an editor with CR, LF, or CRLF symbols.
Text: hello\r\nworld
Text encoded to BASE64: aGVsbG8NCndvcmxk
URL: https://md5calc.com/hash/b64d--md5.plain/aGVsbG8NCndvcmxk
RESULT: 6a4316b18e6162cf9fcfa435c8eb74c1

Please read the privacy policy (agreement of the cookies usage, other websites embedded content, etc.). If you continue to use the site, we will assume that you agree with our privacy policy.
OkPrivacy Policy