SHA256 hash

SHA256 encoded string

b707fd64c8a6ea6aa106697b315e84704fc9060785aa4d49fbbe19e3fb8388c6

Your last 10 encodings

AlgorithmStringHash
sha256['CHNG' 'ACAD' 'NP' 'BBSI' 'PNW' 'VST' 'HBI' 'COMM' 'SR' 'MFA' 'NS' 'GLYC']b707fd64c8a6ea6aa106697b315e84704fc9060785aa4d49fbbe19e3fb8388c6

String encoded to other algorithms

Here you can view hashes for "['CHNG' 'ACAD' 'NP' 'BBSI' 'PNW' 'VST' 'HBI' 'COMM' 'SR' 'MFA' 'NS' 'GLYC']" string encoded with other popular algorithms

MD2 ce27831541def93ac777440e60662d47
MD4 d933614f7c0649e397dce3bde31e8485
MD5 01ad07adc01f51f231c1abcf4cf1fe5a
SHA1 92f9b4dce86da173e3cddce307f467298768b6f0
SHA224 169e94220c1abcf3a36135c635c030612c462d442a2fce7e65793a7d
SHA256 b707fd64c8a6ea6aa106697b315e84704fc9060785aa4d49fbbe19e3fb8388c6
SHA384 06816d634d18e080db5e3fafee19c8cba6e5e3b5fafc14eecd5c16cf947fc7c89be6c006b4b027f91e2d90a5dbc9313d
SHA512/224 8421987107abc732ea955e5db4c5ad96b1cc6732e7c88005a63fd58a
SHA512/256 14c4f07f97bac3f7f4fdcb6f7692b26c39d6ec0afa3907002488da85e63f6e2d
SHA512 b5b7f697c16542be660363589da3d62e01c459a9598bb5b92edef88fc2b2609a2ac4d5b4982ea8cfeaca68a96e74b6c3e833c868e6ba8343d2ed34b651ea6d46
SHA3-224 0117c11a4adf44db51f56530da70289d262a94548e012ef9bfc7f80f
SHA3-256 927ba0a9a13b36822a045df43f74c52ee56363a22c541eb97a999f6ff2249fa5
SHA3-384 dd169a1331a1aec3f1e70f2bb9b268cfe1864679bbfe2c2b3132687b39553510d4f42134de9b7b626c8b9f6f08519291
SHA3-512 dab23dcd557aa42a2c5b29032d2263039612ea53416585bf77b1f0b55ef212361537653d3c71bd10b475b15ed4e79a9cb6bad9864b1cc6097d6812a4402a57b7
RIPEMD128 5309c856ee090660312ebfb62e84b1b1
RIPEMD160 7ac0a993b2094f9f3bcff6d60cb18a03da366353
RIPEMD256 0426c2d9f0c47bca057bb9c277eb492ebe5a10ad0c3ca84a7e401fd5a078b9c9
RIPEMD320 3c1116a1b6f5a907c24bac67e91ce5b988376b74c8cb2ca4f02c5af9ffa10a4adc3a8e2b2d576e22
WHIRLPOOL fdc3c0047570f81eee2f779f2d66f37e3d90b1baf8f2e2139d91fcf9493318afb059ab5487691184bf03d420950986b76fc49c8428dd2ce8fdc6f2875cb16943
TIGER128,3 ddf7fd1d4b04b50aa29e194f9218c23c
TIGER160,3 ddf7fd1d4b04b50aa29e194f9218c23cae391084
TIGER192,3 ddf7fd1d4b04b50aa29e194f9218c23cae391084ccecabdc
TIGER128,4 b13c222e3f309f1a6b8c5da549434f90
TIGER160,4 b13c222e3f309f1a6b8c5da549434f900efb5e87
TIGER192,4 b13c222e3f309f1a6b8c5da549434f900efb5e874d608bdf
SNEFRU 51594ee39ef4ec92d41d83add36da26a11f88bef0abf9e17b6c2372ae1cbbba1
SNEFRU256 51594ee39ef4ec92d41d83add36da26a11f88bef0abf9e17b6c2372ae1cbbba1
GOST a0b7393db5ed64bf514f7a344c7db4c00ef3d774527bc50f15d2566e620bcf17
GOST-CRYPTO 1d942d5b72e84df492d70a23c4e82649d024b494d9bebd29da9a4a79ec6526a1
ADLER32 7fcd10e2
CRC32 7d22335e
CRC32B 91e22717
CRC32C 00867fcd
FNV132 60ebf7da
FNV1A32 42af86a4
FNV164 2f5e7cfdf621213a
FNV1A64 3cd79de34d121164
JOAAT 2f7ac621
MURMUR3A 72db4c8a
MURMUR3C 760abc945100d89a2c5633d950ef2eef
MURMUR3F d8a7e5aa2b3bf8d778b99db4ed870c46
XXH32 ade637a6
XXH64 b9b550f2d572a7b6
XXH3 27c1a1bcb8ab0163
XXH128 d22070de133b78615eb56382ca31ec87
HAVAL128,3 5916e362ba3abb316952da7ea38a9664
HAVAL160,3 ed7751b25ca01f983b0f9b03018061f4cf405669
HAVAL192,3 19a85f1334b5348753139c6a26b977a272e8c09288adb689
HAVAL224,3 3ef8605a0972a363b14961084db83a821c063b974d43e780061c4833
HAVAL256,3 f56ec8588d8969004326c4a1750ac4d4226997fd0919308aa60e6cdf7f021811
HAVAL128,4 c6ea02dc986830024cfbd60da043c16d
HAVAL160,4 b36f8c57b63d6b371fbae4e42b39c9b4c27b48a7
HAVAL192,4 2b0c553660b400ac426f41f5140bfeba68b15a3eb8e8c66d
HAVAL224,4 3b7d2550e4bb869fb70248970f4f2f1d1091181baeafbebeb6a8996b
HAVAL256,4 3981e86cdb39e18b30cc49d2d91a52628a0eeae53dcdf824f5be3c629d17d4ae
HAVAL128,5 fc0213f999887b249cc0a06147c29abe
HAVAL160,5 c7e4cf229614c17af84a434c38494e5fcd1dce19
HAVAL192,5 3b5aa2328fcce5566b9feb08efd7bda2d4b1741f37e308a4
HAVAL224,5 60379f3364a5bd7bc1e6898956602bd37931f5e8e59b35f5760e328c
HAVAL256,5 abf0e19add2ca24bdfcbb204f798d8c1ea8efa31b862e55aca44f32318de563a

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