Email Address Encoder


A lightweight plugin to protect plain email addresses and mailto links from email-harvesting robots by encoding them into decimal and hexadecimal entities. Has effect on the posts, pages, comments, excerpts, text widgets and other filtered content. Works without JavaScript — just simple spam protection.


For detailed installation instructions, please read the standard installation procedure for WordPress plugins.

  1. Upload the /email-address-encoder/ directory and its contents to /wp-content/plugins/.
  2. Login to your WordPress installation and activate the plugin through the Plugins menu.
  3. Use the “Page Scanner” under Settings -> Email Encoder to test if your email addresses are protected.


What does this plugin do?

This plugin searches for email addresses using WordPress filters like the_content, widget_text and others. Found email addresses are encoded using decimal and hexadecimal HTML entities, which obfuscates the email addresses to protect it from being read by most email-harvesting robots.

Alternatively, you can use the [encode] shortcode: [encode]+1 (555) 123-4567[/encode]

How can I make sure the plugin works?

You can use the “Page Scanner” found under Settings -> Email Encoder to test if your email addresses are protected. Alternatively, you can look at the “page source” if your site. Please note Chrome’s Developer Tools, Safari’s Web Inspector and others, because they decode decimal and hexadecimal entities into plain text.

How can I filter other parts of my site?

This guide will help you encode all email addresses that aren’t caught.


Sadly it stopped working

Since the PRO version (paid option) has been added. The plugins stopped scanning other field than wordpress default one. Therefore, email in added in ACF won’t work.

Good but spammy.

I’ve been using this plugin for a while and it works great, my rate would have been 5 stars but I don’t appreciate the notifications in the Admin dashboard added in the last update. I loved that it was so low key, just activate it and forget about it, now you have to click the link to a new paid feature promotion to remove the notification.

Great plugin

Simple plugin. Does just what I needed it to do.
The Page Scanner is a nice update and a great test tool for you website.

Read all 116 reviews

Contributors & Developers

“Email Address Encoder” is open source software. The following people have contributed to this plugin.


“Email Address Encoder” has been translated into 7 locales. Thank you to the translators for their contributions.

Translate “Email Address Encoder” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Made page scanner notice dismissable
  • Only show page scanner notice on Dashboard
  • Added setting for filter priority
  • Added EAE_DISABLE_NOTICES constant to disable all notices and promotions
  • Pass site URL along to page scanner
  • Moved cross-promotion to plugin screen


  • Added user interface
  • Added links to page scanner


  • Prevent potential compatibility issue with other plugins or themes


  • Added [encode] shortcode
  • Require PHP 5.3 to fix deprecation warning


  • Prevented error when eae_encode_emails() doesn’t receive a string


  • Added EAE_FILTER_PRIORITY constant to adjust default filter priority


  • Added filter to override the encoding function
  • Improved randomness of encode-function
  • Improved speed by doing fast @-sign existence check


  • Added filter to override the regular expression.


  • Effects now also page, post and comment excerpts


  • Initial release