MD5 hash for "batman" is "ec0e2603172c73a8b644bb9456c1ff6e"

MD5 encoded string

ec0e2603172c73a8b644bb9456c1ff6e

Your last 10 encodings

AlgorithmStringHash
md5batmanec0e2603172c73a8b644bb9456c1ff6e
murmur3acorvette8221886f
murmur3f987ccc3c24e57bf2d03ab70d13146f1fe59
md4lovee8a8a24865099a96a95dbfbe2c945d7c
sha224buster157733338da9d23384189295517e5ad5c14a04362b1c1d73ef3e55cf
sha224ninja5e2ac420c02dccc3981da69debe63ac4795c53ea120356eaf7666461
whirlpoolpepper64cca593f394a4f6b74b0f789214ae72e799f7a748e032faabb1fa991ed296ddf7990d1313df6aac3d08ee1e3b834349b240ba475319f4b9fd3402600de64616
ripemd256michaelb01f217c2545313ec298478f18cb3c493ea9c6a5b1b88e314e2907b81bbb18c2
sha384loginb188d166dc05c1c824c16ff6739f42c4dc8313da98a037289784daea7710c3402c13c2a9442dcbe19d33467381bf7979
sha384flowerc1a9844d1d6de5428eccc9936f1e75b1b110aac4041214bf17d62fb5bfa3e0e2e999d513dc9405955852a5ed796bd7e0

String "batman" encoded to other algorithms

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

MD2 f9242f1b84e8111e1da4b9786f78cef3
MD4 ed05c6cf1640dfc6ae9a491e173becf5
MD5 ec0e2603172c73a8b644bb9456c1ff6e
SHA1 5c6d9edc3a951cda763f650235cfc41a3fc23fe8
SHA224 fa0ba0e95ebc8eaee93235329f785b789f1e806629ec0c1c29a0a552
SHA256 1532e76dbe9d43d0dea98c331ca5ae8a65c5e8e8b99d3e2a42ae989356f6242a
SHA384 9dbf393dce5066c99aaf7a561fa7defba14a5b0ef3e743e00168594a3a4168131edacb0617bfc6c88075912a63506a6c
SHA512/224 d27796e7abd542b63dc6d613d885278aeefbfdb753deb5d08492c9cf
SHA512/256 c52986d8f900d6324601619050702b76827fa807e0ca1b8f1d49884175854e07
SHA512 5e325d89a5fceb1ba257f50d7e7c1a807ae8b19756e252c326c44e84e357749d3e780b7db1fb32ec029e7850d3b0bba032a33611d2a54a1db8097c81f2b23814
SHA3-224 a05673c006b01f479e3e016d7e0c711f7a84226d5920d6229dca1413
SHA3-256 d2434f9ba643404047334bf95479c89ddbf6e4176c6323590fcd15008ed754e7
SHA3-384 9ed303dbda50f727015ddee1c7990a0d3242b5d3aac2f4e9f16d1f7c0dd28ad987147d48b4af14a1e10aed9b64c15099
SHA3-512 bfc4c10932513bc3b63cbe739b078d439427300fcb2a8badd66da80219baf7c343bcc84a5572d34e8e25649503d4d05d0daef840234bb53f49a8cb5fd75f0876
RIPEMD128 7a86664ab3adb57929331c4ce55aa64d
RIPEMD160 c0693e1dd9deba0545e57180eb559df406c019d8
RIPEMD256 ff31a3297fa2bfd6a6482ea91bb41809eca5ccc84996737ddcbf37a391a9868d
RIPEMD320 0c995f2907f8e461a3c969423386f018f1970a459e31d368f1aa1da6de0c2f873113d6e1fb454830
WHIRLPOOL f612bff69e6198a2a20a32365020b1f70090cacf32fd4f28f910245878e50cc48c959629a6ace973f8522258e6d92646695ce34d54f3313170f764b635af16bb
TIGER128,3 ee49f0847b96ca2bda83ba5e0b46ced8
TIGER160,3 ee49f0847b96ca2bda83ba5e0b46ced80ac365d5
TIGER192,3 ee49f0847b96ca2bda83ba5e0b46ced80ac365d5329c2e0a
TIGER128,4 d1740af884aa37143900a94ce4496c15
TIGER160,4 d1740af884aa37143900a94ce4496c156245f1e1
TIGER192,4 d1740af884aa37143900a94ce4496c156245f1e1e528df5e
SNEFRU c2b1874777c52760516638190cfa3a6b732a62211e8f2748839119ca1d7ca430
SNEFRU256 c2b1874777c52760516638190cfa3a6b732a62211e8f2748839119ca1d7ca430
GOST 726ccf8655ed40107689539510eb8cd1ab6b7c66e6e0d15193dcfd86bdbdb4f0
GOST-CRYPTO a7cdf163e27057047f1774123b5e9be59aa364de0f422de3687945da0c7d2d21
ADLER32 087e0274
CRC32 c0273dd1
CRC32B 2212280e
CRC32C 86140880
FNV132 985a0a4a
FNV1A32 f99adadc
FNV164 e11e4f55e434fe8a
FNV1A64 cff7c4656832f7fc
JOAAT bb085f5d
MURMUR3A 200b3c5d
MURMUR3C a487f9e893d048ea42bc606d42bc606d
MURMUR3F 9a0737a0224e32959b02f2ddb232c87d
XXH32 ae109788
XXH64 5175d7f7721aa5ed
XXH3 8264c47b29db6082
XXH128 1bb3634da4cd274664e38110bff8a8d3
HAVAL128,3 160b3f8d3e8b7bc5dd0b5420faa66e5c
HAVAL160,3 30d7cb0ba747be23839148bbb3c34a7df66a1115
HAVAL192,3 950a6187f9f7b47d46718c2544ecf9e2abfac48470e1d692
HAVAL224,3 9f803c270c4e84e9bf9f978e5abff4fdb4a3de4109c01ebb391e0a9e
HAVAL256,3 c0b3b46f22041abb20d9ac2d34c95414742ca3ee990a3f6bc71f48e208938318
HAVAL128,4 7fcf59ed96a5e48b04477bbdd2ffd83d
HAVAL160,4 98140d22d8b510bd7763fb3d6c6769808b526725
HAVAL192,4 d2b4649fb2a8dca84794151d059b797caf8b16edc0dd24e8
HAVAL224,4 ecbc980c694c5541c22e6312901cd6a0df6fd0797155c3f5524e24a8
HAVAL256,4 69bd2b4e0d8f8a54541fcda3407a7096009525097b7e4ce05d70d47b5d2c6405
HAVAL128,5 38779c47cda62d7b91c8dd3485fbee92
HAVAL160,5 871f8c06e6440cb344ed25765fcb652f680dd2c8
HAVAL192,5 d9b150cb7dae026fa297153b8122f9dbb84970f8fbbad749
HAVAL224,5 008dbf3e76886af7d69ed4206367ee93435840e5f8c8493350fbb183
HAVAL256,5 7ada4b99c85410c45a79457aa9b0e4731ff8aaa291005ed60ce9e7c6fee5be47

Usage FAQ

Usage from Address Bar

Access this page directly from your browser's address bar. Enter the string you need to encode with an algorithm according to the following schema: https://md5calc.com/hash/<ALGORITHM>/<PHRASE> For example, to visit the page with the hash of "hello world", simply go to: https://md5calc.com/hash/md5/hello+world Another cool feature is that you can specify "json" or "plain" mode in the URL to get only the HASH in the response. Schema of this feature: 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 a string containing complex URL-encoded characters, you can send it directly via parameters to avoid processing by 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 access the hash calculator directly 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 access this function directly 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 may need to encode a string using two or more algorithms. For these cases, we have introduced chains of algorithms. For example, if you need to encode a 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 do this in your address bar, you can also use a semicolon instead of a double dash. https://md5calc.com/hash/md5;sha512;sha1/hello+world Note that the semicolon should be encoded in the URL, so if you are not using a 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

Currently, our text editor doesn't have functionality to determine which of those characters you want to keep in the string. This issue arises because browsers normalize all line endings to the "CRLF" ("\r\n") format according to the HTML specification. This means that if you paste a string from the clipboard:
"hello\nword" and press "Encode", your browser will convert it to "hello\r\nword" and only after this will your browser send the FORM to us. As a result, we will show you the hash of: "hello\r\nword" but not "hello\nword"

You can avoid this by encoding the string to "Base64" on your side and using the "Chains of algorithms" 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 is the result you will get if you use an 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 md5 hash in PHP with hash function

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

<?php
    $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 most popular way to get MD5 hash in PHP

<?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

JavaScript does not have a built-in function to calculate MD5 hash, so you need to use an external library. For example: emn178/js-md5

<script src="https://cdn.jsdelivr.net/npm/js-md5@0.7.3/src/md5.js"></script>
<script>
    var str = '¡Hola!';
    var hash = md5(str);
    console.log(str);
    console.log('-> ' + hash);
</script>

How to calculate MD5 hash in Java

To calculate MD5 hash in Java, use the "MessageDigest" class from the "java.security" namespace.

String str = "¡Hola!";
 java.security.MessageDigest md = java.security.MessageDigest.getInstance("MD5");
md.update(str.getBytes());
 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 an MD5 hash in C# is to use the "MD5" class from the "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++)
    {
        sb.Append(hashBytes[i].ToString("X2"));
    }
     Console.WriteLine(sb.ToString());
}

How to calculate MD5 hash in Go

To calculate an MD5 hash in Go, use the "md5" package from the "crypto" namespace.

package main
 import (
    "crypto/md5"
    "fmt"
)
 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