SHA256 hash

SHA256 encoded string

68bbb2f8f271460d16a863bc193c82a635f9b9ad192f043254f7372a8f346019

Your last 10 encodings

AlgorithmStringHash
sha256%5B%27HOLI%27 %27APTX%27%5D68bbb2f8f271460d16a863bc193c82a635f9b9ad192f043254f7372a8f346019

String "%5B%27HOLI%27 %27APTX%27%5D" encoded to other algorithms

Here you can view hashes for "%5B%27HOLI%27 %27APTX%27%5D" string encoded with other popular algorithms

MD2 32a0f00582491835966cd31723fc6b60
MD4 86afbdd55b326f1c21d637ad994b9b05
MD5 8d8f878251675a7cb6fde5d8fad12adc
SHA1 131cc83f9442c6065a36944b309e2843cae54eb1
SHA224 e8188e5090b0c159b2def2e60265b8ead4090da9312cad2850b661f5
SHA256 68bbb2f8f271460d16a863bc193c82a635f9b9ad192f043254f7372a8f346019
SHA384 b7577b63aebf4f79b213d62425ec4dfb933b7bfb4e15544de98e7a1706ba1f90a7068d10c486e2cc3534d64767fda588
SHA512/224 6751304aef844b4981efb3b32a0e91765eb0bfff6361f91c1120d570
SHA512/256 8d522530b53b92619200a2aea864708f0c40cef5719d8c7d0202a71a9659c0dc
SHA512 c10ce94c1959949aba4b54c6bd0aabda518ce199c83aff16cb1f85fad3a2b89c6c3d9f1277529b815f54f39b04667ab5747f4b92900d0fd430973f74a2ee309e
SHA3-224 85ea9e943ed222b355482fe2921ece92f88c7e071e9ad69472e4bb5c
SHA3-256 30eccc6e0ba7090c09a3e7eeb1110f3712f33e7fc15f3ac809b464072468201d
SHA3-384 66d7242a707e18033604e5be722aa35d3d894bf36007f48900f1eda48de8b18130b8cac45844a7d881147e2d368b0332
SHA3-512 52d9f92996ba628ce79217b9c245e1dacf826a664a556a54a90902ad10cd288a144fbcbe307833110b3babf0d56a4f020a20eda4806302b3eb11267150861027
RIPEMD128 524686ce90ebf8a88e80d224d67c18f8
RIPEMD160 0a5708261a18d06943751b8ed4e65b63d6b4d05f
RIPEMD256 6871fb6c160f8189cb99c3fc03ff7498d93799ba6dd5da48f8baa25bac729fe7
RIPEMD320 cdf1d35ee35ab43fb1976b481753ac4592d3895d32c058602ce83b324ec9ffc6826d77cae31918e4
WHIRLPOOL a6ae6e22307f52d5ffb1c3fe68fc107507b83b01a2adbd21b1acb321da46196e6dc047b275eadc6bf0575b81ee80188557a706df1653b7a20c6f5f085f1098a4
TIGER128,3 86fa6c76c45a1361689b2484e555aae3
TIGER160,3 86fa6c76c45a1361689b2484e555aae3ad5ef2f0
TIGER192,3 86fa6c76c45a1361689b2484e555aae3ad5ef2f09630d7da
TIGER128,4 c76d9c3020e82a682739524b083fbd52
TIGER160,4 c76d9c3020e82a682739524b083fbd5233c46569
TIGER192,4 c76d9c3020e82a682739524b083fbd5233c465698b66d552
SNEFRU 2657cfe659aeb6c26cc06fd4a36d1f29b9cd15bd0887338bc4ca488a0e43c0c7
SNEFRU256 2657cfe659aeb6c26cc06fd4a36d1f29b9cd15bd0887338bc4ca488a0e43c0c7
GOST e3045ee5e4a7c0ded475a792db297363ed279911c1ec185e1dda9fdf124c550b
GOST-CRYPTO 600f5855f2d1a566ae6d1c630063c4fce106b681c357f899ba01f07eadd95402
ADLER32 52b705fc
CRC32 82d81965
CRC32B 0e06c5fa
CRC32C bf1ca207
FNV132 9a872588
FNV1A32 f7fca0d2
FNV164 f2aaadd515bebb68
FNV1A64 abb1d43fc75eb6d2
JOAAT 543f4147
MURMUR3A e3406bd4
MURMUR3C ef8a340df39b043d81077d58f0409b19
MURMUR3F 10f4c26e399b23aa7e19ba1df21003fd
XXH32 b4b92490
XXH64 7199c06040cf18a1
XXH3 79c94b2f6c5bbca4
XXH128 16b2464c6b8a68c04ef20ce84058f652
HAVAL128,3 70e1d1f52c38b3c4f5b1ebe8829d13f2
HAVAL160,3 618d3d51cc7967ee4ea0a34ca06b043aa96fd7a9
HAVAL192,3 9b298ecfc0a557fe5810472c2e45eed1a8b14e3eff695d10
HAVAL224,3 726155e7ca5a677a2deb851cc807b493bfa487c8b214df8edbc3b91d
HAVAL256,3 c0c5f5a35fdbb6af82cad977e1cc3085256a8000acbd855fc21fde4d35f61ce3
HAVAL128,4 b65fb421191cf8788dda5908c2f47c1f
HAVAL160,4 fdb455119863a728f90975dc6bf1bdef7d069d89
HAVAL192,4 329e7194e8abb1a579775fbb089fe8919af5d1fae6e80e5f
HAVAL224,4 ffd87f40682c95c36f22e2f1649facf78bd8125514e6775e3c9a39b5
HAVAL256,4 7fa10ecf11860c8766040f0947a0a538c0e7d872672b514d480d16f544e78bb8
HAVAL128,5 a6583156aaafab47d2c22b084e3f58a2
HAVAL160,5 00c7d41ee87cda6850fe78bfbf5e175487e8861c
HAVAL192,5 73ea159a1fea68e94b1b3dac31e8c911720e7c269f2c962e
HAVAL224,5 c23385b5bd12640b84072ff5235579acd5d801a7c8e65319e0045e9e
HAVAL256,5 03e563b8044f293f44a06a7ed745567ad65d3eae436b5683c53bb8a7669be62d

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