Hex Conversion in JavaScript

Download Hex Conversion Source Code in JavaScript
Note that the data should not contain any unicode characters. In other words, the data must be
a string that each character of this string is representing a single byte. Therefor, if you want to encode strings
that contains unicode characters you should first convert it to UTF-8. (see UTF-8 in JS)

Example :

Raw Data: Hex Encoded Data: