SHA256 hash

SHA256 encoded string

1631588e3b345aa6ed64fb6dbecb980fb20f0c94475d4b150cde81ab1bef28d6

Your last 10 encodings

AlgorithmStringHash
sha256%5B%27PGTI%27 %27TUFN%27%5D1631588e3b345aa6ed64fb6dbecb980fb20f0c94475d4b150cde81ab1bef28d6

String "%5B%27PGTI%27 %27TUFN%27%5D" encoded to other algorithms

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

MD2 92883410df020a8203be94f10ac208a7
MD4 5955602499ebc7fdec982f769855d3b3
MD5 7b51d1fd61210d5b4d838b78f9449091
SHA1 1b9ba9d8382f01b21680bd4832f9047fe550e3a8
SHA224 7a43c9bd2bd498727b07595084ddd0b8587c2999af0daf5f216fa809
SHA256 1631588e3b345aa6ed64fb6dbecb980fb20f0c94475d4b150cde81ab1bef28d6
SHA384 7fa30fcb7b12d59d59592db2ca8564ff19571fd3a87be0c6e12e81045870e107e8a17ca40e8938db80eb8501b23bc54f
SHA512/224 e021459e2fde46d5dd8335b750b5189379e58688e30ae82e41a090cb
SHA512/256 75db7597a31acde6b159c42fe1cef1dbd77babeec4358b102b1d8250c7c6327a
SHA512 a43115c71fe739343f468f7a193b8277e3c474543e3a2cde237647a75094e77d956d6cce2053d37fdff942cebc093caa37259bbdbf352c8db8e54ede52600221
SHA3-224 5aab2dd8c899eaf41df8fadc6bf488f5d9f7055ad83379ee83999fd2
SHA3-256 c4178cc529537532f865e32b238416d1d9a97c747a93a357338ab41fd996091a
SHA3-384 abe352b86f435f57a5571305da7577cb574f3e658308bb7762f93cc08cdf2620c77e941bc7339995998213a395f7f73e
SHA3-512 b48cd97057775e7e10b94a59aa385df118a0f3217bc14b756fb95ffa7446bda3af8aa33156d7c4dca48753d563c382be03c664e3c72234d2ce9200688cb8cf45
RIPEMD128 f35cccbcc7038fd7a7c62b6cfcda7327
RIPEMD160 8570a4aeb96a6ab712532b6889db86ad2c7f14dd
RIPEMD256 d57c8393708a49da3c69a1e0acf823196a70e3a9e835ab917c595d17402502c6
RIPEMD320 b52afaa8f033c70afdbf0d8c2445c72925c1cba6cf8e38b817cb620df3580ba5fba5fd49d4bff727
WHIRLPOOL 836d9c211d40b497ab04b1b612088d5160e97b361e6f509ea769dd138d2a01d16d1e874ea8957281d4ee12020a80e0461475b993c6f8263cdb357961eb86c895
TIGER128,3 6a3bd5ce0970e730ec8c58f78522e8d3
TIGER160,3 6a3bd5ce0970e730ec8c58f78522e8d3c823397c
TIGER192,3 6a3bd5ce0970e730ec8c58f78522e8d3c823397c20dbc6c6
TIGER128,4 a7af332b33f84f04917e4b320e9c779a
TIGER160,4 a7af332b33f84f04917e4b320e9c779ac259b688
TIGER192,4 a7af332b33f84f04917e4b320e9c779ac259b688cb31af89
SNEFRU edc0df76280e8515262e0d54987ec6459c99205790a59e37e48f097ae2ab95e7
SNEFRU256 edc0df76280e8515262e0d54987ec6459c99205790a59e37e48f097ae2ab95e7
GOST 7d517aabcdff88d9077757d55df5e90519c856d2113a414b47c8ea86b65203b5
GOST-CRYPTO 9f7f6539b290303ffd27700761d60692cc99dc8390dc111046558809721a3ef8
ADLER32 538c0604
CRC32 9344b8a1
CRC32B 56a8be1c
FNV132 0484877a
FNV1A32 0936b848
FNV164 d2b769ff7d2fed7a
FNV1A64 e700e5b6c7c0d1e8
JOAAT b82c9b94
HAVAL128,3 c3356c60c38bec7b73af75eb1bd902f4
HAVAL160,3 5691fe825e1506eb77ff9ea598bec9dfb15ad7e7
HAVAL192,3 3b8e9dfe3df3ba44d57bb0f9d2f43e63c3c5546cad151409
HAVAL224,3 c7207e98905e07a8005a3c2b4e10115b5f1ec708e3c54e3f7d9cfb81
HAVAL256,3 3b71046a4ba5978d36ea2ddad7af5c4e12ccf6453d0683b71e2de02c2d8fd79c
HAVAL128,4 0b4c286d26b981b0efd2af1e3163f299
HAVAL160,4 66af309abb6a63ddd69572aee7598cf95fdc7719
HAVAL192,4 bd8bbe5ccc1b90d4e1974b54cddf5e70012cfed2ce87eec9
HAVAL224,4 bb510f84cb8bbbc62d0e916c4c8fb468a3cdee798ef97026e2363b0c
HAVAL256,4 58c7cabc710cf7e9143c0e9dd6ac1a590210080759b388566845189d2bed4f17
HAVAL128,5 ae307e6e2e5c4e8d581c4dac72125d87
HAVAL160,5 29007af65c02fa7a04909529b81fb0af83eca078
HAVAL192,5 6bc0326b652c274a9af11b221bd8148bcdae1b90a49d11c2
HAVAL224,5 f1bb7e0a0aaee426f9da969639da890053bdb850ac13414c3a430d7f
HAVAL256,5 2b169d82770ee99423d0a86b73dcbc4ee7449bb7c08843bdec4b2572e2f3ac4d

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