Encrypting HTML: HTML Encryption

Do you want to put your e-mail ID on your website of blog. Be careful, as lots of spam bots are searching e-mail ids on the net. So think twice before displaying your e-mail ids on the web. Many people use some kind of variant in writing email ids so that bots do not recognise it. Like if someone's email id is someone@some.som then they will write it like someone<at>some<dot>com or someoneatsomedotsom or anything for that matter so that only human can understand but not the bots. But day by day bots are getting smarter and they check for all kinds of obvisous varients for writing email ids. So this practise usually backfires because of three reasons.

  1. Bots recognises your email id 
  2. Your clients might get confused they can note wrong email id in the process and 
  3. It doesn't look elegent also. 


So what's the solution?

Well the solution is you can encrypt your html so that your visitor will see your actual id but for bots it is something else as bots donot see it on the screen. They search things in the html.:)

So how to encrypt ?

Well there are many sites on the net who provide html encryption service. But best of them all is http://www.iwebtool.com/html_encrypter . Just put the html code in the box and press the encrypt button and your code is ready. put that code in the webpage and relax.

Here is an example :-

HTML CODE:

<p align="center"><a href="mailto:someone@some.com">someone@some.com</a></p>

Encrypted code:

document.write(unescape('%3C%70%20%61%6C%69%67%6E%3D%22%63%65%6E%74%65%72%22%3E%3C%61%20%68%72%65%66%3D%22%6D%61%69%6C%74%6F%3A%73%6F%6D%65%6F%6E%65%40%73%6F%6D%65%2E%63%6F%6D%22%3E%73%6F%6D%65%6F%6E%65%40%73%6F%6D%65%2E%63%6F%6D%3C%2F%61%3E%3C%2F%70%3E'));

Both will be displayed on screen as:

someone@some.som

Thank you very much for going through this post. Comments awaited :)