1. Tech

Your suggestion is on its way!

An email with a link to:


was emailed to:

Thanks for sharing About.com with others!

Hiding Your Email Address

clr gif
Join the Discussion

Questions? Comments?

Related Resources

Email Address Validation

Hiding your email address from the spammers while still allowing visitors to your site to use it to contact you is not an easy task. The spammers use automated search programs (sometimes called spam spiders) to search the internet looking for email addresses that they can send their spam to. These programs are becoming more sophisticated as time goes on at identifying email address links that you have tried to conceal from them.

The following form allows you to create two different versions of your email address link that are obscured in the hope that the spam spiders wont recognize them as email links.

The simpler option is just an obscured version of the corresponding HTML using ampersand code equivalents to some of the link. A couple of the letters are not converted in the hope that those spam spiders that test for this form of concealment will expect all of the letters to be similarly concealed.

The second option creates a Javascript that creates the link and your visitors must therefore have Javascript enabled to use the email link. In this instance the obscured HTML is used as the source for a second layer applied in Javascript in the hope that the spam spiders that can handle the one type of obscuring cannot handle the other (or at least not both together).

To use this form type the name that is to appear on your page as the link, the email address that you want to link it to, and select which version you want to convert it to. Select 'Conceal Email' and the email link code will be generated and obscured. You then simply copy the generated code and paste it into your web page where you want the link to appear.

Email Address:

If you are concerned that the spam spiders may be able to decode even these versions of the email address link then I suggest that you use the HTML Encryptor to encrypt your email links rather than just obscuring them. The difference between obscuring and encrypting your link is that the encrypted version needs a decryptor script attached to the page to convert the encrypted source into something that the web browser can read while the obscured version is directly readable by the browser.

The other (even more secure) alternative is to use a form to generate the email and have the address added server side when the email is sent. This has the advantage that your visitors don't need to have an accessible email program in order to create the email but has the disadvantage that they don't get the opportunity to save a copy of the email on their own computer.

Related Video
Link a Website to an Email Address in HTML

©2017 About.com. All rights reserved.