Email Obfuscation

On the blogging front, I completed my Contact page and learned a little about ways to obfuscate my email address from annoying spam-bots. A rudimentary web search will yield mucho hits on protecting yourself from spam scum. Here are three that represented common ways to skin this donkey.

This article,, shows how to use CSS to obscure an email address that needs to appear in the body of HTML text on your page. This takes minimal work but won’t help you if you need to hide a mailto: call inside a link tag.

This article here,, provides a small utility that will convert your entire email link and display to ASCII coded characters. While this is not 100% foolproof it does stop almost all current spam-bots.

The best method came from here,, where another web utility will create a javascript function for you with your email address encrypted using a public/private key combo internal to your webpage. This is VERY strong and very clever… and no spam-bot can touch you. This is the method I used to do my email addresses on my Contact page… can you find them in the source? (Good luck… I even used different primes to create separate key combos for each one)

u comment i follow 5 Comments

  1. John
    Posted November 17, 2005 at 9:22 am | Permalink

    Boy, I tell you what. That mail script you used really went all out. Even the variable names are non-obvious. This makes even the vaunted WWIV random password generator look like crap.

  2. Posted February 20, 2009 at 7:48 pm | Permalink

    Jim Tucek’s page is permanently dead.

    Dan Appleman re-created a new page to do almost the same.


  3. Matt
    Posted August 2, 2011 at 10:04 pm | Permalink

    This script has been a godsend for me! I’ve used it on my personal sites and for my work as well!

    Just wanted to drop by and say thanks. :)

  4. Jonny Nox
    Posted December 6, 2011 at 8:56 am | Permalink

    Thanks for this script, it has saved me a ton of time and energy :-)

  5. Posted February 4, 2015 at 1:46 am | Permalink

    Word travels fast about suppliers who won’t look after problems.
    Stuart agrees anytime it comes to arranging a Waalt
    Disney World trip you will need to sit down and perform
    some homework. In addition most claim they provide “identification” cards that could reawp steep discounts oon personal travel.

u comment i followPost a Comment

Please observe these simple rules when leaving comments. Fill out your information truthfully - that means using either your REAL name or a "handle" of some sort (like Mr. Frizzy Monkey). Don't be vulgar or idiotic. If your comment seems to be made for link value, or for advertising your business, and not to contribute to the discussion then your comment will probably be edited or deleted. If any of your info seems fake your comment will probably be deleted. I apologize in advance for any well meaning comments that meet an untimely end... but I'm sure you'll understand and forgive me.

Your email is never published nor shared. Required fields are marked *