SHA256 hash

SHA256 encoded string

d3988be6821cc9487b8b5d0ce7acc0a4e49ff96957b93e02777e535b0f09c498

Your last 10 encodings

AlgorithmStringHash
sha256%5B%27APA%27 %27MDT%27%5Dd3988be6821cc9487b8b5d0ce7acc0a4e49ff96957b93e02777e535b0f09c498

String "%5B%27APA%27 %27MDT%27%5D" encoded to other algorithms

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

MD2 aee94a0fe10f64d21737eabfa489f722
MD4 e401543adc922cae71d70d43a4cc0476
MD5 7937986f33926064e9397c8e9229dd18
SHA1 545a0b412629ee0b5eaeea92369eff4964e3b4f9
SHA224 e9a43769a1fd04daa32aaa794bf064b4a158964b58bba156500261e0
SHA256 d3988be6821cc9487b8b5d0ce7acc0a4e49ff96957b93e02777e535b0f09c498
SHA384 a3886bb41b7132f367c6545cdca8da6b4535a96d8f5096de496ca2456b014d5cd35e8a9c7fcad3772c7fbde8f062c5ff
SHA512/224 1b5c8011fcf5f2a54461c65d9ea6b05b9ff3fd200d493d189de9fe11
SHA512/256 6e8702cc6e9309c911a277609732d6af9d635ed56f3fa19e3b4a989662e3d660
SHA512 ccda05b8c3643701a28bc5f3eba3e21e4f44e36d381e869fe6e090b5d008ab60785d06c4150f507e8f3df584afd1bf18e046d9dca9318886e91e56e2d09ffa17
SHA3-224 406da736d326c9b8090eddabea0101c69869531a403aadf5b8d145a5
SHA3-256 b30e476e2fe9e47e6a6199f4868de326a996cbea696f57c92cf2fd90a3ebb911
SHA3-384 9f80e5098511f3aaaf16715cd71496d75390ec3c1188f9d09fa1c570c4074ef40635e48f42ade7d347c23c1dac266977
SHA3-512 ba67e45ac94db327dc3b797e3ac2c79da8a0448fff8370e6f1d4d1fa675d020f65af5d589737fb34cd18a43f4bcdedd4df7bd01d915539f443c7873bdeed4b7f
RIPEMD128 2701ceb7b63a7eab2c5f2a15aa97ce1d
RIPEMD160 3af91ed7a28e82cada402d8c6437adfde9ff2ab5
RIPEMD256 21ecdfa52d284d1b3e4317f3e1abc8860bcb189041ad25d70ce8533d3da899db
RIPEMD320 abaae7f6b65df1b05aa447e0f015433029b60036aab639645c3162ab97a730195824a37bbdd44766
WHIRLPOOL b9a59de8d787fb5cd4de75f880ab49a578645f2d17089e7cd18dcbd4b3d04fe6ff915b0c9bb43a13fee058978fab318a9c19e4bfd8d7d1f69985a2dd987e2282
TIGER128,3 5485150dd5b991e5f3ea4fb47f199ebe
TIGER160,3 5485150dd5b991e5f3ea4fb47f199ebefb9921eb
TIGER192,3 5485150dd5b991e5f3ea4fb47f199ebefb9921eb5f4bf2b0
TIGER128,4 e5f30240fcccd7578b77634e67faecb2
TIGER160,4 e5f30240fcccd7578b77634e67faecb2130a6f3b
TIGER192,4 e5f30240fcccd7578b77634e67faecb2130a6f3b1f3accdf
SNEFRU bb4329e68d75fdae524289f2d94431b108afa1306ce5781380c2d2f6e8ac43ca
SNEFRU256 bb4329e68d75fdae524289f2d94431b108afa1306ce5781380c2d2f6e8ac43ca
GOST eb0ea8940d6effd4ce3a7ad7c2c5f149ad9beefcf577a9a3b46febfc4116e193
GOST-CRYPTO cae5d040043a601a73ab12112b82953193d66ce2238b575d2b6d4cc20c08fb83
ADLER32 43ce054a
CRC32 8ff3da07
CRC32B e5c2877a
FNV132 da74915c
FNV1A32 6513275a
FNV164 2f96219789c0e5dc
FNV1A64 20eee4a27f02b2ba
JOAAT 92987c27
HAVAL128,3 a7faa54274980e67acd922831feb9224
HAVAL160,3 d9b96b94e9b53f09cddacceaa80ed1e08266df1a
HAVAL192,3 078e9dfa63b3a3cfa198abb68d6e19f7031aa91f8d83c314
HAVAL224,3 d5e6f93e160b18821e53520ba50d821eb223e8f2e579030fce512b27
HAVAL256,3 35cae69aa185ee14d64273759a6d10fa734497535d55db2caae8d82943bec25a
HAVAL128,4 56c026ff7899f5c58927a48d8da2a3d4
HAVAL160,4 058a1e411fb07c48bfdcd6ba4db7dc07d6965018
HAVAL192,4 dc78968d86f09a6e209f48d6c3926c91dfad72ab27be6294
HAVAL224,4 cc291305d0cd81da163d001aabc8799a7ffddba1cf3e57f391db83be
HAVAL256,4 ed50317843f0634f2edc19a974998cffac6a1f5a495a00821a73f0ff5674ef65
HAVAL128,5 11453681e8709f0b697aee869adf363e
HAVAL160,5 2a360e47be8c6ba1bd46040466342798dbda84de
HAVAL192,5 ae88b3caf939fc43b12281257740e832e8c7e4b552ba2249
HAVAL224,5 6e3950d91bd077249a4b3aab734496bd4bd8f3e6f081b31366b94821
HAVAL256,5 da31fcf3487dc3cf19754bfbaea9fd95f45d17afcd85ccde5ba755ad16d922ff

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