Jump to Content
  The Ohio State University
. www.osu.edu
Help Campus Map Find People Webmail Search Ohio State

Humanities Information Systems

Humanities Information Systems Home Page

Web Services

Web Tools&

Encode Email Addresses to Keep Hidden from Spammers

Robots designed to collect email addresses scan Web sites to obtain your or your clients email address. To protect addresses, encode them using character entities while maintaining their functionality.

For example, to have the following text: "Send email to lastname.num@osu.edu." The HTML code would need to be as follows: Send email to <A HREF="mailto:&#108;&#097;&#115;
&#116;&#110;&#097;&#109;&#101;#&#064;&#111;
&#115;&#117;&#046;&#101;&#100;&#117;
"</A>

To obtain the code that you need for an email address, simply type the address in the first field in the form below and select the Encode button. The encoding version will then appear in the other text box.



For more information about using Character Entities see the W3C HTML Reference Specification on Character Entities.