SHA256 hash

SHA256 encoded string

b8d08968617d0afa411358bbde1e8472a2848682e175467efdc3b76e032a3197

Your last 10 encodings

AlgorithmStringHash
sha256['GILD' 'AUY' 'BY' 'ABBV']b8d08968617d0afa411358bbde1e8472a2848682e175467efdc3b76e032a3197

String "['GILD' 'AUY' 'BY' 'ABBV']" encoded to other algorithms

Here you can view hashes for "['GILD' 'AUY' 'BY' 'ABBV']" string encoded with other popular algorithms

MD2 d75c8c0a1ee58c76287b568754936328
MD4 e9acb30fc56d71c791f412ff942556c8
MD5 9856f9d31c0b866abae3cd79a4529ced
SHA1 95d7256b75ef76514c1d722537a03179a7468017
SHA224 700a9c32c089c1a3118f3b6777587465173ff9ab139ff4dfd78756a6
SHA256 b8d08968617d0afa411358bbde1e8472a2848682e175467efdc3b76e032a3197
SHA384 5b756f2344ef05f009fb7f3797348897cbb1bf16ebb8a2b3f9033db635e69648eda6202f7875c9be56d3c401e2515e0f
SHA512/224 e084dbe522b0775f5d42f2d410858ec6f0811f70f30e2c4dead6fd11
SHA512/256 2758bf1fe181910af955aaa7892242d36f3c93600beacfffc0b19cd545c456ce
SHA512 41206cfbfa05db47fb78f5f8395e542298b2f6e91ca351de6cdcb543113b089c1cd1acde474e0e0be12874b9600edbbb08d9b1fdab27154d8fc00fc0ce933764
SHA3-224 02ede442a75da78da601560f13da24f29b1656166580f1b060d3999e
SHA3-256 ccf04a3c7d60fa01ada823805561928cf4c974ee43b3de7ec252573f512f5e3d
SHA3-384 67050b731e9d5522a5d8ca9f6f06e003070b8c8e74d3e2e097da6a19b9a020af0edc9153770a0c7789d3766276f0dd5e
SHA3-512 4e9084c667cf26652c80b85f684b08d692feea75df7a959d0f36d2368c9a8b59e24f4915f8c4b50a916c5e350bce2efd1492fab11ce6189845e0df1fa908c064
RIPEMD128 7820a9e91dcd667d23d60c68b36bde5e
RIPEMD160 a54de3a710c89bb62ce9707be2537f3d3dd74490
RIPEMD256 6f517f16bf113745609b4985d049b38a3df85284f0e78063a7edaceb93c4a72b
RIPEMD320 e3285b591e477647d4a0c9a9c6db57fe78f8aea2d7de454bb888f90deae2793c640960382804acbf
WHIRLPOOL e7c5832828bc7f4547b779e49e5b4cb34383d750de5c0f9e50d112b96715c2304c33dca52f0672fa89ec042918e65097aa9a559e726e5d7a38bced5cc25a7d3e
TIGER128,3 cfb65e14ec9f19b757381d8536e74787
TIGER160,3 cfb65e14ec9f19b757381d8536e747872299d20a
TIGER192,3 cfb65e14ec9f19b757381d8536e747872299d20a94810369
TIGER128,4 a050423bc832862236662aec7dbd6a7e
TIGER160,4 a050423bc832862236662aec7dbd6a7e73cdfb0c
TIGER192,4 a050423bc832862236662aec7dbd6a7e73cdfb0c6a231cad
SNEFRU 11debc15937c84e0a0f377fdd3bcbd4e20f15dad513e4f43b1f5829823c0e85f
SNEFRU256 11debc15937c84e0a0f377fdd3bcbd4e20f15dad513e4f43b1f5829823c0e85f
GOST c436b38fb2afbfa1bd82a17a598ee2cbd590ce5d90a8e39d335dead655a85e08
GOST-CRYPTO 6e575f040826b2e41ebcff64497686e0a427195380a07c7517364116ed119a84
ADLER32 52570616
CRC32 81c14ed4
CRC32B 70e88bf4
CRC32C 05af07b8
FNV132 fa1e1048
FNV1A32 8946a956
FNV164 6b45cbdeeb2aa5a8
FNV1A64 ba51f7d2f14524d6
JOAAT a5a7e08c
MURMUR3A 87e62703
MURMUR3C 026a9c1cf7f6975a415d8134539e8903
MURMUR3F 828da8c866d45ec9a6062d94790be280
XXH32 41298f66
XXH64 d8cfdcafc6e779f9
XXH3 0479f67065af3751
XXH128 12dd962ed23674b43075f7106e98a93d
HAVAL128,3 d74d85c2bf6d3aad607d469295104790
HAVAL160,3 27e23a06d2a59bcb6fc2cd29de48899483af0c10
HAVAL192,3 d00761886faf0ea95b310153922e9b6c87aef2df97fae736
HAVAL224,3 2e6737a6be83a7249cfdcd7a8b40004ad48ce234fe8eb4011a638fab
HAVAL256,3 c51a6c34ce41fe34c3cf7206db670611ef67fa85accc51943de4d69f3d19c4f5
HAVAL128,4 d5fcf327b37a1d60779e4255c719cc89
HAVAL160,4 0d6d79769ad88d49dc750f8c64fe1b7f28fa514a
HAVAL192,4 1362bfb5b78d371842018c3f956dfb9114e50da92edcd56b
HAVAL224,4 713fd652cba0d777b9ea66f46f081d60b8c81b72023f03c15a5bfa85
HAVAL256,4 0f1fe70f77b770f042e503ad2f351539701d058b0cb4aefb3220c9047ea9e543
HAVAL128,5 bd6109ea3d5c72519e96441395c28780
HAVAL160,5 d539301c201e485197aa71d2a0f01ac123f157d1
HAVAL192,5 6286cab76df81916028f406719aa1070bdf63be7f83026e7
HAVAL224,5 50e330cb42d642923889bffd2d2353a484cade2f588caac062467ee2
HAVAL256,5 8d3b7b341301dd34b430f826005f2a306c09b028f489e8353d6eeec3fbfb98ed

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