SHA256 hash

SHA256 encoded string

11017543ab0228a4d4a51cff2c500cec8627208c877c719787a9ff69518e7924

Your last 10 encodings

AlgorithmStringHash
sha256['SNAP' 'COF' 'TWTR' 'FBP']11017543ab0228a4d4a51cff2c500cec8627208c877c719787a9ff69518e7924

String "['SNAP' 'COF' 'TWTR' 'FBP']" encoded to other algorithms

Here you can view hashes for "['SNAP' 'COF' 'TWTR' 'FBP']" string encoded with other popular algorithms

MD2 f71506a57b22b9d77a60e6fb013a26e5
MD4 019b8f3e42d9b0dfb34a2cfc709bf6d1
MD5 d8bb9acdfeadfe5f6bbd300f29f0bd8b
SHA1 c808bb4c48c9072c69ef9cce8063851978ff1bc1
SHA224 d6aaa77650e1afcdb38261105235500b452b317eb064895efba60f10
SHA256 11017543ab0228a4d4a51cff2c500cec8627208c877c719787a9ff69518e7924
SHA384 f56db417e9cfc866bb117359aebfae170ff4a9957b950e88bf9f6757d89c9b0c96c3dcd017397339a3b5c08bc7f341d1
SHA512/224 fe0abfd308ea90699c6ffff3de2ed573955ea7b39fef21232caa9aaf
SHA512/256 8efdf0e0004af16745647a8190e3752197893b213043ba71aa1841a3c1274cd3
SHA512 380093e3ffbad77cc3505103558414dffa0763189621ae963915f5ec9d4d9a055baaa9899b1693b37a8001b289122e1a698de534bcac5df1e1730650ae1410f9
SHA3-224 d7796580e1ea790105cf52289ad3c2cfd44a796734740891ef8759c4
SHA3-256 3f01de9486b9a51239b97c91cb27dcb9195aff2e43fa90c2d06898c1e8b116d8
SHA3-384 aa2e23c5210e17ea566c41e7371b94437bdd3275ce05d0caed3f62dd6f9b072f5e9aaf1b166ef62bca8338714c620988
SHA3-512 33098673fe21582346d5477199ffb56b14ce06742d5f6057fec2b29e8c14045d17ff5fc235abbf942e96568775b389f10e02ddaecc99ea7898be48d428cc5a89
RIPEMD128 8e1ed8d6349959cd9e0e00e1fe987217
RIPEMD160 1fdb56339d4c7e77ecc23ddca05323a6941cbd2a
RIPEMD256 42fcf8093446abc68a58615a59ecd5f810596feea97cb9cf5ed151859fde8f7b
RIPEMD320 99d3451791600851b4a21f167cef552f2a188c3aff4a5763d2c59bf3dd9fcbeb8a6d7e01b9b33fa5
WHIRLPOOL 67740ef855cb8c2e0aca5a3cbfe4bd47768c98d5d1f9d5d106ae8fdc3d5d6781f0bf6bd01398b6532cbcb6cc1b0c6ba6bb5230392638179c1aa3943af36936eb
TIGER128,3 e7521122ba44328626e0f43237716c7e
TIGER160,3 e7521122ba44328626e0f43237716c7e34ff1e1d
TIGER192,3 e7521122ba44328626e0f43237716c7e34ff1e1d5f0fb545
TIGER128,4 539e41230233f4e7fe20472dd27ce748
TIGER160,4 539e41230233f4e7fe20472dd27ce7483d6abb69
TIGER192,4 539e41230233f4e7fe20472dd27ce7483d6abb691d07ce48
SNEFRU 84f5bd50479f70dc26ca23a7bc0a5afe397215fba7d13bd7202f186ef0fbc578
SNEFRU256 84f5bd50479f70dc26ca23a7bc0a5afe397215fba7d13bd7202f186ef0fbc578
GOST b0a79964eff557ea695b9e4a82499d9f5ab4ddbe446ce9fe6495117ee8964b56
GOST-CRYPTO 322c623ddba429484eefcfae60b94c44128408da7de2f1d773b403f711f538f3
ADLER32 5b970684
CRC32 2458d2ba
CRC32B 607b0540
FNV132 5dc172fc
FNV1A32 1996d4ce
FNV164 9cc7f8f65725951c
FNV1A64 7aaa733aeab30b0e
JOAAT 230cb6f1
HAVAL128,3 2656d03c9cd1efdd54e60e9288e3f138
HAVAL160,3 e26d105fc50b5b9a5b73730966d7ced15b0a97ef
HAVAL192,3 ec51449eff55e206da50cf18cce17ef777f64c6ca27b7811
HAVAL224,3 bf260c1db1d26c2feb8a73de00b9b1de7955756c6de2d2f8b7302379
HAVAL256,3 a5bab6ef63845b4e04806815f3b39e1665b3cc32772a31cec6c389783fb9bb31
HAVAL128,4 df48cd6111a7f80a8b5968c494437b4e
HAVAL160,4 d0b249df39f893d0aeb6d14189379ce90f7e906e
HAVAL192,4 2244bf70f7d0076b9e58bf98c79eb4923876745af865139e
HAVAL224,4 c55144075c93fae40b1b2d6e966e1e5b6ab05e617be69e9b465d90bd
HAVAL256,4 bf46fb4c11fb4962ae44868814bfedbe9a3c6312910c01a7b75df650d8dea92c
HAVAL128,5 8f90cfc0ab0bb02e2b8c30fe0f93cd34
HAVAL160,5 27b28f2b68c881fcc11b9929438ac880480186b1
HAVAL192,5 739a57d64bc3e7bd0870e1e5fa69d815f4d373555545b244
HAVAL224,5 5dfec77815018487c4bb3365c7dfed12e37002338644f9b7bf72512a
HAVAL256,5 1564eb0a0f9f583d9dd477e9025e141c9d8dd34a4ab09406e75d5bfd1af6b60b

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