SHA256 hash

SHA256 encoded string

8ae173afec481f98de374609cbb4135a82e98baf1e31396b6ffbd7700a0d0710

Your last 10 encodings

AlgorithmStringHash
sha256%5B%27AMAT%27 %27HOLI%27%5D8ae173afec481f98de374609cbb4135a82e98baf1e31396b6ffbd7700a0d0710

String "%5B%27AMAT%27 %27HOLI%27%5D" encoded to other algorithms

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

MD2 0c64a2f9ddaea97290a0912d8dc1a762
MD4 56945deb5be515eb3096f13ceb649cb0
MD5 13536dfc6a3a1b0739f3923089c10afb
SHA1 cc2ccc0d64675706b9cbc88ec0da943c1f447e74
SHA224 94c6b780a16d6f149ffa61df6f1df381965c790c42bc586018f4ee07
SHA256 8ae173afec481f98de374609cbb4135a82e98baf1e31396b6ffbd7700a0d0710
SHA384 b8c489e146a30db7119d658b75e654aea27aa1e13e03e61b13cef1dfe1d8e83e1b898e382a270a0280f2a2e387f2ed25
SHA512/224 98eeeb939b77fae25d29c97dfd0e30439d2fa2339a8395686c28de79
SHA512/256 8b9a3208eea72ebf7277ab00ccab8731f17ba2b0e6f4573d0e780a0719c99f59
SHA512 19a86703ee70b59f68e0b975375f6da1c4cc1f25eb92924b05bb5827b3fbad5fa1b6960d63da3ffad1411e23635414f5f7d296bb3c3a200291297306add9b9d9
SHA3-224 5942016e901d73387a8abd2cf56ee28a36d774d1ab2c722dd70cb6b5
SHA3-256 73ae1d239c33ef17f52dd30836d861dd20d0e87b0d514a74fd93e213f05c9544
SHA3-384 dcbe6adb73309fb0a16289ac8cc4d1f4ebe95deac8df305c560cd5dd4ea1c881660bd0cadfe9bc00cf6bd08e5f093db8
SHA3-512 981f2add78a6fd4ef8b191245fdd8431717831e1e37c1af3ead8276a1621025b351ad9190bc5621ffef1010ea7cea31770450d6c825b25fda8500969894c0b6c
RIPEMD128 dbe8d49d2c2f300948833ce104fd8ea6
RIPEMD160 5d32129cc57ade5d8b7bbafb02d96c2accd813c4
RIPEMD256 e7670e7be541f9ae70d3a1a0f5efd4d5ce151ed4af5e15c7d9673eff65db7b0c
RIPEMD320 0d8cc4e44af8b294a8e3575d272d07990851c81ef9ab6ea37f2773709b714de55649c4be7ac77136
WHIRLPOOL 820a16c9d5adbcd6002bf4ce7e95b7eff2ae8af86b344e350b538d49dfaf9c817380d639b3002eccf6baf4ccb8466df87e8c33c727b85e823c2ea2292b2afb34
TIGER128,3 ddeb4c7393499a38b859b89be615ebd5
TIGER160,3 ddeb4c7393499a38b859b89be615ebd56995364a
TIGER192,3 ddeb4c7393499a38b859b89be615ebd56995364a2ff72806
TIGER128,4 58dfc83b6165a0e0eaf1e2da843cee6d
TIGER160,4 58dfc83b6165a0e0eaf1e2da843cee6d91edae54
TIGER192,4 58dfc83b6165a0e0eaf1e2da843cee6d91edae5407817749
SNEFRU cec8a7aac0cee6d672ea637da418f34bda71434a11361aab3264ea464c6de0d6
SNEFRU256 cec8a7aac0cee6d672ea637da418f34bda71434a11361aab3264ea464c6de0d6
GOST 7a83c53ced1eed77a9b30fa94bdc71e4c186e282f4587d9712df7a59cb23be71
GOST-CRYPTO 9a1fe6d9b5e43146066f1f5c92b91acae8c341022503b4f673b46a3834ea2b1c
ADLER32 518505e2
CRC32 0979972e
CRC32B 755821dc
FNV132 477d5e0c
FNV1A32 70c6515e
FNV164 424aab6ccf8957ec
FNV1A64 bb40221cf2cdd85e
JOAAT ed612c97
HAVAL128,3 65294be80f0e17697e255e9edf2d5b23
HAVAL160,3 553177c9913798600a4be08f453c23ee848ac6af
HAVAL192,3 900c517a229606edf43fd95aacf375cd55d7a423507d8a50
HAVAL224,3 b123d0f19458228812d99543bc24e3dfbe0694ecba50ee3a30b80f3e
HAVAL256,3 3f016b0748ab209c4f815e44f231888856f8d6241dab37ca8c431e18ca6c14d4
HAVAL128,4 be6b0f3284985c07e05673df15e41183
HAVAL160,4 d8e3bde8425a3f0078f5deb716c18fa9bb3cf122
HAVAL192,4 6db127b57073c746340eb434074b1949a991bdccc7854657
HAVAL224,4 7cd8488c872bbac6d439a320a6d2606f6b0f9455ddaa1567c9874de4
HAVAL256,4 40a5169b0a478e523fb328afbadde4a6342a1a2f0ddd18665ca2dbd541b6cc65
HAVAL128,5 ccb4f050c643d4032732c39a3bd072f4
HAVAL160,5 f02ffa7928a6c3772b624a8e382b63f58ec7745d
HAVAL192,5 4789e02574b02928d1f539d5e9d3f305fe8830e52eb981f7
HAVAL224,5 dbc07ebac285828bab7e2fce45ab553982971a83a7ddd79f07721603
HAVAL256,5 6c71a6cd4abf2ffcfba37ce9cd08d28c507f08779cc52838644f06d8add84cbc

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