SHA256 hash

SHA256 encoded string

6d1a28bba602ef585bbf52a32ed396eb8845b7133f4f0f45671ec8edec7e8672

Your last 10 encodings

AlgorithmStringHash
sha256%5B%27HPQ%27 %27FRO%27%5D6d1a28bba602ef585bbf52a32ed396eb8845b7133f4f0f45671ec8edec7e8672

String "%5B%27HPQ%27 %27FRO%27%5D" encoded to other algorithms

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

MD2 e84ba340c07131d7b3590e4b2b6d5c9c
MD4 d6743a64d8933bd8e31d3c86ee5170e3
MD5 04d3bb3160d272e80c8f70706f9dc9db
SHA1 972ea70d67608b2267010a47d235dd1a4eff0725
SHA224 c82e6d7f341ef13b562eb218dde6f4bdc955cdbe8f8350250d229dcd
SHA256 6d1a28bba602ef585bbf52a32ed396eb8845b7133f4f0f45671ec8edec7e8672
SHA384 1e45438bc8834bba530a7d0a37f2821c5f3022c82df636bb2b3cdcbd0c4d45d52e8332e3fec602cba8e1434bd2b5c983
SHA512/224 7285641fa0d9813a98e280e3c6de7003d480174cacd0bacc2fda4135
SHA512/256 638417d2b6ad82801a63eeda11c5f300cbf679066a86b5c4f10ff2d7c3affc89
SHA512 3b7e7f9a40cb62e0b05f9aa36979af9455399e275bacab2a40495a422080fcd9610d7aafe86e0ec02423b836574ca41626f3ef38121a0718181c89248cfb3b3b
SHA3-224 f78c6803a8735ad9ac8ec33fd0cb4ec4a1f5af0ac3b97aefdaad2755
SHA3-256 5700294dab984cb1e75c14a0d1c5a32bb79b033880a905d21bab28ec81da2fa2
SHA3-384 2881b005e6fcd55955728231ff19615825b9cfe03ee3fa3491772dbfbce21aee8e6e2c0add267ab77ee910c241f37d78
SHA3-512 4e82d993404566a1f1222ce4a4e9670569852859059af420cfa504e2eed70a1ad68fc4a067468b61fdb1b1f493358dd7254944a748af02392f31233bc4f8ab41
RIPEMD128 5bbb2060c06b6a3fdab92e769fd9a182
RIPEMD160 981551e95c2d152dbc9bae91dbe577697daa3686
RIPEMD256 75bb8fc06c44ef4968dcfc1947b93677bebeed9969453535c86718d6da84cd02
RIPEMD320 7411b1b47d90a82f9301aaaa49a8b6fa9bf83f88fef0bb2b4fe0085f61e2866e39abebdeeed39feb
WHIRLPOOL f4e3abb63d7e76d2f0b05423fc98a43c65257792a993052e272c3dd9ac508cdbe0170209749bf7e04802d626f8c1dbfc7ce02d239d42204b666aa4316c8770a7
TIGER128,3 c5481823c4b42af02b45a2bf7de16827
TIGER160,3 c5481823c4b42af02b45a2bf7de16827072614a5
TIGER192,3 c5481823c4b42af02b45a2bf7de16827072614a5be990c9c
TIGER128,4 eb148aabde1039d26faaa80cf592de3d
TIGER160,4 eb148aabde1039d26faaa80cf592de3dcc1fc23a
TIGER192,4 eb148aabde1039d26faaa80cf592de3dcc1fc23a833c7e15
SNEFRU 4ad6bf9fcdeb61fdb18d3d527622c803dbf63d52795f933a115312155edc5a07
SNEFRU256 4ad6bf9fcdeb61fdb18d3d527622c803dbf63d52795f933a115312155edc5a07
GOST 9a36b8a8c4c2be04de86b23caaf78cd4a1d77a40b4064d5c3c173dcea07c16e3
GOST-CRYPTO 7d9d0b796a27edb98ae0907272243add48c9df3b2814f9c961435647c010bfd9
ADLER32 45710563
CRC32 8895028c
CRC32B 7188ed9f
FNV132 f7d8439b
FNV1A32 467c968b
FNV164 df6e007e9c5fb75b
FNV1A64 62772a2c0114308b
JOAAT af9f4c8c
HAVAL128,3 465e4c8a84eb621a2ba656ce2d561228
HAVAL160,3 106e8d630317aa5abebb114bc0a8da6a9b9d0c4e
HAVAL192,3 b48dea7207c8bd43f3067a2d8953e8307db5d7c84788c8d0
HAVAL224,3 d613ad6902ab88013a615d2828ac8764c66dc83595a038c1e52eae21
HAVAL256,3 4348b63ab5426d7dccf22217b71e5ae8dbea2bc111754fdc7bf99518ea98bfaf
HAVAL128,4 02cf6d9b27a6b1385f39a6b98aae8e47
HAVAL160,4 ac2b0acda3ea570bc897df924b32141b79c5c8c2
HAVAL192,4 3da7f7cd75b9c5d6e9d115752b68a23b821486dcbb0752c6
HAVAL224,4 367f5cc099fab02c855996b45f997dac20226dea79aad5861eeef582
HAVAL256,4 362186847ba3b4d3cf58ace68029f9845ad030ba6fd07b2b8792cfff91016aa2
HAVAL128,5 0292b6ddf356ead5b217e0d02f9ded09
HAVAL160,5 bb8210f67573f266b5daf210e838f0b89adf4f00
HAVAL192,5 bde71618de8ddd42d94ef44bb8493ad69af949798b76fe36
HAVAL224,5 e12da0cd010fca13d8411cddfcfda30a68e10c0ecb75ca5fc99d7244
HAVAL256,5 8e9dd2330788ed019fc6ed7e56faf439154dd6c8b67e571b7bc856e60ed89f4e

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