Email Address Encoder

Description

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

To see whether all your email addresses are properly protected, use the free page scanner tool.

Other content (like phone numbers) can be protected using [encode] shortcode:

[encode]+1 (555) 123-4567[/encode]

Premium Features

  • Full-page protection that catches all email addresses
  • Hardened protection using JavaScript and CSS techniques
  • Built-in plugin support for ACF, WooCommerce and many others

Check out the Premium version of Email Address Encoder.

Screenshots

  • Settings: Configure the plugin to your needs.
  • Protection: This is how email addresses will look like under the hood.
  • [Premium] Hardened protection: A preview of JavaScript and CSS based techniques

Installation

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.

FAQ

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 see whether all your email addresses are protected. Alternatively, you can manually look at the “page source” of your site.

Please note: Chrome’s Developer Tools, Safari’s Web Inspector and others automatically decode decimal and hexadecimal entities. You need to look at the “plain HTML source code”.

How can I filter other parts of my site?

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

Reviews

Doesn’t work now that they’ve added a “pro” version

This used to be a really lightweight and simple plugin that just worked. However, since a recent update, there’s now the ability to upgrade to a ‘pro’ version. Having create the pro version, they’ve added new limitations to the free one and it no longer works on my website! I’ve also begun to receive spammy ‘upgrade’ emails – marketing messages that I don’t recall signing up to.

Not using this again – and certainly will not be upgrading to the pro version!

Sadly it stopped working [SOLVED]

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.

Contributors & Developers

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

Contributors

“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.

Changelog

1.0.12

  • Avoid fatal error when using PHP 5.3 or lesser

1.0.11

  • Added the ability to get notified when your site contains unprotected email addresses
  • Made EAE_DISABLE_NOTICES check stricter
  • Removed cross-promotion

1.0.10

  • Added option to disable notices and promotions
  • Added activation and uninstall callbacks
  • Added $hex parameter to eae_encode_str() method
  • Added ability to turn off email encoding
  • Various code and UI improvements

1.0.9

  • 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

1.0.8

  • Added user interface
  • Added links to page scanner

1.0.7

  • Prevent potential compatibility issue with other plugins or themes

1.0.6

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

1.0.5

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

1.0.4

  • Added EAE_FILTER_PRIORITY constant to adjust default filter priority

1.0.3

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

1.0.2

  • Added filter to override the regular expression.

1.0.1

  • Effects now also page, post and comment excerpts

1.0

  • Initial release