Home Plugins pixelines email protector
Pixeline's Email Protector logo

Pixeline's Email Protector

by pixeline on WordPress.org

Write email addresses without worrying about spambots and email harvesters.

(7)

This plugin provides an unobtrusive yet efficient protection against email harvesters / spambots. Here is a demo.

Post/page authors may write email addresses in their article in the usual format (“john@doe.com”) without exposing them to spam email harvesters. The plugin takes care of the obfuscation, implementing a graceful degradation technique focusing on usability so as to protect your email addresses from harvesters while keeping them usable to your human visitors.

The plugin replaces any email address found in posts, pages, comments and excerpts, and replace them by a bit of html markup that should deceive most email harvesters: .
If javascript is available, it will display a clickable link and display the original email to the human user. Maximum usability, maximum protection.

Please rate the plugin if you like it.

Usage

Write your email addresses inside your posts and pages as usual. When the plugin is activated, it will replace them by a human-readable html string that explains how to deduce the email address, and if javascript is available (99.9% of the time), the original email address will be displayed as a clickable mailto: link. For example:
Hello john@doe.com. How are you today?
will become
John( replace these parenthesis by @ )doe.com.

Additionally, you can specify what the mailto: link should look like by sticking a parenthesis inside of which you put the visible link text, like this:

Hello john@doe.com(John Doe). How are you today?

will become
John( replace these parenthesis by @ )doe.com.

inside a theme

If you need to protect emails inside your Theme’s files (like the footer.php for example), you can use the function safe_email() like this:

 echo safe_email('you@domain.com'); 

Contribute

Github repo: https://github.com/pixeline/pixeline-email-protector

Active installations900+
Weekly downloads
82+1266.67%
Version1.4.0
Last updated9/6/2025
WordPress version2.7
Tested up to6.8.2
Tags
addressemailharvestobfuscatespam