SHA256 hash

SHA256 encoded string

5ef04e3602e446df219c9485714a04765d2bc798d40481b803d7b9315c95a7fc

Your last 10 encodings

AlgorithmStringHash
sha256['AAPL' 'MSFT' 'GOOGL' 'EGP' 'AAT' 'PFE']5ef04e3602e446df219c9485714a04765d2bc798d40481b803d7b9315c95a7fc

String encoded to other algorithms

Here you can view hashes for "['AAPL' 'MSFT' 'GOOGL' 'EGP' 'AAT' 'PFE']" string encoded with other popular algorithms

MD2 750ff0c1016dd12ce14367a369d17487
MD4 7b76b9f4d2b24fb4be2334cce222e262
MD5 0d009d5b1fd618e026b1ce05b884063f
SHA1 53debd8ec5882bc65b2e9badc3bbfa36bc931db4
SHA224 132c9776cb897339ee86f622f68d512b38f53668cb23eef62de3bfbb
SHA256 5ef04e3602e446df219c9485714a04765d2bc798d40481b803d7b9315c95a7fc
SHA384 e54463c0081c3cf9096a8ec43c2b099b86d3c55aadc114070ba2fe9d8a55059435b5cbfa01e23a41ff3dd08399335e67
SHA512/224 f25a9d3f6474b60cda036224a07392b682341c1ac2251b360c60bca6
SHA512/256 c35f57aa78b3f1674a6828cabf5d32e9cfd16cf2a3dd7504d731644c2b0eb322
SHA512 be9f6d04332466e8c0b4588b75bf74943377fa01cd9129db99067ba90cadcbd2e847ca45072681c04a13191610f7fbc8c990ea17d30d6e94efe01ae484478e17
SHA3-224 c0aebd81a7d6e60f4e80b84a8cac9ce116e14fb88b006c71d8c73d32
SHA3-256 75d2e59bea805d141f4462d397883ec744acdf954de9110f3fd24488481e1a3c
SHA3-384 2a04d2f7aa3e45e63758569b366849b8d096f04ded107379fe56ab6a281b0f534165fa666b950f091d4b37d521bbdd4c
SHA3-512 27bf10e3ea40028a5fff7a9656391d890121da6eebe93b09342ed20fa256442a3967d936194adb3634a8607c40409258fd41b876522f3b06cb383a0458ba553d
RIPEMD128 1e7eccc471e9b71c07b288d078013d6b
RIPEMD160 dddf4f75ee24f52ab41a3811aae7c4c15590ad54
RIPEMD256 e48a07fe59030cdb988222872d1afdda07f51ee49d2953fb0557e8b43d5506c0
RIPEMD320 576d920f530353ef023d613c74c5cf0d2e95c2731b8b16d62aa119b3dc73e8cacba82157ab130e32
WHIRLPOOL 13510402c4d66017fd5c3ef345252a912ed4315e29bfb74a037a85d9bae473c39f1378f457de0197b79e025b3a7913fbe0e625797e734516ee6df62c9b389aae
TIGER128,3 7004f1732e09008e32ed85add10c1ae7
TIGER160,3 7004f1732e09008e32ed85add10c1ae7e1a33136
TIGER192,3 7004f1732e09008e32ed85add10c1ae7e1a331361ade6003
TIGER128,4 7b9e0aa333c17353f2ea1284a1d67053
TIGER160,4 7b9e0aa333c17353f2ea1284a1d67053baad052c
TIGER192,4 7b9e0aa333c17353f2ea1284a1d67053baad052cb4c5fb42
SNEFRU cde01a4526464a48a1af82e47668841150bbbe52927379d6582804bb8f857a8b
SNEFRU256 cde01a4526464a48a1af82e47668841150bbbe52927379d6582804bb8f857a8b
GOST 9c4fd81360c8c0cd7473dd69e821689af27745f006146acd4ce06df1b74c1d07
GOST-CRYPTO d36905a95c6dcb5f5885227d3d144d6c34f6c7d2dc5bb291d4d62a3310567f03
ADLER32 cae4098a
CRC32 4a5fc4e3
CRC32B 5751e110
CRC32C ce88cee5
FNV132 88c29d7c
FNV1A32 e98b9b82
FNV164 ba6fd40cf36df3bc
FNV1A64 5e618eaa63bd6022
JOAAT 6926a5bc
MURMUR3A d687c27d
MURMUR3C 3ed8b0b13393f88c8507d53aff70faba
MURMUR3F 92ad5af8d15b52e5cdd25b46841ea2f1
XXH32 d8799d46
XXH64 bf1724aee82f49ff
XXH3 2896061c0b549983
XXH128 72cdc24425d17304749cd3b05f7bb1f7
HAVAL128,3 d372669fe7e5710419d6660663db26bf
HAVAL160,3 e03e28afd9a2494f009fc5456171118cffe517f4
HAVAL192,3 e462a6a68123b93f9655a161a324501150618531249d7512
HAVAL224,3 75b8aa2e68ae2730c397866d2e375af8aff504f654ba171257d07819
HAVAL256,3 b133885d886c10e628f49949c0f709c339792a92258e4b3342e2f33b37f35df6
HAVAL128,4 1c4f61282e0e50eea48ad680a6742b28
HAVAL160,4 89908ed0b1c1a5eb7f4f30fb086d1ae1039f108a
HAVAL192,4 64dabdd852a0201f8b8930b012bc924dd253cc3bba47dc2d
HAVAL224,4 48c03e2d7e840369aa5a61deeadfb19058e396f394d3394de1c169e0
HAVAL256,4 aec1d04e965596629c89abd2b1adaf023a791bc90ba2cc76d9d75de30d268a6c
HAVAL128,5 9fd52c36d641ad934426ca46d77a5aba
HAVAL160,5 a7abda695bd9e21fc92ad9031c56c7ebb7b14b30
HAVAL192,5 2b1e562316d2d904c0a5411d5e666faaeb9e470a1a1470c3
HAVAL224,5 e7613ed5486c773fa6445763c6ccda8d1a7ede8bfdf130cfb57599c5
HAVAL256,5 fdd738431250812e91fb60833340b09af2016129b8698bf466b0f165e7a2f6c5

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