SHA256 hash

SHA256 encoded string

d1d47c01b1cf81dbf9c942e80d87519fc2298ad40f8def0341e07e7ccd7a2315

Your last 10 encodings

AlgorithmStringHash
sha256%5B%27SRAX%27 %27ANGO%27%5Dd1d47c01b1cf81dbf9c942e80d87519fc2298ad40f8def0341e07e7ccd7a2315

String "%5B%27SRAX%27 %27ANGO%27%5D" encoded to other algorithms

Here you can view hashes for "%5B%27SRAX%27 %27ANGO%27%5D" string encoded with other popular algorithms

MD2 dd9a38a3f586a557de61b4035669f605
MD4 d1b81143498f4e8c33da01c63bbcabfd
MD5 2248c3613f3081afb52ebaf85402e07d
SHA1 9a25db5a50a4de7d55e15b969430d8a6328b764d
SHA224 24f17a9fd8674a9eb8933bca2d92e7bbe54adedce3f135dd08fbde6d
SHA256 d1d47c01b1cf81dbf9c942e80d87519fc2298ad40f8def0341e07e7ccd7a2315
SHA384 0a745f468f1457c30d36fc6e21e0a440e8808826a38436c3330ae54b3a69c4742fa82cc998d5dd252bedfc7a8cfe9176
SHA512/224 3b616282dc8b2b50bc9eef9b6c54529f63b7159912c5aaf10ddb7f1c
SHA512/256 c1207de24008e070dd0865258dc1713dce5d1b0824ae5e2c7a639cc7a42bc9e9
SHA512 e9bb332a29bbe7bbfe396052919c32e8039e3d2f2e87c081a11cfcbb727c942b28a6247156de9c5583f5fa6b00194e26dfff995aab53d9180a9c2297160a6d64
SHA3-224 cc0ce3b79a1fe0d7af7c896a0aa57aa11ae55ecaa44347da72c01f0f
SHA3-256 e636f959476e33ab6b0b653b1c5f644763871f0bf067b373865d5fae2ee4a356
SHA3-384 b933b0ee38957e7653476caf4815675c46c1b09df7a85317ae56070c2105bb090aa2b593c46ec810305cd0170704207c
SHA3-512 d5be97e1d17f55cd09d8bf3835a0c6907c56cf6ecd536c38b7fc7b2b7eb1969686798b3d5e08372cfc38b37ed85d087b21d0e14b833b4902d4d56310ccb8b667
RIPEMD128 4e5625462bd74c1573d5da1e0bb58ee6
RIPEMD160 b196d17946463dbd6684b6ed7fceb781f728d512
RIPEMD256 f64731d4bc83f5ff1c05cbd126172558c7d3e9dc09062436c0e9fc9e136d5cbc
RIPEMD320 7869257b8a77229c9ebf2bbe27e360e27583fd9dcad68869f9ac97125e4ed492acd742f5a0df96a2
WHIRLPOOL e2185b4d9d9fff63c40cff7fd897f0a17374f5830c3ee89985d91b9cf1da92cab59f121e73d3a9de84b192abfc41ae4d7f9305332b55bfcce9911fbd29ae8a51
TIGER128,3 1597a5b525945c13fca23db5ae00386b
TIGER160,3 1597a5b525945c13fca23db5ae00386b3020c6e5
TIGER192,3 1597a5b525945c13fca23db5ae00386b3020c6e5ae029b3e
TIGER128,4 e12e8fcb7ff23b0da3a73fd0976f1fb9
TIGER160,4 e12e8fcb7ff23b0da3a73fd0976f1fb93c4ffff2
TIGER192,4 e12e8fcb7ff23b0da3a73fd0976f1fb93c4ffff250b045d5
SNEFRU 55e4190f5e62cbf19766dae73cb4a0ed6c0e38c155b792ec50415624460445e0
SNEFRU256 55e4190f5e62cbf19766dae73cb4a0ed6c0e38c155b792ec50415624460445e0
GOST d7d31ca6f731682b62258602ebb3bcc252495fe65cbff0c0759f322d7a027c50
GOST-CRYPTO 6ac1489fcaa3f65ad13ecb3cf01c76f50b14c555fa4568c3ced1851b0aaac187
ADLER32 535e05f6
CRC32 84ab6c44
CRC32B 8f0c86a6
FNV132 3d3bb41a
FNV1A32 c53773c0
FNV164 80adc35dd04f389a
FNV1A64 ffea417d5c470d60
JOAAT d934c207
HAVAL128,3 a0c0fe5d5d2d6b83b84e10ecc678fb4c
HAVAL160,3 1588534393e3f9d4cbdd7fc2c44b8b17166d14da
HAVAL192,3 959f3506a29fb39a2f2e2952cae9019169fc828253248d91
HAVAL224,3 9cc9b732691b3cbf0043acd9865dd631cd7644e86bd4224186bb861a
HAVAL256,3 75955f737c6a871de0f89a5e80d00d337b8b495c33c857190d8714b24434880d
HAVAL128,4 d3ea5e21126fa2388998ad77e109cc17
HAVAL160,4 cf24652291dce8892588f44ad6eba3a4915ceb50
HAVAL192,4 ed719e22a70cd46cf37dcbc37c70398ed670e37d00afafe4
HAVAL224,4 8f277764b4d6d18488b229732967e9ed90c25be29f4d730e2673f983
HAVAL256,4 67d460fb1568800669614b958ed76fab88849a129a8bb8a7c64809f6a37f2155
HAVAL128,5 816965dd48a1cebfbc570dd1574cdb75
HAVAL160,5 976ddb66337de710d313e1ce422e615ef9b8ed93
HAVAL192,5 208ca9b0268cb922b0932b1b13ea46b638a6635df6b77321
HAVAL224,5 388baceeb130aa1f2edf0c18ec60152d32247b3d4260b863e64c3125
HAVAL256,5 29c6076130399d4aab127948f5c375ee3186bfc05a8ad8933554835e01486ad8

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