MD5 hash for "asdf" is "912ec803b2ce49e4a541068d495ab570"

MD5 encoded string


Your last 10 encodings


String "asdf" encoded to other algorithms

Here you can view hashes for "asdf" string encoded with other popular algorithms

MD2 94f6e5b388ef8986dc378540641195b0
MD4 970d28f4dd477bc184fbd10b376de753
MD5 912ec803b2ce49e4a541068d495ab570
SHA1 3da541559918a808c2402bba5012f6c60b27661c
SHA224 7872a74bcbf298a1e77d507cd95d4f8d96131cbbd4cdfc571e776c8a
SHA256 f0e4c2f76c58916ec258f246851bea091d14d4247a2fc3e18694461b1816e13b
SHA384 a69e7df30b24c042ec540ccbbdbfb1562c85787038c885749c1e408e2d62fa36642cd0075fa351e822e2b8a59139cd9d
SHA512/224 2d85055671b0ade28721faf9137045af2af2412d5e0bf355494f807a
SHA512/256 9651cf604ca0a0c698fe29bd49e0c151d01860752fd65eb017660072397b3f2d
SHA512 401b09eab3c013d4ca54922bb802bec8fd5318192b0a75f201d8b3727429080fb337591abd3e44453b954555b7a0812e1081c39b740293f765eae731f5a65ed1
SHA3-224 47cca203eefca349deaa418da7fe05389ef649985c87a9b655ad128c
SHA3-256 dd2781f4c51bccdbe23e4d398b8a82261f585c278dbb4b84989fea70e76723a9
SHA3-384 cc8c2461a8acb58c9e7b78958ea36d5fd32038f958cdbb59f26b0ffd1c36576183e1c2ca3357ca1e333a11afac8aede6
SHA3-512 8d88cf5b20f53acd7ae1479b5b36dc2021753b049902c77247bb27b131b300bd3ca8beef28756dce27b8990867c4577a2535e7e3b75141399ca1a94cc84b0eb9
RIPEMD128 2c3690fbcfa294d6ced2be27d58f2aa5
RIPEMD160 0ef2aed6346def670a8019e4ea42cf4c76018139
RIPEMD256 ff0d684fe73209525027ddab39c1582d162fecf5697d66340aff9f042af84279
RIPEMD320 90ac799dda5f9fa16cac7c2adb54d39b831a5a2387d392fdb8fa6d8185d2b72a57fbf0bdaaded027
WHIRLPOOL 8e835240f89a32be8c1c2f31fba878967b8d617d906e128d76f7f333237d63a598cb42bef9b79c6375909e5f2ad5a040c905a8673b915ec65c3ad654505a39a4
TIGER128,3 25fc970a2ea233c9bb34e0c3a5d13112
TIGER160,3 25fc970a2ea233c9bb34e0c3a5d13112d171a8ce
TIGER192,3 25fc970a2ea233c9bb34e0c3a5d13112d171a8ce63961887
TIGER128,4 35ed9f4fe305a70c9022a29586bdc86f
TIGER160,4 35ed9f4fe305a70c9022a29586bdc86ff471bd0e
TIGER192,4 35ed9f4fe305a70c9022a29586bdc86ff471bd0e679c8ac4
SNEFRU fdb1422e3bb600145a500bba6c39f71201c8da1b92f3f3496953271d76096887
SNEFRU256 fdb1422e3bb600145a500bba6c39f71201c8da1b92f3f3496953271d76096887
GOST 2fae78df7a0aaec87f2cf452a533b4185cbbfea4c03709cdc46bd1c4e62564a1
GOST-CRYPTO 449db062d6071801a70a68a794d1b88824f3d0690d70101919379b124bea05f2
ADLER32 040f019f
CRC32 a812531f
CRC32B 5129f3bd
FNV132 c0b9ad5b
FNV1A32 08bb5a57
FNV164 2ea6397efb59025b
FNV1A64 90285684421f9857
JOAAT 5889602c
HAVAL128,3 86dd0f4e0e5424c97056a6a7c5a3af4d
HAVAL160,3 4cf10f74e45e8e1e5073565539ee3ec7ca7a2297
HAVAL192,3 ecf84298cf01d23f0c27aaf321e16931e641a8310499ee63
HAVAL224,3 b06f526cb1680228c764e57bca9289edf771c1ae8a939b2441d6488b
HAVAL256,3 0acd2779a930b83c7c59be9a1eab454f119f3a2244759d6f7ff555b84353da05
HAVAL128,4 82a95338a58714c281e7631cbe98c7ab
HAVAL160,4 738d51540d5beb661d8ff3509b7211d40eda7bb2
HAVAL192,4 3385b9a59cb58b09f170b3ed400bc5407ce8f24d1d3db56e
HAVAL224,4 4caa6052113a0b6c6b95e6fe7420ccbcce4d57ec2154166d87b463e9
HAVAL256,4 20f84c716e9c663cf243e4357fd0a6d60c68a4c6a7315afb54c4cc889d5523bb
HAVAL128,5 acf27d7c6dd837a878f6ce1b759f8244
HAVAL160,5 33c28694f5c74b8f7adb858d244236243e7013be
HAVAL192,5 f93fd722d322478d66c36f2d7786e94a47d0a1b813634d42
HAVAL224,5 8bc5485d5fab8bda26e38326e82dbf226bf3857d1b9f4a76b4ddcb09
HAVAL256,5 de205d31b6cc4a5f390a72fa28e8074a66ab3ed8ba22f829dc8d2ec4e5a35e18

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:<ALGORITHM>/<PHRASE> For example to visit page that contains hash of "hello world" you can just visit url: 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:<ALGORITHM>.<OUTPUT:plain|json>/<PHRASE> Example: 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")<ALGORITHM>&str=<PHRASE>&output=<OUTPUT:plain|json>

Usage from Javascript

We have removed CORS restriction so you can use direct access to hash calculator in your javascript applications via AJAX.


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)+'"');
};'GET', ''+encodeURIComponent(toEncode), true);
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 =''.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: If you will do this in your address bar you can also use semicolon instead of double dash.;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 Such approach can be also used with "plain" and "json" mode;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: 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=
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
RESULT: 6a4316b18e6162cf9fcfa435c8eb74c1

How to calculate md5 hash in PHP with hash function

Since version 5.1.2 PHP contains function hash() that you can use to get md5 hash from strings.

    $str = '¡Hola!';
    $hash = hash('md5', $str, false);
    echo '<pre>';
    echo $str.PHP_EOL
         .' &rarr; '.$hash.PHP_EOL
    echo '</pre>';

How to calculate MD5 hash in PHP with md5 function

md5() function - the mot popular way to get md5 hash in PHP

    $str = '¡Hola!';
    $hash = md5($str);
    echo '<pre>';
    echo $str.PHP_EOL
         .' &rarr; '.$hash.PHP_EOL
    echo '</pre>';

How to calculate MD5 hash in JavaScript

The Javascript has not built-in function to calculate MD5 hash, so you need one of the external libraries. For example: emn178/js-md5

<script src=""></script>
    var str = '¡Hola!';
    var hash = md5(str);
    console.log('-> ' + hash);

How to calculate MD5 hash in Java

To calculate MD5 hash in Java use "MessageDigest" class from "" namespace

String str = "¡Hola!"; md ="MD5");
 byte byteData[] = md.digest();
 //convert the byte to hex format
StringBuffer sb = new StringBuffer();
for (int i = 0; i < byteData.length; i++) {
    sb.append(Integer.toString((byteData[i] & 0xff) + 0x100, 16).substring(1));
 System.out.println(str + "\n-> " + sb.toString());

How to calculate MD5 hash in C#

The easiest way to get MD5 hash in C# is use "MD5" class from "System.Security.Cryptography" namespace

string str = @"¡Hola!";
using (System.Security.Cryptography.MD5 md5 = System.Security.Cryptography.MD5.Create())
    byte[] inputBytes = new System.Text.UTF8Encoding().GetBytes(str);
    byte[] hashBytes = md5.ComputeHash(inputBytes);
     // Convert the byte array to hexadecimal string
    System.Text.StringBuilder sb = new System.Text.StringBuilder();
    for (int i = 0; i < hashBytes.Length; i++)

How to calculate MD5 hash in Go

To calculate MD5 hash in Go use "md5" package from "crypto" namespace

package main
 import (
 func main() {
    data := []byte("¡Hola!")
    fmt.Printf("%x", md5.Sum(data))
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