SHA256 hash

SHA256 encoded string

51b821cdd994f4c62fc2c35145b37627193ea82342d7fc6f3f24c7eca67a40dd

Your last 10 encodings

AlgorithmStringHash
sha256%5B%27CLIR%27 %27HTHT%27%5D51b821cdd994f4c62fc2c35145b37627193ea82342d7fc6f3f24c7eca67a40dd

String "%5B%27CLIR%27 %27HTHT%27%5D" encoded to other algorithms

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

MD2 17787b3d56efe642411608c9804fb379
MD4 6042713afc03e979d42428ae6b4e677d
MD5 be016c36eb894aabac6a3094f5d0c930
SHA1 86f98c4ac72d46407c0b18ae5d65b951709af2c1
SHA224 efbc36aa801aba286b55baab98067e7323ba4e8e163a46482e4acc1a
SHA256 51b821cdd994f4c62fc2c35145b37627193ea82342d7fc6f3f24c7eca67a40dd
SHA384 a2d9b4a14abb3f1adc7ec45ff75bb853e154d550d01a516a0937fd66057f68abbd5488da9dea4f23cb329ee3abb3c0ab
SHA512/224 96560a893ca288020e0a813e22fea2e5e0a062f38c962c029f8c74ec
SHA512/256 cc0e775172c5e62797119e592f3c8876838e66a85e3a2ac24dea981130ac2300
SHA512 6c4ebb045db1e0b3cfc3a1551ca8379b09ffa4dae46e7b58b14741e5cce9bc1cc7d8a7a9b6551f4f6d1e32f70037d93c9bd06afe196b27659142d680fa5858a2
SHA3-224 26350d84036886c3b169410125c34284a2d1bfed1aff26daa7775946
SHA3-256 e36f0a953bb9549b864e92134901beda56863bb93244479fd57e35f45f9d8b85
SHA3-384 46dc80b67d6c8a699cf52324588a5e5f6ce27d652ee9702fc2db5de7320a94a2a48c9eb83a33a8794d7472158ebdfe04
SHA3-512 e4744c7b477d45eed389730cea3405e9c1d1be64d0489c9140cac6840af9bacf4fede82e44f3cf29e7fa37920dfbacf26a2628571383edfcd98c1712a50a7b7e
RIPEMD128 eb5e3c55827dec030fc375a796958101
RIPEMD160 9ffd6315918803a9416a267a65826aa501291eca
RIPEMD256 6e5912443aca3a18cba907d0e48c338882ef010c0e49c14fbef2de165aff659f
RIPEMD320 4f70702a43dbdd87bcd97a594efb62d8d00b2d03138bf882da84dbf382792ef353cc8e25578c17c4
WHIRLPOOL 84814545ed5c3d9ef83263a5c9a2c0dacc3258adc97cb73479b69820df65252fa78c06ebeac421de75ffb518402999df61103547ffddeacec267425ab07efd67
TIGER128,3 41c4552cebbac5ecabdd45296758352b
TIGER160,3 41c4552cebbac5ecabdd45296758352b78579d4f
TIGER192,3 41c4552cebbac5ecabdd45296758352b78579d4f314d4086
TIGER128,4 dd0ae089a2271da3eeeaf880a4676188
TIGER160,4 dd0ae089a2271da3eeeaf880a467618882ad01b5
TIGER192,4 dd0ae089a2271da3eeeaf880a467618882ad01b5748ecf9c
SNEFRU 6303bcdffe0bb9ce1c17761a19a05c239cff435edd9a54aeeb89a56d05927265
SNEFRU256 6303bcdffe0bb9ce1c17761a19a05c239cff435edd9a54aeeb89a56d05927265
GOST f2648e6f189cffbc5c0074ded87f9d388425f78fea072bd1b6e5cfbf875cd52a
GOST-CRYPTO 645200dd73fc62b4c98d0abfefa6d6ce61e91f79f354363b10fea679a25ae586
ADLER32 526905f5
CRC32 7d2ce9c2
CRC32B 5ff095bf
CRC32C 0c26918a
FNV132 9ebf7495
FNV1A32 add3d9f5
FNV164 ff2be77b858c73d5
FNV1A64 15d11511db0bfbb5
JOAAT bc76d3ff
MURMUR3A 21fa4e1f
MURMUR3C 5e7f27b8239ed2afea3cd39b5e6eeaa6
MURMUR3F 08c06f0d9b27ab774a8ebfae408cf086
XXH32 9f790e79
XXH64 09f37b837ee83eff
XXH3 e936b23ade46cc54
XXH128 c674f762d3b0f0ccdc06a65ba1d3c4b3
HAVAL128,3 42771a74dacaf624db223574fa880b8f
HAVAL160,3 b8a250c3f1615db409fb44b54507131a2ca7879a
HAVAL192,3 24dfb422076d9f000a15083c5b88581ea83b02f2dbc5eb83
HAVAL224,3 52c0628ad1b0c7011d6481b83905b20c1d9a1357091bf433f497ab2a
HAVAL256,3 c8868a891b7bb49b2892b56195769eab7cb253d72493e9af04f55e26b0848b29
HAVAL128,4 1a12efd3f81438aa55b9792250ea261a
HAVAL160,4 0dcb7c5f71a83a39e83cf22d0173da5984ace463
HAVAL192,4 52c0a7f5c4aa9c4d9750a35c3c5c1854544b184dc760c232
HAVAL224,4 55bb4bae3c13bc436c4d19496d6e0922d48a18ec9b2350c43d2c5666
HAVAL256,4 30dc3c61cd4cec63d53cabe4738d00ffb2f170b3fe81cef9c8e0b53d49058ddc
HAVAL128,5 cb5e5ac5959d91596ac0dc9fb59e9cd0
HAVAL160,5 81e81eefa3e29261d1674e12ae8e6eb4cf117e6a
HAVAL192,5 2be58a1f827b22e4c8beed32629f095fb243e1418424686d
HAVAL224,5 7a1eeb999b433e166b0a81142d686851be759960847b9abefab74657
HAVAL256,5 5c244c89cf15a8b782d56464bebeb7110bf08ffc57444b074b636cdd6cbe037f

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