SHA256 hash

SHA256 encoded string

a1d3f829168beed57e6061f5f5d8973fdb16e4f9f1774c3b24f81a42326319fe

Your last 10 encodings

AlgorithmStringHash
sha256%5B%27SWKS%27 %27RHI%27 %27SKX%27 %27KNL%27 %27GHL%27 %27GNTX%27 %27OFG%27%5Da1d3f829168beed57e6061f5f5d8973fdb16e4f9f1774c3b24f81a42326319fe

String encoded to other algorithms

Here you can view hashes for "%5B%27SWKS%27 %27RHI%27 %27SKX%27 %27KNL%27 %27GHL%27 %27GNTX%27 %27OFG%27%5D" string encoded with other popular algorithms

MD2 69370276ea463ead9d92be6605332620
MD4 c118338e76ca45fae617375cb2184725
MD5 cfe9e3bd0272586dfeec036718f6d8b2
SHA1 09f09b0c175919d11aad5ba640fdc589e7045a1f
SHA224 e643b24d84b8248cfc85eded0ccda30cba30057d9e46559f07fabf6c
SHA256 a1d3f829168beed57e6061f5f5d8973fdb16e4f9f1774c3b24f81a42326319fe
SHA384 295bc6dedbfb1f86b2be6fb738258bd80a96621e73a61692dfeecfc7dcbf01944668064c0209611244bca40910486ceb
SHA512/224 5cc1b08f85dd2c0549ddbc8a8d2471c4c237ac92be5d7d8408444023
SHA512/256 55f33469f391d23eef6508cfc5bc53e9ba383762336b242b769aa70c6241ff29
SHA512 a342d979e826e4d2deb06394d577aae4d39ab2ee3d90801d4c918bbad073a41f2a82ad771ebe7490cabd3642000f1d97e1609a07f673d0b5e175e93e583fddab
SHA3-224 a16a56318671286c1a5fdced80054b7748a001a047d145a3691108e8
SHA3-256 d87f61522d2aa0da9b3a903279911442116c34bd66c4ca7743273974cad5cda5
SHA3-384 cd3de7e9dedb4d63f7157a51c280394a3813b90960e483b7a56b53d6e8c92c2568e96ddd843b003356b9dc106930224c
SHA3-512 3f57aa9a5644e0980c808c5aab5bf0a53aa7b2e0163eb03e00052dfb779078acea00b60003c2e96396bdc38f467ab2d35b893596df29522b6ce74b940e49cf5a
RIPEMD128 01d482a931a0bff0a410cf8b4e1d5629
RIPEMD160 fb21dcf6f6368a3550d7bc9351276686851f6a30
RIPEMD256 70d392c0de698d7c0c6a7a37fbcc54a12938ca852d221c182a3ea4064e939f82
RIPEMD320 849a06721474af312b64afed5a1fe39823cbe1603f375582c91fae456a24e95555a324d63c31e8fe
WHIRLPOOL 29c9aa22d034593e81ff9724145ed4fd495f8d815224145af44908d3a7a86fae934535a958b1cda81cbfe261b05848a96acba9eb45d932a97a376a1823bae7ee
TIGER128,3 0e33a06e8aa3a50eeef5a2acc3557e91
TIGER160,3 0e33a06e8aa3a50eeef5a2acc3557e916a3412c9
TIGER192,3 0e33a06e8aa3a50eeef5a2acc3557e916a3412c9f8bcdfb9
TIGER128,4 bf1fe6d6ff8bbdbe01f917755f4e0235
TIGER160,4 bf1fe6d6ff8bbdbe01f917755f4e0235132625ab
TIGER192,4 bf1fe6d6ff8bbdbe01f917755f4e0235132625ab3495e03e
SNEFRU 89f3b84935918ed9daa5a54da9cd50e5ab0ecce2d4233664117943ebab03eb4f
SNEFRU256 89f3b84935918ed9daa5a54da9cd50e5ab0ecce2d4233664117943ebab03eb4f
GOST 528e5b4ac45a7acb7be72d2f7b10f67d4d14d477ae987b299a045572da061a9f
GOST-CRYPTO 9446e3c26dfeadb646088c568b602c2f26f4a00e245d87f4a63546b7700bbcb1
ADLER32 8fc610bd
CRC32 4ce78ca5
CRC32B 9f6f2f61
CRC32C ac2bd1b2
FNV132 a3a15e95
FNV1A32 9fc938c9
FNV164 35fa584a8a87e935
FNV1A64 a57a916894a0c469
JOAAT 87afa0dd
MURMUR3A 2ebe4dbd
MURMUR3C 0cdb5a5b3e0bd61dd4dfcead661e4fc1
MURMUR3F 9be6d862a615d36c9da1a6cfb48a7549
XXH32 fa3a50e2
XXH64 819293832168b02b
XXH3 a411be06eaa50700
XXH128 f734ad080c81e0b4375cad541b6732e6
HAVAL128,3 684f3d6d1fa3a867f6fbd6146e818e36
HAVAL160,3 5bf3f295f93ae267742d5b1bf43c83be7b2d30ae
HAVAL192,3 b5e4a41ee984adeb38cdffa2e1057038cd42205b960c7b3b
HAVAL224,3 45b0b6ddd564be7d20eaf5312a37864d9797484b18dbdb8d4a3c875d
HAVAL256,3 be95c62bc39e35cb669cf20738d1236350990b7f8a053413f7a89978c9e28e03
HAVAL128,4 39abbaf340f7b4904d85ba827eb521cc
HAVAL160,4 51a5e82c6ace8fee8dbc4c333504ed3d73bed83a
HAVAL192,4 9237bb0cb19714f40d92ecf841f0e7660b61960f5e96ae3d
HAVAL224,4 b2b287f23b5e7f48a569eb5ea90e3e896d896a688ec98ee0731153c4
HAVAL256,4 3dd68be7ac5ebada76b6b87c13aa79b5a6468df51a94796cd8fedf621ecc4130
HAVAL128,5 5f6014b017ac299ade2bc4fd4d1b8ef7
HAVAL160,5 bc5fef3ed9b16b598cfd45c99be295cd19ff3a3a
HAVAL192,5 5c537f60b0132747f9ad578eeb2d2d3fd74fde02b7590556
HAVAL224,5 0be7cb027d6b84bc132cad983905096138d7c96928902e6a9f04388f
HAVAL256,5 e521adb9a911fef459ed8aa07dcc8537bf7c785893072701c0d041ec6e869e6c

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