Use this tool to avoid having address harvesting bots find your email address on web sites where you have access to the HTML code.
See the sidebar to the right for more information -->
Instructions
Use the form below to generate a block of JavaScript code that can be copied and pasted into an HTML document in place of an address or mailto: link.
Email Address: If this is the only field entered the resulting JavaScript code will produce a plain text email address (in other words no link).
Link Text: Enter the text you want to the mailto: link to display. You can also use an HTML image tag if you want the link to be an image.
Subject: The text entered in this field will be used to automatically fill in the subject on the users' email client when the link is clicked.
CSS Style for Link: This field should contain only the value of the style tag for the link. For example to make the text bold and red you would enter 'font-weight:bold;color:#f00;'. If you are not familiar with CSS or 'Link Text' is an HTML image tag do not use this field.
Javascript code will be generated below when the form is submitted. Cut and paste the code exactly as it appears and use it to replace email addresses or mailto: links in your web page.
More Information
The How
The Internet is full of links and by following these links bots can load millions of web pages and scan them for things that make text look like email addresses such as the '@' symbol and periods (a.k.a 'dots').
More advanced bots might also look for things like the words 'at' and 'dot' or long strings of html entities.
The Why
The email addresses that can be found in the HTML of publicly available web sites are a major source of new email addresses for spam campaigns.
They are easy to collect, very likely to be working and can also be mined for keywords like 'dental' or 'computer' and sorted into targeted lists.
The Encoder
The OnlyMyEmail Mailto Encoder will generate JavaScript code that can be used to replace email addresses and the mailto: links that often contain them.
JavaScript enabled browsers will display the address in a way that allows humans looking at your site to see a normal text address or mailto: link but bots will not be able to extract the address.