SHA256 hash

SHA256 encoded string

f47ab4ed4d52b3b4796852a0b9bb417e572c39b50871b173a644ac1c2cb4bedd

Your last 10 encodings

AlgorithmStringHash
sha256robot/Simple-way-to-get-snefru-hashf47ab4ed4d52b3b4796852a0b9bb417e572c39b50871b173a644ac1c2cb4bedd

String encoded to other algorithms

Here you can view hashes for "robot/Simple-way-to-get-snefru-hash" string encoded with other popular algorithms

MD2 11ef91e157544a2e2d5c5a3e6c675831
MD4 2f302b46bf79f02da2976dd7427e2065
MD5 1343f28b42ec621593dcace3bc847288
SHA1 9e1e1b91419f3d55f2ed3b981e5cbc72dad8536e
SHA224 3f634da05e07f2e9a36131a6f9d80ba4b35a14c14103b5a0d12d8c13
SHA256 f47ab4ed4d52b3b4796852a0b9bb417e572c39b50871b173a644ac1c2cb4bedd
SHA384 4adbf167f75c70afb854259be6fdccda8b58b41a42274c1ed34c8a5a001034dc3da9ade2370622daaf443e32f55933c4
SHA512/224 ecb23165987f6d89cdd462771daa2c15a6948e9578ffa4d041c1b485
SHA512/256 8165c0308d93abf7f621e9bcafc0d071e9243f5c5955a3958087143e3954f673
SHA512 548f420a9d894c084d56ecff056d648710674dab86db32569d270ae6668955eb66858fa61481f9c48aab68d9562323755a80eb0bfbb96301a3499277f7d6f63a
SHA3-224 3096620fcefd33dcc3769e52a315a57f30be0fc786fa105c325553a9
SHA3-256 3604d428a71397d12fa6a34374593490c0e7986f29a6bd6e8d0e5c4865925e26
SHA3-384 bb764ee54a8c48761a5b01b5b414719e6b8ebcf1df552ea7326cda767726901729a34a99a0b3013f9bbf9cb1f3fb4e6a
SHA3-512 09922111357e3c0a5bc43a3a62568bfc97ea56ef42c4d8019ba4b77ffc110b5d5303e19c82d75e943a68741705a71a69f17ce1048ce18e4a5a0d562ad49c5b94
RIPEMD128 9bc470b3de5041d2bb381fb38973dab1
RIPEMD160 1fd4fd296642569d0e877ac16c7d9fd10a0dda23
RIPEMD256 1c027b5e706e51b88966eb53c999efc492dc3d326b60264902edeed1dc10047d
RIPEMD320 88279b412fa72b30e307016025ed6f94a71e1ae104e65eb51e59053724c2dac96dc7e47fabca0af8
WHIRLPOOL f31b28ad1dd165716bf32c06d8002a590973bb2833ea4fafdc0c156fe6c938aa9438adb3d7d421877bb26abbe9c40ca6d1e4df727e3e797fba8fee11237cf507
TIGER128,3 68d6a61aca7f2fca4f5afbb05c9a6e7b
TIGER160,3 68d6a61aca7f2fca4f5afbb05c9a6e7b9da5eeb3
TIGER192,3 68d6a61aca7f2fca4f5afbb05c9a6e7b9da5eeb3c5acca32
TIGER128,4 1629bc2df24f5e6bbf3073cd86be7c19
TIGER160,4 1629bc2df24f5e6bbf3073cd86be7c1942092d0c
TIGER192,4 1629bc2df24f5e6bbf3073cd86be7c1942092d0c12dff7bf
SNEFRU 4bb81f6eedb18d24ca5ede1db5133f328b56a902aaa6f1f47894dea985088902
SNEFRU256 4bb81f6eedb18d24ca5ede1db5133f328b56a902aaa6f1f47894dea985088902
GOST 4c9157ac44d558e981397dc1bbe5c4828e0d22e56df08f143016f806c8029810
GOST-CRYPTO 536157e7d2af1a17b3b37c4c385026dfae3a8f08e9d1a55a2d4296cda5cca17a
ADLER32 f0000d4c
CRC32 3fc50c85
CRC32B c1b20796
FNV132 dc77de0e
FNV1A32 29d2e834
FNV164 30d3cd4b73f4714e
FNV1A64 512128c64da57a54
JOAAT 0d4ad837
HAVAL128,3 defb26868183ec4f8213e410ba0d150d
HAVAL160,3 9310fe09258ff78d3de2f0753d070e4383654898
HAVAL192,3 fb06b442792c863b8504c13daf84bed0646561311378546d
HAVAL224,3 d79bcd3c6d2a7f38207cbb801110a8031ed32f2ce147b68ecef64d0f
HAVAL256,3 e23a53ee7cc33110de07152d6cd7f372ef3a170188dd8fd48bbf6d6a96b372fa
HAVAL128,4 6ecb3c0b12888fde7db05e8d9831f537
HAVAL160,4 7a8ede3c008bf7be545c10aa4b17e3d0dbb4d62c
HAVAL192,4 17ee4ae345731957043388d341af83391acc727df0fe2bad
HAVAL224,4 a5c3a363f84845e09c22c1dfd0cf46813b1554f255dba6c006153a85
HAVAL256,4 a718f60cb83d0f781aa3ef4febaed483e9d44e49c15a19fb7237171989364404
HAVAL128,5 21ea46b2f906eea3806b99d721ce3104
HAVAL160,5 77bcbbe880ed4d18049097f837bb7c167fd996d3
HAVAL192,5 ae18f698c49b399c47e6629016a0bf42c73367f1002d94ee
HAVAL224,5 6ff39291fb204ef950b0cfa081d948b4914df6d4871ae6fd218b5cfc
HAVAL256,5 de29228590ee122715e13b8e4ff54f8c3118e9567c7912c5ac8a8ce397d86c48

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