SHA256 hash

SHA256 encoded string

3afa5276b7282debad84f875ddf5eed44dd7436b19c25c8a2009251a9116892c

Your last 10 encodings

AlgorithmStringHash
sha256%5B%27NVGS%27 %27BNS%27%5D3afa5276b7282debad84f875ddf5eed44dd7436b19c25c8a2009251a9116892c

String "%5B%27NVGS%27 %27BNS%27%5D" encoded to other algorithms

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

MD2 b1397c446f084a601a636d42099cbaf8
MD4 91b47ad9f5424fb789218a1c787b9617
MD5 00a37de800c7a09f10f6c711505aa664
SHA1 2f3efa518a4242c4210f4bbfcc6f1897412d2314
SHA224 424b2398e8def092d37cd66c6a0e27db7d4040d87f15ebe2f48ac978
SHA256 3afa5276b7282debad84f875ddf5eed44dd7436b19c25c8a2009251a9116892c
SHA384 7035c0e370515dcac4cd6381f56a45d33a3182d4d0e38c63f4c9bf1ad6107086cab51494d1a7353fd2ad9e79d8384e28
SHA512/224 c56c2bc7c9cb01400f9739c30b40a70bdced4ab377dcd49550fc0d5a
SHA512/256 a180def54b6bfefee08906a2b7ac2f2361c311e8c26a5e893760f1005d40a243
SHA512 5fa3b74c2631bfef188825342fc80aa6fdf89c1d73a00c3ff2dd0163347047b61d5f60c9b1d7cb46a22202b239847104277116e3ef4aea83fcb9ae6680076e49
SHA3-224 f9c583a702103475ebd3414ec4ffb40071c18b48922de81d5764bb21
SHA3-256 84e19c1f1b9c9f42d4077b195bf3267ea79abd815a8b90d68f6284f483a3ae09
SHA3-384 2c59c4964f6ab64940b524382a4205201fd9bf1df5dcbabdaaa7d7c9393cd16659cc2cf059f3fc9fbbc76eb3ed4f2964
SHA3-512 f14512e3ec9dab50d944d3a113c32215c885e6348e8650611a8eb8fa72c55123d00b1d03b677fb87461d402dc05f4488f901191ef2742bbdafda982731c555f7
RIPEMD128 49fb643dbcd95c311d202ac9552407c8
RIPEMD160 43fdef0465920f4246758db62e33cbf0256d52f2
RIPEMD256 4f9d05c12e64c83cec9c37223843bd9d12584619606bd0e9955f2d65de62e67d
RIPEMD320 0b73bb751fca71cce806dfd30d7476cae442b7c31c6fec7977f1465287310fe9c21a3659a899b76a
WHIRLPOOL eeccdc57be88bd5dee025748a17f177f5b7abce433accfee613eec266aa397c4ada4d03210495aca12c6e48b4364af9c1054a11d6a2ebe35158a8c6cb8a7a930
TIGER128,3 75c05962c333630aa57613d5d3516613
TIGER160,3 75c05962c333630aa57613d5d3516613fd35cd4c
TIGER192,3 75c05962c333630aa57613d5d3516613fd35cd4c1560b472
TIGER128,4 77a88699ff29385df0704773b0263f96
TIGER160,4 77a88699ff29385df0704773b0263f960cfb6d3c
TIGER192,4 77a88699ff29385df0704773b0263f960cfb6d3cb74dcf5a
SNEFRU f50f542ec3a8eed1586bb9f1465d2ff62b4ad82dbeb160a654d4b6a40be4b061
SNEFRU256 f50f542ec3a8eed1586bb9f1465d2ff62b4ad82dbeb160a654d4b6a40be4b061
GOST 3de581364ba857c93d8296fc14c76001e662957135670f047ef3a6f030ebdff4
GOST-CRYPTO 46d9e5958e3b6f3206f44fc135665f471e4d967ff17660cfe08dc6295b09b87c
ADLER32 4d1605b4
CRC32 248d8f0d
CRC32B f674162a
FNV132 6ed07556
FNV1A32 35fa4258
FNV164 43c24eb86a09cb96
FNV1A64 5290bcab1d578238
JOAAT 6c6adf97
HAVAL128,3 486d964669203792c8c38a1d654f35a8
HAVAL160,3 d11452006c755f985d6bd715bce5e273550fd55f
HAVAL192,3 39d83ab1b0ec8b381dd230cc11dbee4829d29fd66836e2d4
HAVAL224,3 ac8445ab085182f54849149025f011a24a25fb557f515ff62c09b661
HAVAL256,3 baa71d9c1b2a7ee756e0b1424a89a8f13c8822f9aa959f1273690aecb8ab1242
HAVAL128,4 1aa047c78fa19c8a62eb1a43d90d87e8
HAVAL160,4 4f15611767a631e4c6ad750a2448b36d45cf784f
HAVAL192,4 d47394d201b195204bd94805ef5ed24e4b1d56908d4dbd81
HAVAL224,4 f42b51dbed4e387f6a9dd8d6d628e49c5b29f1a3f85d2106ca2e57d6
HAVAL256,4 3af665b8fae5e3a4b804ce98f4623998a0810eed0e44effbf1f939e484649093
HAVAL128,5 83a004401af16e8d7089e2943e4dbbdb
HAVAL160,5 6f4c4232f66c5cb2ce5a4f470918d555432573b0
HAVAL192,5 0b0c4d95b565f3ae0cc9543387845c650add78e04cc4eef9
HAVAL224,5 6817865276a489eefe35a6f8804e93f4817157c21459798ebe1058f9
HAVAL256,5 e304dbc89aa9311849dbae2962fc674016eaac8503b34c82fad5bc6829aaaf4c

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