SHA256 hash

SHA256 encoded string

29b4cbb6b1fd316f4f8259b9cc2bd408431d1356fec047b91eb1a152973c7484

Your last 10 encodings

AlgorithmStringHash
sha256['COO' 'NX' 'MSON']29b4cbb6b1fd316f4f8259b9cc2bd408431d1356fec047b91eb1a152973c7484

String "['COO' 'NX' 'MSON']" encoded to other algorithms

Here you can view hashes for "['COO' 'NX' 'MSON']" string encoded with other popular algorithms

MD2 f29d9e5821df5c09f39890fb6642b54d
MD4 339a5c3ad9d76343c46ba91a8a126f46
MD5 8bad91072d59e5ad462c638d31b929a4
SHA1 3aa04cef090bfb14e31bda92802a3f22681fbc99
SHA224 947b83447638df2e4c35bf648f2742036845b32c410ce45574754851
SHA256 29b4cbb6b1fd316f4f8259b9cc2bd408431d1356fec047b91eb1a152973c7484
SHA384 19ad6cea94b6372e6056d91cef31f538623108944ad97411d03668428e5e050e46de89cc8ee17deff1ff4e7323580ba4
SHA512/224 7598a72c8f1ec4f2d3e5368b331a4cbe162a1de2e63bade572f53cb2
SHA512/256 f19ed4c9956ef5305601ac1c9bd68de14d48b2bc98fab93e8b356fdbf031fd1a
SHA512 e67012b5153dd396dec4ddbc39ed76e410965d223158fc0cf780b4c43a2b9775b8afe23552ec45b28781c063144644ceaeb0cb35a86e2ddc6899e222a4a2306b
SHA3-224 7ae6e50190a4d924c2f6291b183112cbe5af3b26104444f16ad3bb40
SHA3-256 d87c5f833a37aff4ed3547563d52ee28f313a82873d739f958d00f8839b25339
SHA3-384 a242885a1cba7b42204004537e1b7b25cf15549bcce33c51988973f6210c903f5b36513a040d0c0f2f0008d9c2f1cbb7
SHA3-512 fbd62ee5d11ecee9587f5add1166863e6d935b6474d45c050b376e3eb251f82335f6c6f9d7bb9e65a5768bfd7d1163de92e39084b4bff65eff885cfe2ee62a40
RIPEMD128 27a06264e1bcafb84c27c902f55ca2c5
RIPEMD160 b67d2f789f2a0d5e0b4173c674f6eb443ab7c035
RIPEMD256 8221e4ff54cca8bb3f9d76656f38b113aea8fa798051f795236a6f26d4acfdd2
RIPEMD320 a8fe47e4bdfd9fea9471f70575371708b924a0cdae5e8ae495eec08a3f5efa1275f4b311752bbc71
WHIRLPOOL 6ebb7097f087a168405a38f46faa968a2f4a08a9175967af23bb54694c4b6e10d96e7b8e0f064aff50048bc367e506ba71fe2a90424bb0f61af545a9717081ce
TIGER128,3 862cf8f7815d3d930abb6f0efade913e
TIGER160,3 862cf8f7815d3d930abb6f0efade913e672485bc
TIGER192,3 862cf8f7815d3d930abb6f0efade913e672485bc80b03a2f
TIGER128,4 6732d77abf587b747e03aeefef9aaf61
TIGER160,4 6732d77abf587b747e03aeefef9aaf615ba36d89
TIGER192,4 6732d77abf587b747e03aeefef9aaf615ba36d890f4857bd
SNEFRU 5c42fbf8aac04cfa11b78df1d8740390a80339cd7a8b0b5adc3f2cdd0cf2119f
SNEFRU256 5c42fbf8aac04cfa11b78df1d8740390a80339cd7a8b0b5adc3f2cdd0cf2119f
GOST f027f341c1cddc9a1729b578d71bca7eaa3f72186d4ea6880ceba104c52c33c2
GOST-CRYPTO acf31d865acd5975f75eba44f62c255ea3feaf2519922990ebecaba1712d324a
ADLER32 2da404a7
CRC32 ee0ab55b
CRC32B 54802ea0
FNV132 d2e79345
FNV1A32 cb858501
FNV164 781d71fba35be365
FNV1A64 5ffa6c39bd193421
JOAAT 33390a72
HAVAL128,3 ff8f2f98798dafc84dd868c3bc127edf
HAVAL160,3 7ab589eadf8a0d913cf7dbdcb9dbefdb4623ae0e
HAVAL192,3 4507d299254ef72c403b2c158f9bfa0998263d44e6718593
HAVAL224,3 6ce660a4ab97e358d259c536b653dd754eb9d8e92cab1c196ee0df4b
HAVAL256,3 76d71cfe18a340266c8ee6cd2c91c059e2cc28a79aa068c74e3d5ece8fa077f3
HAVAL128,4 e6833cfe0da47532fe083f39fdcb54d6
HAVAL160,4 468b2049ae940ac4dbb7afb0eef646c85fa2ecfe
HAVAL192,4 962038f3a2ff713ae674632e5fd53c9ae887b7052da37e18
HAVAL224,4 8a3d0aea71ebfd522b050e2eeefeb8b1d7de9814488d418c89f3a5de
HAVAL256,4 b17437db08eca39df591d79f3615a31a36ad1dfb82ea22c80ceec23c74a13697
HAVAL128,5 a4dd29268f6d4a4b7e016a606397fda7
HAVAL160,5 2958d7c8f2390d15af0d111bd9c44e5666e3ee98
HAVAL192,5 8ef44c80811373c5a70d3d6a8579de4a011c9d1f8a7deefd
HAVAL224,5 7fc7d7dd6704ba0b903828f08ce541e954c145e1166c70100524da5e
HAVAL256,5 aa02eb1df6734fa950928e97da5c58c9a6f6affe60082723fb7b08a7e5e74055

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