MD5 hash for "my username" is "d211fd988999b602e982c3f548b70eb4"

MD5 encoded string

d211fd988999b602e982c3f548b70eb4

Your last 10 encodings

AlgorithmStringHash
md5my usernamed211fd988999b602e982c3f548b70eb4

String "my username" encoded to other algorithms

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

MD2 ca6077577e8d436d6aa198106d724168
MD4 903fcd3ee629b60facd91e4cd1e77c49
MD5 d211fd988999b602e982c3f548b70eb4
SHA1 cd11aa6622ce68d49f3e7c5fea9ed1c00a4332da
SHA224 0e8c864424132034e2c99621533acdd328d3cd895c5d3194c4376662
SHA256 998cca2d6d03e460282fd341369e1b77f4c5ab928309e41b0d69e2ede2ef7658
SHA384 770f63a46f927b4b00c6650f7d9541e83f936ad7f940f3fd3156d36811c55ee20bbdab01c5968e6790bd0b96a47394d1
SHA512/224 8b06447dc9d74994febc4a0892f9f7195911872907b4c759c3e86c7c
SHA512/256 8782d0e514aaa075620c88d29a680bf927e293f7c576c1ff5682f70f3c27cfe4
SHA512 e520ae246870e540a960299a7ae4b75bcb6685450aa934956b0608406df27caddcd900015b3f2082580d7515e8f021c9d43edeb8249229ea229c8d61e17401a1
SHA3-224 e9b20b6b94e62d816e28a2116e853ce691961f0b623a181af02e687e
SHA3-256 0ca5fb19d07a1251f718b60ca931efaacc77d962dd4b26800eefd1bf3fa74764
SHA3-384 1cfda81d3045654617914654885474f24a12f30f01362a8216d29779ec3a09c0ab4b1549b1dc5bb5aaae519b81735352
SHA3-512 b3e8159d44158a10619b7136abd3ddea2155f81ab9ae8966dcd465d0495299048cd320b69c8932947fae13d4600d435857cfd6159838750d062fce57f35dc916
RIPEMD128 c193f2949d7180fd5ba86d0f7d3a2b7b
RIPEMD160 1238eca08c39e6b88ce203dccb9e671ebd55209b
RIPEMD256 89a9c06bddf6d97dd396fbcd5760ab7b3d59f49f16fe550fb686d0d2c24c3d87
RIPEMD320 32564c3c86190f136acba996e6218d79d4a553d9a1463df9cf97b2f5a89e4a430c985f38f8f78d61
WHIRLPOOL 143c59b4901c3eb8e76d7064c7be491759f096a54d68f32f16b304dccafa8b1cac08d961973004cbb278dc831f6741353cbb4c3f0be4835d3b60b40773d1e1e7
TIGER128,3 196b486fb98c0440e770c874bc2bea1b
TIGER160,3 196b486fb98c0440e770c874bc2bea1b91239a48
TIGER192,3 196b486fb98c0440e770c874bc2bea1b91239a48edb7e2f2
TIGER128,4 5fdecdb176aca3af111f0cb4d139e08f
TIGER160,4 5fdecdb176aca3af111f0cb4d139e08fa741de6c
TIGER192,4 5fdecdb176aca3af111f0cb4d139e08fa741de6cea82c394
SNEFRU 1ddfc8592ef45ccf809310f8463d77fee65c51c61340bda254562df08ab36926
SNEFRU256 1ddfc8592ef45ccf809310f8463d77fee65c51c61340bda254562df08ab36926
GOST 0dea1d9266bd26a48d3c9509fd9b82b46f6dd3e1d7d08348c6927a9e3f9ec8cd
GOST-CRYPTO 21da4517b6ff4768ef5e9e31026d044b72d0cdfa1d77bbd5df1e6f66b977bb7c
ADLER32 1a130467
CRC32 ce497e1a
CRC32B e5169f3c
CRC32C 82f489f0
FNV132 5f688735
FNV1A32 7d8e80f5
FNV164 35eb9d137933faf5
FNV1A64 57b2e01750e3a135
JOAAT 424da3f4
MURMUR3A 6b11fa73
MURMUR3C 79f222e9e06afd95af2f7f2d5426ee35
MURMUR3F f15060e14604b1d795815986f4937657
XXH32 cacbce8b
XXH64 ac53b4377f44c115
XXH3 b0646250290c2384
XXH128 ceca2999f89cf49f5f71f6ea7293bffa
HAVAL128,3 d848024f0d96d5d58e6d93ece24d6654
HAVAL160,3 690e248d73332f0393301d46cbcccc0b4cbbf5a4
HAVAL192,3 6fb065e4c7bad5e533ea83bc353807f205cb96357269c9a5
HAVAL224,3 944d046658cb1a99dcbce83e0114276ac39f361e134d0c3273056a31
HAVAL256,3 c641d74ee1f3bc27a4e0243aa9c722735d6619a6e2a919d32ede4f670ef180e3
HAVAL128,4 f767cb93728443bbf9fc5eac37f22f18
HAVAL160,4 4a861b2da42a307974d492343f89d6824d8f1b66
HAVAL192,4 e63bb22ef36558e74af49d2634786c0da9179a9ec7ef4882
HAVAL224,4 9a3cdc85db6a2de4353707fc613727929519ccedf9682f86c1d3977e
HAVAL256,4 affc245ebf177ab84575e6955eac6865d5b8e052df10ee5bed79273d236f3c8f
HAVAL128,5 9c49a78a5f344076326888c1a32fd651
HAVAL160,5 0a3a80664a2dad5ca01d749e064da3220f07619e
HAVAL192,5 a10e85b7da13e7bd5acddb5dcf6474b0137fa28c5c18a6ad
HAVAL224,5 88c2a58069532f79518c5a59f7b9cb292db86dcd3e9dc63a15a81d65
HAVAL256,5 356b74d8cec105be48b5dff53f362aeaf060440d855bfbbe70c853950600fdac

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