MD5 hash is "bf1a45f3da917032a1311e5d34333615"

MD5 encoded string

bf1a45f3da917032a1311e5d34333615

Your last 10 encodings

AlgorithmStringHash
md5robot/Simple-way-to-get-md5-hashbf1a45f3da917032a1311e5d34333615

String "robot/Simple-way-to-get-md5-hash" encoded to other algorithms

Here you can view hashes for "robot/Simple-way-to-get-md5-hash" string encoded with other popular algorithms

MD2 df9ce5f7d871ed2940ad73a09f783aa1
MD4 fd01827c75cf91768bbf6756c5aee9ff
MD5 bf1a45f3da917032a1311e5d34333615
SHA1 ef9840e17e17ec23db4e442073740ac78dfda7a9
SHA224 696db3eaeb8528f389c14a1c530ba430fa8e7d0e0736a83537b54a0f
SHA256 44dca19718d5492ad84dc08f4b44f2311f95ce424693a190ac72b4720e36dc10
SHA384 1e59546729356d5c6cfe76b37344dc1aff96a34898af685e64d272f9398a80118da620cb8fdc6b265dc64a8cb1c0ebef
SHA512/224 26cc3d87a937df2be44ec4e996181dc3c83ba7f15c9eca588cc8c767
SHA512/256 a0bc8ddcc326796a72283aed675d8b04b96e3d3119a94f0940d77103432a0306
SHA512 43efe724348668e93b9f509bd57c5091075a84680458eb9f6da260380c5cf3c5a83f41883aa17a518d278d9bdfca2256487acf37fcd0118a47c75199c5822213
SHA3-224 e35dd9147f0888dcbaedb2f82cac8520b36d96739e592cc96610c1b1
SHA3-256 57281617c7dd4f40b1f5b24f1ccaf4206efa41d57bdc8ae6880eb9324772caed
SHA3-384 62a8aa453c989c5898e02aae702b3e25f9358f31309b997932c1267e734573c1b23554a0b5661914f4389172982bc0bf
SHA3-512 68d231fb13f2d926a6bf312fe3b52960af0956a5b9be34c0ec369c34f1ffc5d94180523790aeb4fcae386559f3121670857879b0ad7873091a60ddff725bc4e9
RIPEMD128 078b031ce2a1ef36dc84b540f6c53030
RIPEMD160 fd3a6d4eb9b8c62f3aaeb722bbeb927b043de7d5
RIPEMD256 a8ff82dee83a6e5b06a8238af0d58f6e833f532d1be8f7d17ac6738590c5ffdb
RIPEMD320 ff995d5a9ea3b43a80151a8fa46e485314d0a4fe21af5eef8a318093291f7394ea2b8a21de49bb9b
WHIRLPOOL c76cf841c9fdaceb6ca4476133c386ade7ba95361414b37745c9ead983631d54cb3392c1ad258e40adeff02a7308e2439df961b9bba8e4ec89680dfd632d5baf
TIGER128,3 d0128b0b8f00451b57730f311dd85260
TIGER160,3 d0128b0b8f00451b57730f311dd85260aaa60117
TIGER192,3 d0128b0b8f00451b57730f311dd85260aaa60117bf312cd0
TIGER128,4 0620e5517ee65f951a4996b29f621033
TIGER160,4 0620e5517ee65f951a4996b29f62103307dc55c0
TIGER192,4 0620e5517ee65f951a4996b29f62103307dc55c0d7a20877
SNEFRU f23503f7455910da2637dfd84b1b097ea87fb056093d31cf732b34a305b736c9
SNEFRU256 f23503f7455910da2637dfd84b1b097ea87fb056093d31cf732b34a305b736c9
GOST 1ba9ffd42142d6b4b03713696b73d827c224d66bba4897c2d481ba9081146ada
GOST-CRYPTO 3f6a302ff979b9b8974234d0772360d71ae2fef95d4b022c370c4c18c2a16ad2
ADLER32 c6d40bbf
CRC32 d6a08800
CRC32B 775489de
FNV132 465c5dd9
FNV1A32 2b958e89
FNV164 bc3cc71d2649eb79
FNV1A64 c7e32cf0e034fd69
JOAAT 776c14d1
HAVAL128,3 ee201a9b8f786fc214180dd2e8439f02
HAVAL160,3 b19fe17fa48584a60f6f13cf11b8420bed7dafe8
HAVAL192,3 20cfd1a93024a655d88f60f4d7d8afcfb8203ea0d9772b1f
HAVAL224,3 21b22ccbc2fc2be24a9f959ad534ada7e12120c21353623b0d24d570
HAVAL256,3 3b56bdd664b944bd22e5d59f809de7d60cb7878cc64219fc037a0f6dedaf21a1
HAVAL128,4 31758afe7767505070b4d1258cb35617
HAVAL160,4 e253e9c60ebc566b75fa560dec85e1458d140cd0
HAVAL192,4 da275bd2078a6b6bb446ea6c2bbec220b24407fe014e76c7
HAVAL224,4 fd7aae46271f6a9386fb0348a1493f1b0c1af2ed5abca09ff8c24a55
HAVAL256,4 d936ec588bbf7f5bee4b248fdd13d6d9cdaa4e093fff4bd2c9b70064af4957f5
HAVAL128,5 2d4aab1a60aefe48392c83b883ba2944
HAVAL160,5 7f62be28a8bd2c493458587804dd51954bde3385
HAVAL192,5 58e516d995ecf89a27a1889f14d81785334384fc2cd10ffa
HAVAL224,5 2d70e214110b93e81b2e803f407361016800b906b41d4e46ee37082a
HAVAL256,5 bbac1e2b64ac8b7663d90d36e3903d6491f2fff018b67920bbf3408113f49b21

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

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

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="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 "MessageDigest" class from "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 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++)
    {
        sb.Append(hashBytes[i].ToString("X2"));
    }
     Console.WriteLine(sb.ToString());
}

How to calculate MD5 hash in Go

To calculate MD5 hash in Go use "md5" package from "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