HTML Encoder Decoder

Advertisement

We have two tools on this page, a HTML Encoder and a Text Escape tool (located at the bottom of the page). The first tool will encode html and is a way to hide html text from prying eyes. Our HTML Encoder is an online tool that converts HTML code into a JavaScript Unicode string which means the text looks scrambled when your source code is viewed, but when executed as a web page, appears to be normal.

When you encode text, you are not protecting your HTML code, but it does do a great job as a deterrent to those that would otherwise attempt to view your code in passing. Chances are, they’ll just move on.

To get started encoding, simply enter your text or html code you wish to encode (or the url encoded text) in the box below, press the process button and you’ll instantly see the results. To finish, simply cut and paste the new code into the spot where the original code would was and save your changes.

HTML Encoder Decoder

When decoding, enter the entire code including the script tags. Below is an example of encoded text, if you enter this in the top box and press ‘process’, you will see? Try it and find out what it says:)

<script type="text/javascript">document.write(‘\u0048\u0069\u0021′);

Encode HTML

Enter the text to encode or the encoded text you want decoded below:

Please enable Javascript and Flash to view this Flash video.

There are two boxes below, one for the text and one for the output. You can enter plain text into the encoder and you’ll see the output below with javascript tags ready to be inserted into your web page. The output of text will be encoded.

Decode Text

If you find text that you would like to decode, simply paste it into the first box and ‘click process’. You will see the decoded text appear in the box below.

Encoded Text

In the bottom box is javascript code that you put in place of the text you wanted encoded. When a browser runs the script, it will display your hidden text but if someone tries to view the source, it will not be easily read. The text below is what a human would see if they tried to view your text.

Escape Text

Below, you’ll find a great tool to help you escape text. This tool will look for any special characters and escape them – escaped text or escaped html is often required by programs such as Google, Yahoo and MSN.

To unescape text, simply copy the escaped text into the top box below and press ‘UnEscape’ and the results of the second box will be unescaped.

Enter the text you would like to escape below:

 

Your escaped result will appear below: