SHA256 hash

SHA256 encoded string

38845f4fc0aa34cab79d911359b705ed00bf132f7e785751557a369e9ce0e758

Your last 10 encodings

AlgorithmStringHash
sha256%5B%27COLD%27 %27DIOD%27 %27MAIN%27 %27CTRE%27 %27BLFS%27 %27UTI%27 %27IMMR%27 %27INTT%27%5D38845f4fc0aa34cab79d911359b705ed00bf132f7e785751557a369e9ce0e758

String encoded to other algorithms

Here you can view hashes for "%5B%27COLD%27 %27DIOD%27 %27MAIN%27 %27CTRE%27 %27BLFS%27 %27UTI%27 %27IMMR%27 %27INTT%27%5D" string encoded with other popular algorithms

MD2 86ecc9c8eedaf97f16020ff96d576913
MD4 50c451b166b5eff58cd93083cbfb3f0a
MD5 b0776f03b2ffaf7f75f93fe17684129c
SHA1 52303027079cc94bc00c22b8bdfa3ae674a4d50b
SHA224 e6c813e489df74e8661bc1f3dd4f4ed361bda6b3a49ef8ffb4a3a49c
SHA256 38845f4fc0aa34cab79d911359b705ed00bf132f7e785751557a369e9ce0e758
SHA384 deb98956fcac45662a944e2e89da153ea389c064e9698f2bd8864172c6444846a85049023360debdf375ab91fccced54
SHA512/224 560878c59a15f5a3ac3fb5e5056147a437e5168d4413ac61cd7a62a3
SHA512/256 30403ac8c2cd4b2406dd3b189f056e0be2e7136150c67937e6fbeccaefcd0d7d
SHA512 373edaa7957904aeb3da973588f96f8df1dd118ebcea420ac2f907d8c6d0579513620d68a9e7b266ca771fdd0804f574d405f44a36d1ee16be642384502b5320
SHA3-224 3d9edded86f7813f836afa8ecffff4415bfbd80bc36248df5d04e40a
SHA3-256 b459162f9eb779e4f1f9e3ff9a61130187e779f3b1df8e0810fca1892238259b
SHA3-384 18f6aabe3fcee787fbc96823457c36eb10337ffabba5f1d8a8f7b8495a7719ab446e3a8f53ddc31334424c6c0ab458d6
SHA3-512 eed8b3503b396729bd67873099905c35dec03ca182e94f191ada5500346fd64d84177fe2b15d276618dec0333c0f4dedc433e3b05c75ef6bc5b8b5ca59a3b0b4
RIPEMD128 7124490f1d8bd185ff5d13f944833634
RIPEMD160 3ff8ee8b05983c19f5fbbae0e30a6b5176048f17
RIPEMD256 89629cb5ab618e94b574ffc5c1b49c881a22f095c3079ea0d931cb92cd7953a8
RIPEMD320 78c82afcfdab85150b68bc2683173cdcde8a96378f1672e0f49f585440b49e707363121a09b12770
WHIRLPOOL fe1e97aef715a6c407d36c904f64b547d56542221c33837a128dd0a3dce39ed6441d701b94450b01e31f3e481f04f85dae543c491935d3a67f1c872010974cfd
TIGER128,3 24c7090e07e0f7473ddfa95fc6227e16
TIGER160,3 24c7090e07e0f7473ddfa95fc6227e16918500d4
TIGER192,3 24c7090e07e0f7473ddfa95fc6227e16918500d44688b59c
TIGER128,4 b98768be70ad1a9419ed6ec2a9b70f8e
TIGER160,4 b98768be70ad1a9419ed6ec2a9b70f8ee0e557cc
TIGER192,4 b98768be70ad1a9419ed6ec2a9b70f8ee0e557cc035eda36
SNEFRU 369b9e839d06cae1a246c0d6dbf1780f3cf75a09250067806613ab38efa959e6
SNEFRU256 369b9e839d06cae1a246c0d6dbf1780f3cf75a09250067806613ab38efa959e6
GOST e84c135feb2249e7f34445dd42f505094e872efc26d77f0513e1bcda32c0e059
GOST-CRYPTO 4111a5db5ad317330b02ecbff6078b521ec7d40464107f5f0e5530715a0db021
ADLER32 9f08141d
CRC32 08a06367
CRC32B e82d8eeb
FNV132 5aab1337
FNV1A32 fde7bf53
FNV164 91e2b3150caff277
FNV1A64 2f77b4ba32707dd3
JOAAT 073ca1ba
HAVAL128,3 df72a6098cdff1549dbfb672a66a54f1
HAVAL160,3 b62d2efae27ab230047d5bd7d9065601e775ecc1
HAVAL192,3 44fa4cc459aa0ec7ad37832aea4a6bf9c81c889b0b689430
HAVAL224,3 34d824a530b0dfa894b23cf3554aaa46b74c75bb27cff9ac4d6017a7
HAVAL256,3 ce387a5eef6b1fb72f2f03751fe09616485414d0ad046a2f2bf0d0848881b3b0
HAVAL128,4 63eff9f87b157d1970202aa732a295d6
HAVAL160,4 12a9105be26a66eb1a8f1f471983a9a3d650b327
HAVAL192,4 9620de0a50c630838f9e52d3b8929bf9f5afcbfd1c76a35a
HAVAL224,4 2f7ced9704863d43a45c71b1506f18df24f844bb34a96e798923f0eb
HAVAL256,4 cea289df1980d57771930b09020e01d8ea9528955f992144cb6fded402613a21
HAVAL128,5 c483ccdea2ce26369b4fca99fa60e7d3
HAVAL160,5 839659f4f40ddf8d3003763faa399e9c56c689cc
HAVAL192,5 3efb6f8ef2b9ffa487d278235fcd9a4017ecbe46dc0466bf
HAVAL224,5 52b95e2fdf7bd94f74da3bb567035ebcaa819872a1f2ea624f6f5147
HAVAL256,5 9e09d57dc0ed3151696e1e5f3ca3f13e168f717abb25d4614bde61da8e72e7c5

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