SHA256 hash

SHA256 encoded string

3fb2f6b899c4e1e9ce3fd051a1d3b935ba6bc4eefaf19200298820cb7e6e20c7

Your last 10 encodings

AlgorithmStringHash
sha256%5B%27OHI%27 %27EARN%27 %27KKR%27 %27DD%27 %27ZBRA%27 %27VIRT%27 %27DEA%27%5D3fb2f6b899c4e1e9ce3fd051a1d3b935ba6bc4eefaf19200298820cb7e6e20c7

String encoded to other algorithms

Here you can view hashes for "%5B%27OHI%27 %27EARN%27 %27KKR%27 %27DD%27 %27ZBRA%27 %27VIRT%27 %27DEA%27%5D" string encoded with other popular algorithms

MD2 89e29a96408e8e85266ba6475b23ec31
MD4 85f1df9167a9e23885d06e719ca43ba7
MD5 ae92e1d462f833046cfa5862b6c1ac78
SHA1 1739a984b895ad2ec1572b8cd6c8eb9ad183f1fd
SHA224 ec6f2ad85a98ea5aadba2a1bc14d6c7ceb13d2f6b93fbf8bde5456b6
SHA256 3fb2f6b899c4e1e9ce3fd051a1d3b935ba6bc4eefaf19200298820cb7e6e20c7
SHA384 510c9b2c05d2515a1c614368d6b14ab78772daf782cbc0687f770c651aad138f80e4e2f97d043d03f8acaf1ab07b2117
SHA512/224 0616c27481442340fcdfc2c1fe4780f118bdd2b1913ac3bd5a90f61b
SHA512/256 cd32de9201c7dc231fe9807a1219e9bae96545eea8dda9ed85baad2c3793588d
SHA512 9e408698b8c748cb864e7f3078305f9c3612277668f752466f408ac5d93e1f897813a95f7ab9137095cf4c3c240575ac94c4df3d948f1c757a2d5e00d444bdf9
SHA3-224 f0a1d806bf34ec7a43b1aec14cfba7242b2793b50ca6aa6e11e9b9b1
SHA3-256 59081dc71654726182ed0af5fa5e65749a456597add539275110103c8baebf6d
SHA3-384 cff09519540058f2f00e41ccab8b5dccd59dad81c00bb14e38b8d0d0b6758be2057e7c4357ba6be296d73749f25630c4
SHA3-512 3668ae64b321a4a5914b098da1b821631deb9fa81c412204e0d21fcd475ef404d1861437ab8ea7793f6d548733c047340c21c4de46b05a53999635c725cf51bc
RIPEMD128 50cb0ade155969509a297cb1334de56b
RIPEMD160 a25242f4309d5ea4ed00ec306816bca66ef4e7d7
RIPEMD256 c7299f88fa5b1534a791b38752a28cc2dde3d6f8511d0da14d94c8e9067b8524
RIPEMD320 e06b02e1b900c3879a666fa5d33a4212bfda75ebee5743f52ea8076a7fc50fc912aa1b7d1c323d06
WHIRLPOOL b93358665a2fe35ea20f42ba04e4429076415a96e578c6c22fc6dc96dee034b3c5de0a4e283881b9bc86bc90afbd51d1fd343f1827d0fad3cbcb79335d4830e2
TIGER128,3 660cc89f01f93abe55b2270b4391c4b6
TIGER160,3 660cc89f01f93abe55b2270b4391c4b620e794de
TIGER192,3 660cc89f01f93abe55b2270b4391c4b620e794defdfad9a5
TIGER128,4 feabcda21612d77425f924993d5941ec
TIGER160,4 feabcda21612d77425f924993d5941ec2db4f7b9
TIGER192,4 feabcda21612d77425f924993d5941ec2db4f7b96ecdd9fa
SNEFRU 21e74057024d62e5e31c84445c240a90ff4c3beae3d438a7afdf78863a3829db
SNEFRU256 21e74057024d62e5e31c84445c240a90ff4c3beae3d438a7afdf78863a3829db
GOST bebe93ee9f3da82a5932bf84b82be4c4a4f2b7a8866ca99689cc0e4424b38a3f
GOST-CRYPTO 59d36f37f3a31a11a620b5ac3cdc084732793c1222c46c672c32efedee7acbec
ADLER32 7fcf1073
CRC32 4d58742b
CRC32B 9577b10f
CRC32C 2e609944
FNV132 6318d15f
FNV1A32 e942d3c7
FNV164 f200d50cc4904d5f
FNV1A64 629bd162eaef3cc7
JOAAT a4a73864
MURMUR3A 8ba4ef11
MURMUR3C 2bf8a3d660f706d374803d9094258378
MURMUR3F 97b0347562434d0596220885e90cac34
XXH32 910acbd7
XXH64 a6542eac244b5fc7
XXH3 038d4c59bfc6dd39
XXH128 5f2ff4ff75c4f4eaf7c2d3153902b793
HAVAL128,3 ca7f7aa666b8c9c3485107293f935ef1
HAVAL160,3 f8cd1b1aef231461e13a0c2fea2a92db580c369d
HAVAL192,3 cc9d9571ca208985c419d9701f7cc6210bfd5bd8db7ee3a6
HAVAL224,3 0bf52fa574c8ede67a3958ab8a951c1b27b6a62523a3ae999346f491
HAVAL256,3 b6d0ce4f023baac5a56ef6ce6655674ebfd9c041c9bc2b0838c381dd2207c3ff
HAVAL128,4 d5d5d9227be878b46b0620c671b63a06
HAVAL160,4 057977058d8c7cdc8020ea2ab0da7d8d1f1c3514
HAVAL192,4 0e58f16a7a38b085bd387914618bc711133f95888db7ac6a
HAVAL224,4 ec01df33b579cbfa9f3c8b63a7dcf02f310b92adf6e7b3ac6521acdf
HAVAL256,4 1cae849e0ba8c7bf5e0273c9557e8b31eaa1274fad03f2f7541b21198514df7e
HAVAL128,5 102953cb245c4f2dc92a8ccf0197f735
HAVAL160,5 e9c7ce064cf60bb94d912b8f54d1e11c19a020a9
HAVAL192,5 7bdfdfbd81df7919fe6ea01286f0130e4cac6932633f80d2
HAVAL224,5 71e4cdad4aa475552a0e381d60fcbc089b3072ec800010d2d416f6f4
HAVAL256,5 51d4a3d70eba11a453f50f728ab6baa3716bd7c6241cccc8c991b114dfb5d3b1

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