Online MD5, MD4, MD2 Hash Calculator

Paste plain-text data into the below textarea or upload a file up to 10MB. Choose the mode and/or version and click the Calculate button. The resulting hashes will be shown in both hexadecimal and Base64 encoded format

If you encounter any errors with this tool attaching the file that causes problems.


The MD5 message-digest algorithm takes as input a message of arbitrary length and produces as output a 128-bit "fingerprint" or "message digest" of the input. It is conjectured that it is computationally infeasible to produce two messages having the same message digest, or to produce any message having a given prespecified target message digest. The MD5 algorithm is intended for digital signature applications, where a large file must be "compressed" in a secure manner before being encrypted with a private (secret) key under a public-key cryptosystem such as RSA.

The MD5 algorithm is an extension of the MD4 message-digest algorithm. MD5 is slightly slower than MD4, but is more "conservative" in design. MD5 was designed because it was felt that MD4 was perhaps being adopted for use more quickly than justified by the existing critical review; because MD4 was designed to be exceptionally fast, it is "at the edge" in terms of risking successful cryptanalytic attack. MD5 backs off a bit, giving up a little in speed for a much greater likelihood of ultimate security.

(Source: RFC 1321)

Implementations - Download source code

Please note that I did not write any of the bellow code. I have only gathered and mirrored all the implementations in one place. All license and legal notes have been untouched .

If you know of any other implementations (In any programming language not listed below let me know)