SHA256 hash

SHA256 encoded string

b02a89f685c42b100c0418f7bfb503c0fb2e15604b56bb7dfb989644511ad7c2

Your last 10 encodings

AlgorithmStringHash
sha256%5B%27LBC%27 %27PB%27%5Db02a89f685c42b100c0418f7bfb503c0fb2e15604b56bb7dfb989644511ad7c2

String "%5B%27LBC%27 %27PB%27%5D" encoded to other algorithms

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

MD2 2d00c1f982bf5f2029782bc8b6f8fe27
MD4 8bc626d22c02a2b0d7cb6f0fc6342170
MD5 3b51d4883dd1e3ab55df271b335e4c1a
SHA1 051f32b8b8e6f7b40d9f950e63abddd49dd456f5
SHA224 bc552451717a49cd01771e68efef74daea3ea93f3f6db523341b1fad
SHA256 b02a89f685c42b100c0418f7bfb503c0fb2e15604b56bb7dfb989644511ad7c2
SHA384 5895032efd92578b6554aa7a0dd283f468512ed369f920d931f0026ad2b20f2d0968e64090708fc7fcc666c25bd22601
SHA512/224 d9342ade65308261267f51a9410708e003f6c0230d3d8cb6afc36ba3
SHA512/256 de2bfc017ac2942c7cccc20d8960aa8857bcd7a4ea349346390dd6b2e3a37b1d
SHA512 da58402d451545e7f89aadad4fe56e3df58a29e93aab5f32cdcd33dba25f7b04de4733ee29991e247eec9caccdd2677211c15bc5eff07467665d90a43ca5ca3f
SHA3-224 7b9afd86dd113ef5ff49550606f4aa1a2af2255c03b7c4e7d5a181ad
SHA3-256 5fdadb1e985659ccdb9fb783f639522c85684e32f7d79d2c237ccb7bb7c0d25f
SHA3-384 585309f74f84302b32b59de0570a19f51816864802cda35dddfe1e43e913f42ceb786eadb216e7b3d887409ea2288956
SHA3-512 7320c83101821eb568b3fa3490173741f55bf96a5f37e08819929d86a38540231084b310a47620d7635b420b29247718839879a2ce33432236529b98e226acf1
RIPEMD128 b959128061aa0869772ef6af844c3252
RIPEMD160 564f34b71844cee2292367a14a10e0f27f43bdc2
RIPEMD256 4a8da390f60dd51792adf5ceb4df9323cc670cb9d8ee6610767a6d7c55353b84
RIPEMD320 78cefe148ab4bd04f1dc1e4bb4ae7095a24c87496b9db4788023a9a0233c73e3618da9166e2ea0af
WHIRLPOOL a5e4357d6b6e8c1dd6ef5226b420e6a49747c1a5e932110e1289789a2158934bf15b351277694566ebcb3ceac86df655e78a9eb4c0fec54f5878d900ff6340b7
TIGER128,3 9e61f0b710764372a89c827b7b26c0e5
TIGER160,3 9e61f0b710764372a89c827b7b26c0e5ed1fc930
TIGER192,3 9e61f0b710764372a89c827b7b26c0e5ed1fc9306fdb1edf
TIGER128,4 dd38f65c2606ffd8d559d7c95e99d00e
TIGER160,4 dd38f65c2606ffd8d559d7c95e99d00e38830a08
TIGER192,4 dd38f65c2606ffd8d559d7c95e99d00e38830a08f79bc0d9
SNEFRU 8123517f3bd0e482726a05092bcbd208c5b292c8d575b01377bb5c6a59a2d3b1
SNEFRU256 8123517f3bd0e482726a05092bcbd208c5b292c8d575b01377bb5c6a59a2d3b1
GOST aa1c4f46f452b8d262d2585823c62b939d376c97b2005af7bceb37080ff76c4d
GOST-CRYPTO d0d9306f6acd7119b3b88412f23f7fa83035a0ad1a24e3703dd02349a698c77f
ADLER32 3dba04f6
CRC32 f8afa9ff
CRC32B 7c59b47c
FNV132 15925b96
FNV1A32 2c8e6dc0
FNV164 7ac99d2987d2b296
FNV1A64 d4277e75325a74e0
JOAAT 0e474d98
HAVAL128,3 50fadd796f99a767896f5697f8baa707
HAVAL160,3 1d5bfaf3a574ce33dd98357cf88e99534f45d94b
HAVAL192,3 88b8222c3167a971aba9b535d76564aea3a5784a64451dae
HAVAL224,3 305674e44d4f889346f3b10aebc6eb10275ccccd4917ba017d6892e2
HAVAL256,3 3eabcc93f203efccad3361bb727c2ba59bda7fc6ca495a32396372e88a942587
HAVAL128,4 fc9c8f20c64ad2ccf007a8db92319edf
HAVAL160,4 198f5a6796c80942593524b3fe87183b40f2265a
HAVAL192,4 1bdcfa3b4f1d51b8ed220c0447b44e7161848654042bee90
HAVAL224,4 57b20deeb131f2529179596d54b21e4f477f4e9d9cef9f982c2bdae2
HAVAL256,4 6b9224e684f2160b849004a94251b203d642f119af22ae5736f38981946383e8
HAVAL128,5 9bfc8a7152ed1c2b47925514eb2983e5
HAVAL160,5 9cbdf53a2bbf0cae9f5e4bef6fd700e2d65a6796
HAVAL192,5 bf5b7047e02eebe6b0a77e978af89b5a44891b7e9119bd80
HAVAL224,5 d57278f2320d81fa3c8cd3c6a8e12573549072d03495b83b5eca8091
HAVAL256,5 edc9ddd5a48ccaeb2360a07cb014e9e15bd3f9e25d222a43006aaadad406b387

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