SHA256 hash

SHA256 encoded string

31e22f36f5fabfe8e4f3a6501fc9a31f13ec7acf5ded3b0d5f69b8b3a6ebde67

Your last 10 encodings

AlgorithmStringHash
sha256%5B%27RNR%27 %27SSB%27 %27UVSP%27 %27CMO%27 %27UVE%27 %27CBRE%27 %27EME%27 %27MTRN%27%5D31e22f36f5fabfe8e4f3a6501fc9a31f13ec7acf5ded3b0d5f69b8b3a6ebde67

String encoded to other algorithms

Here you can view hashes for "%5B%27RNR%27 %27SSB%27 %27UVSP%27 %27CMO%27 %27UVE%27 %27CBRE%27 %27EME%27 %27MTRN%27%5D" string encoded with other popular algorithms

MD2 84223993098ee9866d995ee7e41f175e
MD4 94f09b652936c07725cc873d712bf6f9
MD5 595f50271202789e2e151a0b3656ae04
SHA1 6ad238fe2fd03cdf273b9e8977501ff02f29b6ff
SHA224 3c4dbb938fdeeaef9ce551ece34ca9515f21ef0ab4873ed4bcc2cf4b
SHA256 31e22f36f5fabfe8e4f3a6501fc9a31f13ec7acf5ded3b0d5f69b8b3a6ebde67
SHA384 1ea1f77f74bb665defd327c6ebf8f23f795bd8cf6da61006694549c565861a805569c0b116d87eb1b0dc22d2fd61e5c4
SHA512/224 953a4c6b2093e039f06e80a50b83d52111aea864de64dc0ac57e77cb
SHA512/256 2b09bde970870ffdc48d8316349189f38a08dbd1eff312599b630ba209ef2215
SHA512 02300c71cc8da6f0c25bb380a415096e450ad73860b56db5bb0662ea090bca343cd17a4a811eda4924ab1ebb1f57e6678933cb3ecb22a7a9382a2a684ee699c1
SHA3-224 9887a17c1b94e6f9c2f8935658c0133ed66f3a2ec4e95f328f08f000
SHA3-256 f06ee35400cd820ec1108cf57c95b7822d13d11c8020585ac3d61b7f7b8ce520
SHA3-384 ea59fd8189018e88cba8c0db565b904d924c1f6990fdfe81c97b5f0e3092f9ae52ce31a315857fcc33dfaa1481afd058
SHA3-512 bf658f29c8a0081e7d9a60e7d1adac1b0bbd24645f7deebb8ea07bdb62d0f420b42ab25b60ed2a5f3172509426500a62ed5c4eefc56d5e9e8de92a1f88aa06a6
RIPEMD128 45429cfb56c7409a80cf5a3e749d4aff
RIPEMD160 921dbc0de83a579eab3d1619fa1e1e74771d698a
RIPEMD256 cf4891b988e9c9d0208dcf37da02b730bf20584b6f18ea17a80563134bc3d594
RIPEMD320 4a039ae2b8feea9b922e35065dd60e290c55e89ceb2e117c1697b4ff34f5afd2a9e0413254296d01
WHIRLPOOL f0b074714770d34b548e3c15d2aacbf5a07fcee3518e4ce25c8fe97677b013f265a4b365a8868f538c83a5adc2e89454f30f1bd13671bed8213dcd5b4ec193ab
TIGER128,3 63ddc72adecbe9161e249d4703726633
TIGER160,3 63ddc72adecbe9161e249d4703726633364dcb26
TIGER192,3 63ddc72adecbe9161e249d4703726633364dcb26e665428e
TIGER128,4 d43432b79c8ef67ef0ad06d4e13bd122
TIGER160,4 d43432b79c8ef67ef0ad06d4e13bd122142aa389
TIGER192,4 d43432b79c8ef67ef0ad06d4e13bd122142aa389b9c9419b
SNEFRU 713c2706605a0232b269455cb5f406a34b27149fa1b77ab94c946c944f7c2b17
SNEFRU256 713c2706605a0232b269455cb5f406a34b27149fa1b77ab94c946c944f7c2b17
GOST 0045799edfa7cacded61a4f9a6af96013fd50ffcf6382923f1687ce386b0be82
GOST-CRYPTO e8caec2effb16bb5353a4015b33e062a56f51b7ca800d88a0f8e91e6c02a0052
ADLER32 53ec1326
CRC32 15496bbe
CRC32B 37ca42d2
CRC32C 0212a599
FNV132 b46f9eae
FNV1A32 592c3554
FNV164 195f8a16b93ed5ce
FNV1A64 9f6a971ac1cf8ad4
JOAAT 16691d60
MURMUR3A 8a7e119e
MURMUR3C 3b5828eca5bf86e945d827be08ae9c59
MURMUR3F bd05c914fe0f71d299a711c0200e4963
XXH32 4868b8cb
XXH64 028802b61344d53f
XXH3 2b7a050a5851ea9b
XXH128 e80e0d661a5d1a36294da31748a0d70d
HAVAL128,3 6cfbe9ebbc74cd64af0848c7d43a9c22
HAVAL160,3 9026f258913487ba1a9c3801a4be1343b78e0f22
HAVAL192,3 11264eb4da3e0006c8cdf0c2303a79adc7534be0c60be5b6
HAVAL224,3 195b4c37c4dd52519a1cc8fe7834c424c64264a100dd3b2f663b698c
HAVAL256,3 1917b8fc9473370f5a943ba20453a593b74d3724a4882cc797dffbb394b30313
HAVAL128,4 ade101d119ef54a770e394e351570262
HAVAL160,4 2bc7eb19dfe5a9a2625ed4d3e4ad0bf48127c329
HAVAL192,4 4109248a28a38aa69b2a60e850c9937bc2f9e3090f4ca684
HAVAL224,4 3cadc79fba4b38238bd917cd6811cb5735502662a144ce70404abcf5
HAVAL256,4 83fd40b087db829ce195d3b4b037b7dfea8f0acef7e2ba7315e2805b3a852ab1
HAVAL128,5 b47689c87f329599c3d02c3e659d4df6
HAVAL160,5 707be8a624e26f227309bb57e1a165d7db40c19e
HAVAL192,5 0188070755508075c91d752cb867342a86778ec06308ae97
HAVAL224,5 00d6236183fec6f8458cf399ab9decdae511e5856efee5ca36fbd7e1
HAVAL256,5 cbb0fb19ee0793e8f7db10dd8b386abc1026e092e47792b4795af679600ce811

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