SHA256 hash

SHA256 encoded string

d7502760dffb33ca80c145d059d73f1ee9c6ffe15706a3cbd0bee9bf0816b713

Your last 10 encodings

AlgorithmStringHash
sha256['BKNG' 'ADT' 'NC' 'LNG' 'GOLF' 'STFC' 'KRP']d7502760dffb33ca80c145d059d73f1ee9c6ffe15706a3cbd0bee9bf0816b713

String encoded to other algorithms

Here you can view hashes for "['BKNG' 'ADT' 'NC' 'LNG' 'GOLF' 'STFC' 'KRP']" string encoded with other popular algorithms

MD2 7a71ad9936c7c549f70c902261593a7b
MD4 b7df65af2f53d4cbeb37253b18189d95
MD5 bd48515a4d65e81397defc70150812fb
SHA1 5a58df48b0762853ae1207a5a3f5331e4ddd9f93
SHA224 bbe03d3a0e1b155c9b5cdb52c151c19acb41998bf32a59b089210ced
SHA256 d7502760dffb33ca80c145d059d73f1ee9c6ffe15706a3cbd0bee9bf0816b713
SHA384 39ee8eed904885c45b84e23444465e211668c5239737e844a6e8c8b550ea4333cf60a483db216d8e27c4f1f6e6135d78
SHA512/224 16202ae9afbbb4a8dba71817d39002f27ff8eda977b4e95ba8601e65
SHA512/256 996cd6c2ee8136a453a0f3f687c26d57244d4e615c11871672b96266cdd20567
SHA512 4136e47fda5c8887214ce35ab2bd37775f3dae3aee140c9767e11765077868d5acbbf8847c9b8bd4917d55d9172e0dd2d38ec3c610206081b38173dde64e5323
SHA3-224 a2ad2acaab337cc8eb28271eeb63dbedd3ce48bba127b6848a9bc8f9
SHA3-256 57cad3b90c8ae486758f37261f579ce9d6a2dec8d49f08a055b5d4d49765912c
SHA3-384 f390181a66ce66bfd8706b26c3ef056b82e0ceb475005e07223229fd247b720d3c66c34f7fc9067429b7b8daa6fe1a49
SHA3-512 78c851a01b468ba72c256bce0d0391bfea74423eee0171a6e652c1eaf7c1f181abd6012f60130affe1ccda348b3c640d073a80283d2e234e9f3853bc7c30438a
RIPEMD128 15fffcaf964449c617b7da4a8e83853f
RIPEMD160 3495ab2fe683f7d778f9ddb12a25f3a7534680bd
RIPEMD256 8cadda2f4a1a251f11790bacca3b5b6be452fd91d12c2331981cba31622ddc6e
RIPEMD320 02fbd0f897b8cb93cddb5a16db4145befab323d144b3cf0175435178ef8669ad9a423e5a4b20973f
WHIRLPOOL cebb941bab19402dd12d006815450c7688b5a4a087f50aaf3a284768d748a0ba0b9be2df4a865b656738c0df73764f7d0061bb4f9b607026e516e2512bc3b152
TIGER128,3 47a0f1268f6cdb1df465152b145826da
TIGER160,3 47a0f1268f6cdb1df465152b145826da1ff100e0
TIGER192,3 47a0f1268f6cdb1df465152b145826da1ff100e0d38549d1
TIGER128,4 1ca4cad6714b7eb64f1915ce02161a8a
TIGER160,4 1ca4cad6714b7eb64f1915ce02161a8ab3db394d
TIGER192,4 1ca4cad6714b7eb64f1915ce02161a8ab3db394da748ea6a
SNEFRU 512ad69bdf0dbe8c9f2f79645b26463d3b281ab1ae2de371b31b5ae241c68271
SNEFRU256 512ad69bdf0dbe8c9f2f79645b26463d3b281ab1ae2de371b31b5ae241c68271
GOST d61501fc916f07c2c1ab757d2a3be6682458815911c89c765a6420ae9631526e
GOST-CRYPTO 290628b30961b89c6ee95f5cd382db9d3adb4b17ca64b3310c806005adc92bf7
ADLER32 ea340a4d
CRC32 d789c27a
CRC32B 29562ba6
CRC32C c0e57578
FNV132 74e7a973
FNV1A32 3aefb36f
FNV164 1e6d1195227db1d3
FNV1A64 4277a24fbc72e48f
JOAAT 6b0ca877
MURMUR3A 2d92efb3
MURMUR3C f40417b2ddadc95e3a14c670aded4235
MURMUR3F 432381c339f843c93981ce8533902075
XXH32 c4b3a3a0
XXH64 1978ca267de90907
XXH3 87847769a0b222d5
XXH128 83fcf6cd09b5cac66aad49655614ba1c
HAVAL128,3 ba5eaa16d0b717de3996732d21c8951e
HAVAL160,3 655f7fd0ff49c739e5c60e49fd88f43243d3a1bd
HAVAL192,3 9a288e5a27126fea65a0912d5080668e0a138195f8cff6e1
HAVAL224,3 c0cf4c4dff1ea9c85e8495847a76578af2d5cdc1bc7dee414e4e6869
HAVAL256,3 eecc0424abbe40774722cae4cb03af16c5ff5933acae72e5c5c6b5a2535af20f
HAVAL128,4 2cb1edf9479a9fcde46ee9ae476c0176
HAVAL160,4 e0c490d95ed5d5f4461866f22b7f237daf2e0133
HAVAL192,4 e5ed55315f0c93ad6d2012463cbfdfe60e3c507394563b0b
HAVAL224,4 fb2b28464a0c6c985f4459c648f1c515cc2be9e150ce3cd3620aa4eb
HAVAL256,4 175cc55d36783305b9222ffcb3f0970866a982b354d4f101fc29bf291a0f4230
HAVAL128,5 00462d1146af25a85ce3df7a0e3e714f
HAVAL160,5 8d744d92ae928f4e37654ec5fc3bd2fcd33e6baf
HAVAL192,5 3ea99f3e58a80da4cd3e6d085d7b8484c1401b8ee8c2204c
HAVAL224,5 6d1c8f56b48e333b14435c3f18df06853ae549713c529ea7a8d219e9
HAVAL256,5 df0dfb9233c51780d7bdc6f908ac479621f14a19d678b6e2451a5474baf21117

Usage FAQ

Usage from Address Bar

You can use direct access to this page from your browser address bar. Type string that you need to encode with algorithm according to next schema: https://md5calc.com/hash/<ALGORITHM>/<PHRASE> For example to visit page that contains hash of "hello world" you can just visit url: https://md5calc.com/hash/md5/hello+world The another cool thing is that you can specify "json" or "plain" mode into URL and you will get only HASH in response. Schema of this future: 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 string that contains complicated urlencoded characters you can send it directly via params to avoid processing of 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 use direct access to hash calculator 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 use direct access to hash 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 can need encode string with two or more algorithms. For these cases we have introduced chains of algorithms. For example if you need to encode 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 will do this in your address bar you can also use semicolon instead of double dash. https://md5calc.com/hash/md5;sha512;sha1/hello+world Pay attention that semicolon should be encoded in url, so if you use it not in your 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

At present time our text editor doesn't have functionality that can take into account which of those characters you want to keep in string. This problem come from browsers which normalize all of the line endings to "CRLF" ("\r\n") format according to "HTML specification". It means that if you paste from buffer string
"hello\nword" and press "Encode", your browser will convert it to "hello\r\nword" and only after this your browser send FORM to us. As a result we will show you hash of "hello\r\nword" but not "hello\nword"

You can avoid this with encode string to "base64" on your side and use "Chains of algorithms" that 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 result you will have if you use 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

How to calculate sha256 hash in PHP with hash function

Since version 5.1.2 PHP contains function hash() that you can use to get sha256 hash from strings.

<?php
    $str = '¡Hola!';
    $hash = hash('sha256', $str, false);
    echo '<pre>';
    echo $str.PHP_EOL
         .' &rarr; '.$hash.PHP_EOL
    ;
    echo '</pre>';
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