MD5 hash is "fecfbf31a749c7403612c47c3633ba6e"

MD5 encoded string

fecfbf31a749c7403612c47c3633ba6e

Your last 10 encodings

AlgorithmStringHash
md501234567890123456789012345678fecfbf31a749c7403612c47c3633ba6e

String "01234567890123456789012345678" encoded to other algorithms

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

MD2 03052976e3b38c152ca1a815d75f4cf8
MD4 4ff2a30c32bd663adbd878e848eeb515
MD5 fecfbf31a749c7403612c47c3633ba6e
SHA1 98cb68cb805366b3fdeda05109b61973795fc0d8
SHA224 44f54858a443a523fbd6995c057341dfe71dedf43e6f275cf3d3f3b4
SHA256 2dcd3204dca68190a496da87f587bc689d6be33e563c70c5b723724e4f7e13db
SHA384 93af6b764bbb420ff0de04d5b7725c7acc9569bce1866bdce5b3a4024d4f073edaec24e623f52a63dd45fcf361efb794
SHA512/224 35e9c8c714eca668fb2879d2e3e576a3a17fa6fcd27e52f1bb584c71
SHA512/256 8ed53fd297e4a925a6b689afc359c2eae64995da656db58c9659036ec94cf970
SHA512 029c8379a73170dcd47c8c7773b3c0716b177ec79b9393fb0fc7b6d1a29a1d4c6b7b100edb4959ea267bc935f02aeed936faedd04750209c109f3a9dde721078
SHA3-224 b67faba06a9f796b927c050dd42d832bc3e680b87cfdcce87f7dce4b
SHA3-256 c8fe352c95806ebed15f86d36c644b95c4b37d81d1386f04b552ccf0b1fecda7
SHA3-384 5d0f35f0e0420c0dee255c1054d363829a77f5954d4d8d3d6a0be6ceff45520e8306db58c490d0d4ab43ff4f178320be
SHA3-512 8c661fd837b17c3c8ee99ef86578fdb0ef0e22395f0ef8b21bdf1676370b5beac8b5c43d33e8b11f57b04f54691808b0e3611b3f35043b7fb8851e357ba3376e
RIPEMD128 93e5efeaa0e685be90182c589015cb0b
RIPEMD160 9d45e8431299f2de947531a3ba591757a69e17b3
RIPEMD256 94c0ce089804e9c040cfe04634f0d38b59cc78bedd600b9126120832a786e3b8
RIPEMD320 2462d317ce64aa7a539b81024cb882a4f5599c740abf34133f077a43413f21039ae1cf4b2b5119eb
WHIRLPOOL 567ee67d43a4ebc68866dd2a6756e40dfd591cab206d3f15f0137eb206fb79cfe5f98fe532e867186798abe31658b5a4ec145b88c5939569dbc06c181332875d
TIGER128,3 b5e3c1c8da441486dfaa08bab8c978b2
TIGER160,3 b5e3c1c8da441486dfaa08bab8c978b2ba57858b
TIGER192,3 b5e3c1c8da441486dfaa08bab8c978b2ba57858ba52789d1
TIGER128,4 36002d7fc3ba1c5785f09e4cb0c88717
TIGER160,4 36002d7fc3ba1c5785f09e4cb0c88717335b6847
TIGER192,4 36002d7fc3ba1c5785f09e4cb0c88717335b6847cccf9d48
SNEFRU b49bb3b15c16fc19332b5a7a8bcf303dbd9984f96e9b8cedc0929928f43a21b2
SNEFRU256 b49bb3b15c16fc19332b5a7a8bcf303dbd9984f96e9b8cedc0929928f43a21b2
GOST a7632f78b0d059212cf482dc135f1e424abe4a8dceaa73e64c200b6ebe9060cd
GOST-CRYPTO 6de9857e5ff28aad7526a0a1c2c21be5b2a106e85314b04720978473ae79b01f
ADLER32 585b05ef
CRC32 31abd62f
CRC32B 518269e0
CRC32C 519505ee
FNV132 c7f3f0af
FNV1A32 2087c097
FNV164 3e4b717c525a346f
FNV1A64 799191b35e5ad297
JOAAT a2c14d6e
MURMUR3A d7e6dd06
MURMUR3C 70d0dffcac9fcc169e82297f56d04a5d
MURMUR3F ea9eaa3348387ec5fcd0d4d4d64e1f93
XXH32 5faf608e
XXH64 a6248dbf1d141612
XXH3 02b820b061aa8e02
XXH128 87ddd0271731975189916e5a9afd072a
HAVAL128,3 7612a2e9ad3ca79e938b78c84f2f8e4b
HAVAL160,3 454f5e1f92877120fa9481682b4403bb6a645a48
HAVAL192,3 d3c5a069cd3ae720f14ac94f910183573c3e6ff9c6b9d4fb
HAVAL224,3 908ef40ea3e297ba8ccf1d36a392b60575ae36c07bee2acfbab0e7ad
HAVAL256,3 2cf883cdbe3d09703b7f566ba8b2334b22f3c2dd4d68a2ad4517e50138999ed9
HAVAL128,4 ac4e4c3cb94a81525df811b6085a8422
HAVAL160,4 63dd295224d1924ba34838ea2ea25fccf0b33be1
HAVAL192,4 ccc575cfa71531eccdb7b39c8f4105cba893979dc28180b2
HAVAL224,4 5e31ef428fcf991b5e9a81016de465c1654e73cb70389e18d3ad076a
HAVAL256,4 3e34579d05608e7bd93517cd365d6d2e1619d50627333f7e9410a356107a8b21
HAVAL128,5 82d47be0bf396577831d88623c5a4328
HAVAL160,5 8b2c99143c5a13dd4d2e4e504223cc114ff514ca
HAVAL192,5 a590ea30c95d0d2cbfdfb2482aef82add3039b06a644b795
HAVAL224,5 a0d5e55d37a69767c9229c79e66c05d741030ebe3a43e7847c76356f
HAVAL256,5 86adb745303e7008293f2f6f3e54dec71c45e5a481b5e4c7a67fd5d33621b45d

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