SHA256 hash

SHA256 encoded string

5d7fa83e5f6b0006267b22d81fe3aba4b33e4820accfbd6c4a8d26ad64b64949

Your last 10 encodings

AlgorithmStringHash
sha256%5B%27AWK%27 %27CSR%27 %27SPI%27 %27LNG%27 %27WLKP%27 %27KOPN%27 %27ACRE%27%5D5d7fa83e5f6b0006267b22d81fe3aba4b33e4820accfbd6c4a8d26ad64b64949

String encoded to other algorithms

Here you can view hashes for "%5B%27AWK%27 %27CSR%27 %27SPI%27 %27LNG%27 %27WLKP%27 %27KOPN%27 %27ACRE%27%5D" string encoded with other popular algorithms

MD2 2d776cc0a56e64617b0cc0d126cbecff
MD4 3f351417490af631a8a2359fe37fdfe7
MD5 9b4189385a07f41360d676888af21f8b
SHA1 9f5df540054742d804e0fd8ce81b905254a50b9e
SHA224 40684b406aefe87c8ca46d04306a62e9b128ff733b16bae386122bef
SHA256 5d7fa83e5f6b0006267b22d81fe3aba4b33e4820accfbd6c4a8d26ad64b64949
SHA384 e43b76d2626456e03ccd3e39eedc0468a318dbec8c7770c588c55c5de4dca2e0d928d782d6d8a3576cf96e65ea3850bc
SHA512/224 edc49680b425294374889e4f2141ee337e96cc84af4f4aef2af849da
SHA512/256 814c581041efd107a325b4139468a7c222d37fa72dcfd9eeedb4a3e80e9308e6
SHA512 5a737eaa522f28519672eec24f2293fa8831a29a29eaf69db95f3dcdd6ff0266398c91798c301118506791f311c01f7ec4d95d19523c3a5cbbd2a7385868d8cb
SHA3-224 b23affe421c91fbae929dd67a0b615d28ba1cfd7b3907d280dfda29b
SHA3-256 240e21207199fca7e2ac42145873856201483ad23fc8af85fc8b50a9e0431874
SHA3-384 fdf66db0a9d36991a514fc7b3539985329a9c361415d801868fbc5b6e09d909a782520cb2a39b0ac1f38aa2ed59bd4c8
SHA3-512 b73317b28d564b7308d7902d323b1397a74f510803d7cbc0303870dd26982fce963e5bcaf70477ef4a3b7c7197fe4f58b0728743e1c32f2ff3741770e6d43a02
RIPEMD128 4daec5e9e6b17a4e2729ca238b9eb224
RIPEMD160 2b9721c082b9f1220ac587cdc2621a51c7d68726
RIPEMD256 8e1408c8faebf057f94acdb2511f1b5932647803800174caefd3eb24caa53791
RIPEMD320 15812e8dee6fde8bd65cf0eaf4d742771333be867054ccfd485b48fe30c5552a641cdaee26b02691
WHIRLPOOL 3ef223fc602f5bb66dabf0aac3bdd9d5264afd317b96f3120b0f8732d97f9b6aed940c9229ed9fb2994795adcc22d85fda51abb6df801d3ec42654f1fcc97597
TIGER128,3 0f0d57fdd328c9a8b562d60c566ae325
TIGER160,3 0f0d57fdd328c9a8b562d60c566ae325d59155e5
TIGER192,3 0f0d57fdd328c9a8b562d60c566ae325d59155e5aa32ca52
TIGER128,4 710ae63b7cb330bff2133feec30f0f65
TIGER160,4 710ae63b7cb330bff2133feec30f0f65431b128a
TIGER192,4 710ae63b7cb330bff2133feec30f0f65431b128a339e13c1
SNEFRU 6717caae9dbfc57a626a4ff52783b7b224fb5636f4eef902eb1ccc22f48f521c
SNEFRU256 6717caae9dbfc57a626a4ff52783b7b224fb5636f4eef902eb1ccc22f48f521c
GOST 9c6a030bff90fec17e27e824a51b667b0e8b8096d6f881feb932d207effe3105
GOST-CRYPTO 8a8343939a4842a359e64b619a4c9d0b921f1e57fdd92484f8536cd7340010cd
ADLER32 976710e8
CRC32 1134e067
CRC32B 7f142aa4
FNV132 7f0c8bb8
FNV1A32 6e64da86
FNV164 256d5537a578ab98
FNV1A64 10bbf88a6d0e13c6
JOAAT 7c6f413e
HAVAL128,3 2d3934084ba0d510c135692a0498e129
HAVAL160,3 fd64fa75c5c8f8bdf0f30dd028462306abd9b2f4
HAVAL192,3 1ab4699d6bc4c939141701e85ab0476509d72d0a3c0f35f3
HAVAL224,3 f00ab8e427fd42a72d9eab42b7f524ad2ced8938650b436abc043c3a
HAVAL256,3 235bc8eb12bb383357dcd72547a8cf71a1b57f43dfd415b39526dfe9adc9c49a
HAVAL128,4 ee0b218bb843de5b7a12f1c0c8b19e78
HAVAL160,4 2a3f04b076d54d2f8a17d756a0710a60a92fd7c1
HAVAL192,4 861e19690b04e33e638e76b0be92a83c72b4e4b5b92f9e55
HAVAL224,4 df44353f8c81f4131a8d5c6ec8291a322a2e35b373b710f88a86a993
HAVAL256,4 cba2b8f49c736bc11f0b42760ec9ded2f4fff8fae6bd16aa3f0c53763dd45806
HAVAL128,5 838488acdf3ff7548b57a78679aab8b3
HAVAL160,5 1241d7d0d2d3a0a335a6ab28c5f43b5d90a026db
HAVAL192,5 7291a11e4ecbef6d56a8d72c082c18cd6c79ce47c585ef59
HAVAL224,5 8fb17f262043b28d5b994fc9f56f3bb60a5629748e12d89fb25ca1d0
HAVAL256,5 3b44dd01c635779e487d8d15ec6c328df5ee32203667bfa282ae2f77f174accf

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