SHA256 hash

SHA256 encoded string

7f836af88d33a772e212ff50bcbd087c65eb4084e5db641d81cd1007f5685a31

Your last 10 encodings

AlgorithmStringHash
sha256['MSFT' 'GOOGL' 'TX' 'TEVA']7f836af88d33a772e212ff50bcbd087c65eb4084e5db641d81cd1007f5685a31

String "['MSFT' 'GOOGL' 'TX' 'TEVA']" encoded to other algorithms

Here you can view hashes for "['MSFT' 'GOOGL' 'TX' 'TEVA']" string encoded with other popular algorithms

MD2 9bf68d535040efc6a3c2fa9dd0f1be68
MD4 a9f4eeb05eb24828b189ad4c6e9e850c
MD5 67aa9f52b355d01f68edef761ef24653
SHA1 dcc6c991bce863cde1a20928b043eadffc6a831d
SHA224 1857a7d793f5323333040852645ee6d8bad7199c247ef61de4233d6c
SHA256 7f836af88d33a772e212ff50bcbd087c65eb4084e5db641d81cd1007f5685a31
SHA384 18607895152a37c5f1539f0fea27a7a0d1536206f3f53a6286b0143ef00a4380801f61992b1b1a8edeaa71991b1ff134
SHA512/224 ac215ad81c1a019d754075a056512e34d8a0407dbd51e3caccba209e
SHA512/256 7855d62043aea3c16afa062d2456db19722651d2418f5b63c0546e671ffe5ccf
SHA512 6ce16d92b45f2cbcd0e7d8689c1782931dbd154f47788b9fc04986fb7cebabd8ff31d2d645d362fe06302f590d3a5e5dd092b1fa7ffb109e3894567839147ce8
SHA3-224 f4f157cf0be5677012eca6d40d8c752b23621e3d116a32e9c7d85001
SHA3-256 b992941b878d363bc3f0e5a689a561725bfbbb5b859046ce5f5e0f9b65f0b3ff
SHA3-384 27ef3bde4dea386ccca186962494479c1269542d3a259f68ec846ba65872a1a9ae69ce25a90df9add8f1b6d09ca0c925
SHA3-512 18d4a108ddb6044bccedf5fd93d0947c745e3a4d57c79d69d14aa27763f97db149b8546d1de4dfd6b27e7161b2036861263e6280b0db395e53682842a7596e84
RIPEMD128 7eb4e065b7f17fd42015175ae749882a
RIPEMD160 ac2f023a358251fa2b0b504e17b89f03478d4b92
RIPEMD256 044232b0c2467a5ce65088982bfbb735bc4a867d2db1ede3cc2b0456564d6b65
RIPEMD320 1f6df63daabd5081fa1d9d8a10baa455c64abfc159b0a1d31ce6094be46184aa71454580cb446e21
WHIRLPOOL dd5a181d77cd2525e789db32237723786ae385c2792531d29a56a255077d07a6351da501f81b7769bddeac8f7fe3556987f4ac3eace24d151b4fe14e44c17051
TIGER128,3 de2c82fa5c7f024b10289968426c3465
TIGER160,3 de2c82fa5c7f024b10289968426c3465602666b6
TIGER192,3 de2c82fa5c7f024b10289968426c3465602666b66126a1d6
TIGER128,4 0564890dc0ac2194336c6d4169487bc6
TIGER160,4 0564890dc0ac2194336c6d4169487bc60b2d8daf
TIGER192,4 0564890dc0ac2194336c6d4169487bc60b2d8dafb3d7d0c5
SNEFRU cdf028f9d67852d0419db25394adaa51d98e2cda5b8349e480f87654bbef46b5
SNEFRU256 cdf028f9d67852d0419db25394adaa51d98e2cda5b8349e480f87654bbef46b5
GOST d24f5a62b70fada995c4efea1e8a414a9d72c1a6cc8445334dbb982917576fb7
GOST-CRYPTO 0524d9927415e17290ad50c967441c71dded4d15397b98df131bac22c9f22025
ADLER32 645b06df
CRC32 88830200
CRC32B d50142ce
FNV132 e02c0287
FNV1A32 be6968bb
FNV164 d2d126e550f25207
FNV1A64 4a72ba076b3dd3fb
JOAAT 9a445e95
HAVAL128,3 65648e7f339bba5d1866bc393bc47d82
HAVAL160,3 6b8ecffed9fa4aabb22afeb976e6ec21c26cdf40
HAVAL192,3 ea8d4a17928885c5fb9e993fd0a2265ed7fc730ca59a437f
HAVAL224,3 09d4f01ee3ad9cac7da40676c834b966c6dc656297ba604561b1ba32
HAVAL256,3 3d547e87d24ce6940fe4d72089728fc50d19b17adb95f20230c088f4cba23dd4
HAVAL128,4 65d546c20c454b06681ef3f6bbaca5e8
HAVAL160,4 dad3c1fe3a55a0d694936687a25ed08cbe6a52c9
HAVAL192,4 843e6434e0992f44af397963a991529ad3004ca7ae96d717
HAVAL224,4 fcb7dddf03c9d5d3c3f1484d723552695b3789c8521e1a02872f86a8
HAVAL256,4 45aa35782d20de95149176aa6829e987c273a7355132027aa83bdc8bd5e9f39e
HAVAL128,5 878da2f2f33312dfe4d65fc6ba5a9464
HAVAL160,5 0a715386010414e8014e1f3c0dd75b05fa7a35eb
HAVAL192,5 bc1c76f63b9f0c6b31814ef8cb8d5bc2545d769add616100
HAVAL224,5 098a7cb39b26b5dc8d8b49cbb482a772828a4ce51999500e70ffaaef
HAVAL256,5 14be3d240024e1d47ce9d157666e186768b98f65fd7b7ae3c2f4943f9ac02854

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