SHA256 hash

SHA256 encoded string

c9b825c34d2ed1d2d9e209a841b71ac2fb25ec0652c7337d22805d63526365d2

Your last 10 encodings

AlgorithmStringHash
sha256['TME' 'AFG' 'BHF' 'MIME' 'CSOD' 'NSA' 'CBT' 'SCSC' 'TRTX' 'RPT' 'PFLT' 'PNNT']c9b825c34d2ed1d2d9e209a841b71ac2fb25ec0652c7337d22805d63526365d2

String encoded to other algorithms

Here you can view hashes for "['TME' 'AFG' 'BHF' 'MIME' 'CSOD' 'NSA' 'CBT' 'SCSC' 'TRTX' 'RPT' 'PFLT' 'PNNT']" string encoded with other popular algorithms

MD2 719f55404c4071a0033c9a9a80f0ad78
MD4 bf00beb5546d00fd3d9754b5aa4a5a74
MD5 ffc6d41d69fa36e6e3692c2064330f20
SHA1 d3dff63f75c5845d5f6955ed3e49fe7e67e967ca
SHA224 fe0b8268db0880d539ebd4e53525739218fc293d873ed4f3f1a9bd01
SHA256 c9b825c34d2ed1d2d9e209a841b71ac2fb25ec0652c7337d22805d63526365d2
SHA384 50559217234e52358749ea91ee0e83ab7188051372d828dddeba27603f7e1a7f22c8eb10fc448afcb7d5cb426c29ecfe
SHA512/224 8604d8cc0defad698711066f8926de07da986b0c2e5e28adbbdca6ab
SHA512/256 c894239caa999907aea460da360d333bcc8a7ae20a61bcbd25c7143e01ac357d
SHA512 e64bec0f2f75dc335575b0ebb9f704085746fd6214f256c701c70aa3de53a04781a7587fe601a4e11cfdbfdb7783d1c17c5c9e857427359edb3a043027155129
SHA3-224 62acc6d3fceda68b6bb12da44d3d38f6dd863ac20cad3ceff5f732a7
SHA3-256 36eb119f3590a04a7e7c485effb9665eefee3bf24690ce0600ae8dc995482629
SHA3-384 06e2513e8c0e8505b941736fa2ac2f18b5235f3cc51e1b74b67011888668334bd5fd4cdf428babe1d30697283d3f426d
SHA3-512 ea96ecfd505e7855beb5a76c1ebf847f5ab8ed3214743145f0e1ca9770b6029e5c9cbc87d1a61aea754eb8e4c9b2e45bda392e8d261500e5d3368ee24a241e75
RIPEMD128 f0d560852f1ea1a306e6bbc586bb4c47
RIPEMD160 60627058cccc5aca09b55ec65624bac89506e652
RIPEMD256 b0b054ddfced3418a8177fa45f19aca5cc2b460408a99a7b0108a117c8a5abc2
RIPEMD320 f20a43b18de3a2f2b742fb124eafae084996376e5d51780aaf452da752b7ae7d75576e1c1457c951
WHIRLPOOL 02f20a651b1af339d056183a0ec7969494eea1f20faff70223d90f7f32d53e69960e5746c5795275ae48f02b95c7aa244da3b8105183e0ab628fc030bd22a62b
TIGER128,3 5ed39bf945bbf416e72a9eb5df8fb6ee
TIGER160,3 5ed39bf945bbf416e72a9eb5df8fb6eec08413e9
TIGER192,3 5ed39bf945bbf416e72a9eb5df8fb6eec08413e9fa7710f4
TIGER128,4 c1c24c197662133b0db77262fedbe159
TIGER160,4 c1c24c197662133b0db77262fedbe159eb5ee0f7
TIGER192,4 c1c24c197662133b0db77262fedbe159eb5ee0f74b257f89
SNEFRU 4b66310f75a78e44828ae7a4fef0c4158fd43983a600849e67d468b8c6143d45
SNEFRU256 4b66310f75a78e44828ae7a4fef0c4158fd43983a600849e67d468b8c6143d45
GOST 8f2c8224e16b95796b2aa7443598bf850dd28194fff8da9fc0e194db4a733c4c
GOST-CRYPTO eb9a9dc537964601769399001aff0bb6f59c90a44ebc0447c33291e5ddaf9642
ADLER32 c947123b
CRC32 e88d227a
CRC32B efcd2882
FNV132 92eccd51
FNV1A32 321ff081
FNV164 350c478ff627f2d1
FNV1A64 76e55c6b87bd5c81
JOAAT a578facf
HAVAL128,3 c665fa7550ae06b8d1c221e3cff4bf33
HAVAL160,3 79df6f45881c462d7261f8fe0d892f566dc148a5
HAVAL192,3 97779fcccfc8bd7a21bea86cada59263a37aa9a0bcdde080
HAVAL224,3 488847e57c1c2c8b91fa0609baba7d9045186c41f6f73580b3b47733
HAVAL256,3 944bdb9dfd7518b77d9189f0bdcd7bf544094d2e67824ff20d1a5f24ed950109
HAVAL128,4 108260c682664b14371d2c7ca07af26e
HAVAL160,4 26f6a9595e5ddad260229c0e44e6f9480371d59d
HAVAL192,4 74d570ff76b16ad89ed540bad96757922ca9fdb15d2d4ba3
HAVAL224,4 501dbf00cbec14c58fcacfa94d251ebd84ba90ff02eb2f4ba04debd2
HAVAL256,4 bc1313095f4ba74b4ccc852879c6362393206489da7d9a1dda5fe23233c55808
HAVAL128,5 7fe12a7e54320121be9e8fac255c87a3
HAVAL160,5 83196d998bc38a5bc1a443892f0a4d1e00721a6a
HAVAL192,5 ceeb895b51707dd9f85dec5bc5ceb92b1d85ff4d8277229e
HAVAL224,5 c4dff0d2f75cc361d1da611c2cb604ad4b52243acc5e35b151d0b017
HAVAL256,5 8f1eeb304a9254a7a5d9cd485c7b17c13062b1a6fdcb0cd444aa37261ccb095f

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