MD5 hash for "daniel" is "aa47f8215c6f30a0dcdb2a36a9f4168e"

MD5 encoded string

aa47f8215c6f30a0dcdb2a36a9f4168e

Your last 10 encodings

AlgorithmStringHash
md5danielaa47f8215c6f30a0dcdb2a36a9f4168e

String "daniel" encoded to other algorithms

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

MD2 be5b310e5dffd2782b2195935b77f5d7
MD4 b61e0bd951e540f2b128c483e339503e
MD5 aa47f8215c6f30a0dcdb2a36a9f4168e
SHA1 3d0f3b9ddcacec30c4008c5e030e6c13a478cb4f
SHA224 5903cd844c332687fda37815438a198ea4088ce29a6c764ca6d526ca
SHA256 bd3dae5fb91f88a4f0978222dfd58f59a124257cb081486387cbae9df11fb879
SHA384 06e2f347bda50c19fad14783116396da84125153b9ed1e32db805627a72f7d0d352d0786c599dccf0f6cf997a4a1f48b
SHA512/224 bfaa6237a4b1d028a863110a1b0b473f19db9e98c306c915963445f4
SHA512/256 bf8e678460beaf3def3a4859d6c8d45cd751fbf792b1e71005e4d868d2a0c957
SHA512 f68a41e098cf7ecb8924645bfe335941beb068e7bebaf0bba26549c0693560df08cace69debbc59f6d2e30a328570dc331c1ec2f998a43cd0340b08065d4318a
SHA3-224 c51f23c34d2c0afbce031d789a84b9f71149605634dd6a2b8c323c48
SHA3-256 be0eec825eff275e8ea02047a8f53382b14d6cd7c0fb8e8c992d6ba9e61781cf
SHA3-384 ca143b48d7db301215e5b3644a71329907d468091666a8e27348ddc22f02f0721129d64ffc5c78f9291d163650a06d08
SHA3-512 edfb5a2ed9c5cecfc167bb32a1f586e794fcc0bdf4731af0221f9fe1711a9c4c1682dcf8df7ec57445f7d3db44824924f123c83a8a2cfa49ba03fd3f5deb4a86
RIPEMD128 56a90564f428ef503567d1fa721997aa
RIPEMD160 9f8cba67726bb3080284e5ef969917f67f7170c8
RIPEMD256 44502bc53dee26b9b094eb527ac53cad5f3a7345853d88d202fc8abcfeaff648
RIPEMD320 5863602fa4cebcbbb85dbbf3acaae55b94655cbf7138691d2425de75cf776b78a93cc19efb4999cf
WHIRLPOOL b73d6b5e20c5daeb054d897f1bba3226fdaaf916e40ec42cfe37f2c3c8f42197a09fae2967376109cc8088f12c00b59e8b22c81db8a3ee6766961ce8b3cf2155
TIGER128,3 eb06a83053ab1c95b163f11a1f5a3506
TIGER160,3 eb06a83053ab1c95b163f11a1f5a35060871bd50
TIGER192,3 eb06a83053ab1c95b163f11a1f5a35060871bd5027134916
TIGER128,4 e2c93d9c93cd8bb195c757be3b4c23d8
TIGER160,4 e2c93d9c93cd8bb195c757be3b4c23d861402aec
TIGER192,4 e2c93d9c93cd8bb195c757be3b4c23d861402aec9aeab0b0
SNEFRU 79bcfe8f837754b92418dbb5aae521caf3c2e53439e0149cae5ff67e6449fc88
SNEFRU256 79bcfe8f837754b92418dbb5aae521caf3c2e53439e0149cae5ff67e6449fc88
GOST 9744e1facc46a1a59c2874ac4673ac5392ff1f38605d89b170deb29bbf5d1b45
GOST-CRYPTO 1e70e6c1f907e4844eddc1c5cc75525cbb72d7e24a4b40d03dd14f772439f599
ADLER32 086c026e
CRC32 7b3ded72
CRC32B 4684701c
CRC32C 7e45db5f
FNV132 04b95038
FNV1A32 1b0f622a
FNV164 a92e90ebdac460f8
FNV1A64 ec505ba1bc97e20a
JOAAT 86d31fb0
MURMUR3A e0ce8a44
MURMUR3C a6b2feac3cfbafde058e371f058e371f
MURMUR3F 8deb1b92bacc3ca2eb0799af8eb0283e
XXH32 b670d94c
XXH64 6c9cc48d12211fb8
XXH3 b9bc63d1ca4671f1
XXH128 408692c0acfd1ca174d180f98b66f74d
HAVAL128,3 c2b6d5ecbdb3214b9641f409a9aa495f
HAVAL160,3 bd99ceb1cbb251d9f41675a1c190ef366059b1dd
HAVAL192,3 8f37ce51e401da90bc6a68398c2e2f691ff13a1051bbddd6
HAVAL224,3 254e2b59635524191da6e8f997300b171e746f6075599bad0a7c47fe
HAVAL256,3 0fd8379c5c757eb72b8257c56c4583a29865b8f843ef4323aa3807bfd5f27661
HAVAL128,4 816cfb10404f7a2dc87e4416b4f16f2d
HAVAL160,4 8641c8baa001c7b4c3df2d37d7c8fcadf939e123
HAVAL192,4 f83978f95f987180c22d621ccb369a26e073714ce2bada48
HAVAL224,4 d53d9e7046a084592853c97ff0906db258aede0c19acbbfd82d66b96
HAVAL256,4 dbeb5508fef4ca17d8ead2fed67c469f6901376ec438dba226e968777a0bd1e4
HAVAL128,5 d9e3645cfcc002b4bdaf15dbfe990b06
HAVAL160,5 4738384266eaa6b747e0ba14c57774a099e4c715
HAVAL192,5 bf5fc6b3a15ac9d7206118d05f9950feb05e3a09f361468b
HAVAL224,5 4313944813d1e2a9d4fd45bad03d46df0befa253ac12d2059954de0e
HAVAL256,5 ddee382c0acd48f26f44cb5b8269f651acf62e5a39178a04fbee74933da1646f

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