SHA256 hash

SHA256 encoded string

4b4cfc69fd30907b03ff653f79509625ac5c8e37cd58740304486fae7bb96cc1

Your last 10 encodings

AlgorithmStringHash
sha256['JBHT' 'MRTN' 'ALV']4b4cfc69fd30907b03ff653f79509625ac5c8e37cd58740304486fae7bb96cc1

String "['JBHT' 'MRTN' 'ALV']" encoded to other algorithms

Here you can view hashes for "['JBHT' 'MRTN' 'ALV']" string encoded with other popular algorithms

MD2 37391f5223612ce52f5a677c86183fca
MD4 a2c79e71d3c7e737277cbff9e983fcd7
MD5 7d7e465050b6580cc51b04fab0c26cfa
SHA1 30ecc2ba9b9dc69a39a99bbaa562ccf05cffa75d
SHA224 2917d57d9d613a1c8090c5268eade8f530ec0e98531f69132207e165
SHA256 4b4cfc69fd30907b03ff653f79509625ac5c8e37cd58740304486fae7bb96cc1
SHA384 4aa7b9f483bca604e231489a5430b65d154e7b75622c94397ad80c546afe369d189a4ef00105c0f0d2230783da3bd99d
SHA512/224 73f866807e8e0fb5273def240e1c514355fcd8f24af82883708cea07
SHA512/256 b35d6f5ba4e2747652c18d51b0b199edb01c3b8b4bdd436714243e4de4231cbe
SHA512 93d68ba1572d446cc46e12753cdc010bd1c19568e2cf2a264d8669ea1699e5d9dc0acc6d1ea1e2b82bd4b00893e978d6bcf5bb2858168c046efdb0cde6855514
SHA3-224 259d1b61051a3c8fb8ab265ca904dfa618a6b6d8bcc3d1b875284526
SHA3-256 7c6cf8f36f673bff65639480c28eb2ab0eb61d7418a48301bdc0eb1cfad1e751
SHA3-384 05660f322efc60d1949cc617cf44026ec87db9d41eab3de7b5fdf125e3ca40bb125bf253a529b0b2753e1b549955636a
SHA3-512 181d6b21289e672280c3868ad5c6a63322e295e3f99cdb3a0b420bb2d629eeb379ee42ffd0a3806bcff3a7494dffb46978ca764694912030c996f0ed428aec62
RIPEMD128 ce0a4ba4f0e288d315db58eb8c86ddf9
RIPEMD160 fc7cea38f8251e084feaacbbb3f06810e424c995
RIPEMD256 fa3f934677436b5e53a235828fc0fbd3b815e32b3b08a10ddc350b0dc4847358
RIPEMD320 9dfbc4f241f8f4ec268b9e753b91d0a877361ae6866ebec0fbd48047bb741211214a4723c02390aa
WHIRLPOOL 135123cb187ce28d04f8aa774f8dd85a26eee88436a7b1336b0d371001294772c6747e61e855e5ccec9788a0dfe85727b2d69b6d35afd1b8397e0cc07e2eb681
TIGER128,3 7b8a47b00ea8c9f88ea78c2678ca0504
TIGER160,3 7b8a47b00ea8c9f88ea78c2678ca0504ec62e82f
TIGER192,3 7b8a47b00ea8c9f88ea78c2678ca0504ec62e82f95dcbbd9
TIGER128,4 bcd465a2b6b989e50ed64ddd01f3de82
TIGER160,4 bcd465a2b6b989e50ed64ddd01f3de8259f15784
TIGER192,4 bcd465a2b6b989e50ed64ddd01f3de8259f15784ef2be6d5
SNEFRU 1127eb0e47d8b5cf63fbfe6df9155ea1a2f82386485c3d6cf573fcca2543d774
SNEFRU256 1127eb0e47d8b5cf63fbfe6df9155ea1a2f82386485c3d6cf573fcca2543d774
GOST 575be52f69ab90c427fa86055b2a1f81c10b6b54f4cb75b5976b474c20a0b20e
GOST-CRYPTO c61be2dbb358795747fbee943532e5f212dd9e550d2fafd1de6cc46562efa4aa
ADLER32 3912052f
CRC32 4b96a306
CRC32B 7eebb10f
FNV132 69cd0425
FNV1A32 50723961
FNV164 5d39743c4f8129c5
FNV1A64 b86e34438646b481
JOAAT 9150d111
HAVAL128,3 627bc1ed0f3e04ae1d72faf32bfc1a2f
HAVAL160,3 e1fce9963825b1fdb1d3cee64037cab4daed3233
HAVAL192,3 c698f5b2f4c82da9506f2948e2810ecd5d32ba72e9d9fccd
HAVAL224,3 17210b34febe826fc5cf4afa2bd2608f60263cafc3a94f8d49f3b531
HAVAL256,3 9bb4c92612598313c1bf349e7d073eb92bd5d6b4e10cd05c5985aac2da80c15a
HAVAL128,4 db2d8129e8882bb3920d9847cb8460f6
HAVAL160,4 575e343a42d7e236bdafe98df7494cb875209887
HAVAL192,4 5f0751842ad95e4e80db3732ae5c5634f42738546693da17
HAVAL224,4 4924d1bdf3932b6daf96bf9fe067df27deeced65a98f724c843b1270
HAVAL256,4 92c8bc0d6a0a1526a5e25ef05dcfd8fd36199ad7bde57deca764c889b33b19d2
HAVAL128,5 2fc42acd4ae798c1aaf69226725995db
HAVAL160,5 0013cdce53a54b34f1175fdea404a21d0cc9a466
HAVAL192,5 57aef342e65ac1bf7eb086115442bc8282de0aa1ff764a1e
HAVAL224,5 eb37a5908c838e407763b4f4fe23c9e1e682303f2f039cf42442721a
HAVAL256,5 9d9729dd306b4ae06bfa4f653ec05d243ef38cd11e34493e5d218dbc396e0052

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