MD5 Encryption

This online tool allows you to generate the MD5 hash of any string. The MD5 hash can not be decrypted.

MD5 Encryption

The md5() function is an inbuilt PHP function which is used to convert string into md5 format. It is used to calculate a hash value in cryptography. This function takes string and returns a fixed-size of string. MD5 hash can not be decrypted.

MD5 features

MD5 produces a 128-bit hash value. It is represented as a hexadecimal number of 32 digits. MD5 is NOT reversible. This function is used as one-way method. It takes the data and calculate the hash values.


The syntax for the md5 Encode is following.

MD5 Encoded Syntax


  • str: Required. It specifies the data to be encode.
  • raw_output: Optional. It specifies the boolean value. If it is true then md5 return in raw binary format with string of 16 digits.


Let's see the following example for MD5 Encryption

MD5 Encoded Example

The above example will give output

MD5 Encoded Output