Email Encoder – Protect Email Addresses and Phone Numbers

Mô tả

Full site protection for your email addresses from spam-bots, email harvesters and other robots. No configuration needed.
It also protects phone numbers or any other text using our integrated [eeb_protect_content] shortcode or href attribute encoding.


  • Full page protection for all of your emails
  • Instant results (No confiruation needed)
  • Protects mailto links, plain emails, email input fields, RSS feeds and much more
  • Protect phone number links, ftp, skype, file and other custom link attributes
  • Autmoatic protection technique detection (Our plugin chooses automatically the best protection technique for each email)
  • Exclude posts and pages from protection
  • Automatically convert plain emails to mailto-links
  • Automatically convert plain emails to png images
  • Supports rot13 encoing, escape encoding, CSS directions, entity encoding and much more
  • Deactivate CSS directions manually for browser backwards compatibility
  • Shortcode support: [eeb_protect_emails], [eeb_protect_content], [eeb_mailto], [eeb_form]
  • Template tag support: eeb_protect_emails(), eeb_protect_content(), eeb_mailto(), eeb_form()
  • Protect phone numbers (or any text or html)
  • Also supports special chars, like é, â, ö, Chinese characters etcetera
  • Use the Encoder Form to manually create encoded scripts


  • The plugin works with mostly any theme and plugin. Some special ones need special treatment. Down below you can learn more about that.
  • Compatible with the Maintenance plugin from WP Maintenance
  • Divi Theme is fully integrated as well
  • Jetpack Image carousel is compatible as well

Free Website Check

We offer you a free tool to test if your website contains unprotected emails. You can use our website checker by clicking here

Easy to use

After activating the plugin all email addresses on your website will be protected out-of-the-box.
We also offer custom shortcodes and template functions to protect phone numbers or other text.

Hỗ trợ

Like this plugin?

Please Review it


Ảnh màn hình

  • Admin Options Page
  • Check encoded email/content when logged in as admin
  • Email Encoder Form on the Site

Cài đặt

  1. Go to Plugins in the Admin menu
  2. Click on the button Add new
  3. Search for Email Encoder and click ‘Install Now’ or click on the upload link to upload
  4. Click on Activate plugin
  5. You will find the settings page unter “Settings -> Email Encoder” within your admin dashboard

Hỏi đáp

How can I test if an email address (or other content) is encoded?

You can test this in three different ways.

The easiest (and most efficient) way is to use our website checker, which looks over your website and detects unprotected emails. It is completely free and you can find it here on our website.

The second possibility is to enable the plugin option (in the admin panel) called “Security Check”.
When you are logged in and look on the page there will be a icon on the right side of each email address confirming it was successfully encoded. (This counts only for emails that are displayed within the body tag as HTML. Emails within data attributes or the header won’t show this icon since otherwise the site breaks.)

The third possibility is to check the source code yourself by right-clicking on the page and select View Source Code (the exact text depends on the browser).
Now your (real) source code will be shown. Your email address should not be shown in a readable way in the source.

Important: in the element inspector of the browser the email address is nearly always shown, so don’t worry about that. That is because the inspector shows a real time representation of the page. This means an encoded email address is already decoded and made usable for the visitor of the page.

How do I encode my email address(es)?

All email addresses are protected automatically by default, so it is not necessary to configure anything else.

In case you wish to customize it, we also offer some neatsettings, shortcodes and template functions. Please check the settings page within your WordPress website or our documentation

The visitors will see everything as normal, but the source behind it will now be encoded.

For more information, please check out the following page

How do I encode phone numbers or other text?

Just use the following shortcode within your posts:

For other parts of your site you can use the template function eeb_protect_content().

My website looks broken after activating the plugin. What to do?

First: Don’t panic!
Simply create a support request within the support forum and we will come back to you as soon as possible with help.

How can I encode content of BBPress, WP e-commerce or other plugins?

Every content will be automatically protected. In case you find something, that doesn’t work from your end, we are very happy to help!
Our plugin is fully compatible with WP Webhooks and plugins created via Pluginplate

Can I use special characters (like Chinese)?

Yes, since version 1.3.0 also special characters are supported.

Đánh giá

26 Tháng Bảy, 2023
Un plugin bien utile quand on veut laisser visible une adresse mail mais quand même la protégée. Simple et plutôt efficace. Je n'ai pas pour le moment constaté de contournement par les spameurs.
23 Tháng Sáu, 2023 1 reply
I had initially rated this plugin with one star because it was no longer compatible with the AVADA theme after an update. Now I change my rating to 5 stars because the developer tried very hard to fix the problem, and it is now finally fixed.
7 Tháng Sáu, 2023
One of the most essential Plugins for wordpress. A ton of features. Love it. 10000 thanks to the author! (there is a little problem with wpml when it comes to translation management. wpml support is aware and a workaround exist. Ask them)
10 Tháng Năm, 2023 3 replies
EDITED: I've used this plugin for years, and it is vital to the security of my inbox. I had previously had some issues with plugin compatibility and it was my fault, but the developer was friendly and helpful.
14 Tháng Tư, 2023
brilliant works well and does precisely what I need, thanks for the dev
20 Tháng Ba, 2023 6 replies
I used this plugin on ALL of my websites, but ran into many compatibility issues, that you would never expect are caused by this plugin. Only after disabling all plugins one by one, I came to the conclusion that this plugin is causing the manyfold problems. Beeing it, that you cannot use the Automatic Translation Editor from WPML (this plugins blocks the API connection), beeing it that dynamic input fields and labels cannot be translated with WPML in Elementor, or that it breaks the complete layout. So: If you are using WPML AND/OR Elementor, do not use this plugin.
Đọc tất cả 73 đánh giá

Người đóng góp & Lập trình viên

“Email Encoder – Protect Email Addresses and Phone Numbers” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“Email Encoder – Protect Email Addresses and Phone Numbers” đã được dịch qua 2 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “Email Encoder – Protect Email Addresses and Phone Numbers” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

2.1.8: August 27, 2023

  • Security Patch for XSS vulnerability within the [eeb_mailto] shortcode when using the “email” tag (Thanks to Wordfence)

2.1.7: June 23, 2023

  • Tweak: Provide compatibility with the Avada Builder

2.1.6: May 10, 2023

  • Tweak: Provide compatibility with Bricks Builder
  • Tweak: Optimized performance for integrations

2.1.5: May 10, 2023

  • Feature: New advanced settings to protect admin and ajax requests
  • Feature: New advanced setting to enable the Email Encoder form within the frontend
  • Tweak: Better validation for script tags
  • Tweak: Changed old links from to
  • Tweak: Optimzied the Encoder Form logic to save performance
  • Tweak: Various performance optimizations
  • Tweak: Deprecated the “Activate the encoder form” setting
  • Fix: In some occasions, backenbd sites did not work correctly with buffered content

2.1.4: April 06, 2023

  • Provided compatibility for HTML attributes that start with an @ character ()
  • Excluded additional file types from auto-encoding of images containing the @ sign: webp, bmp, tiff, avif
  • Deprecated the widget filter as it was of no use anymore
  • Fix deprecated preg_split message about the $limit set to null

2.1.3: February 04, 2021

  • Tweak: Email Encoder runs now on its own website:
  • Tweak: The eeb_mailto function now supports the default encoding methods if no specific method is given
  • Tweak optimized text and descriptions
  • Fix: Prevent error with undefined $id_base property

2.1.2: July 30, 2021

  • Fix: Prevent notice on undefined post within the global object
  • Fix: Revalidate Display Text for the frontend encoder form (via [eeb_form] or eeb_form();) to prevent userbased cross site scripting
  • Fix: Fatal error if the content was not given
  • Tweak: Centrlalized encoding icon for a better usability
  • Dev: New filter eeb/validate/get_encoded_email_icon to cusotmize the encoding icon

2.1.1: April 07, 2021

  • Tweak: Added svg images to the image exclude list
  • Dev: New filter eeb/validate/excluded_image_urls to filter the excluded image list


  • Feature: New advanced setting to automatically protect custom link attributes such as tel:, file:, ftp:, skype:, etc. (Protect custom href attributes)
  • Tweak: Adjust JS documentation
  • Tweak: Adjust readme file


  • Fix: Issue with not properly validated soft-encoded attribute tags on the dom attributes
  • Fix: Issue with not properly validated soft-encoded attributes on special softencoded tags for the content filter
  • Tweak: Optimized performance for soft attribute filtering
  • Dev: Added new filter to allow customization of the mailto text:


  • Feature: The shortcode [eeb_protect_content] now supports a new attribute called do_shortcode=”yes” which allows you to execute all shortcodes within the given content area
  • Tweak: Add new link for the Email Checker (Allows you to check if all of your emails are being encoded)
  • Tweak: Optimize layout and texts
  • Fix: The documentation link on the settings page was not working
  • Dev: The eeb/frontend/shortcode/eeb_protect_content filter now contains a new variable called $original_content (


  • Feature: Underline emails that are converted to an image (Cutsomizable)
  • Feature: Integration for the Google Site Kit plugin –
  • Feature: Integration for the events calendar plugin –
  • Tweak: Softening the regex to recognize spaces before the closing tags


  • Feature: We fully removed all external marketing advertisements! Enjoy our plugin without distrations! 🙂
  • Feature: Full support for Oxygen builder
  • Tweak: Optimize PHPDocs and comments
  • Tweak: Optimize is_post_excluded functionality
  • Dev: New filter: eeb/validate/filter_page_content –
  • Dev: New filter: eeb/validate/filter_content_content –
  • Dev: New filter: eeb/validate/is_post_excluded –
  • Dev: New filter: eeb/settings/pre_filter_fields –


  • Feature: Soft-Encode all HTML tags + new settings item (This will prevent complex plugins from breaking)
  • Dev: New filter for randomization of javascript escaping methods


  • Feature: Exclude script tags from being encoded
  • Fix: Revalidate and strip escape sequences for encode_escape function
  • Fix: Return shortcode content of eeb_mailto instead of outputting it


  • Feature: Integration for Divi Theme included
  • Tweak: Optimize Jetpack integration to also filter against image attribute description tags
  • Tweak: Soft-filter html placeholder tags
  • Tweak: Allow template tags to work as well with the plugin settings set to “Do nothing”
  • Fix: Only one match of the soft attributes was soft encoded properly
  • Fix: The escape js function stripped away all zeros from emails


  • Feature: New settings item to include custom scripts within the footer and not in the header
  • Feature: Support for the “Maintenance” plugin from WP Maintenance
  • TweaK: Remove our main translation handler to make plugin translations on available again.
  • Tweak: Optimize PHP code to WordPress standards
  • Tweak: Enqueue dashicons as well if only “show_encoded_check” is checked and protection is set to “Do nothing”
  • Tweak: Make eeb_mailto link available with protection set to “Do nothing” as well
  • Fix: WP CLI did not work with this plugin in an active state (Due to the active buffer filter)
  • Fix: Emails have been not encoded properly if “Do nothing” was chosen as a setting and the eeb_mailto shortcode was used


  • Fix: Include missing template functions requirement
  • Tweak: Clear languages


  • Feature: Completely rewritten version of your beloved plugin
  • Feature: Introduce FULL SITE PROTECTION (Automatically protect ALL emails within your page)
  • Feature: Simplified settings (We cleaned the settings a lot, but you can still get some your old settings page back by activating the advanced checkbox 🙂 )
  • Feature: Feature to automatically detect the best protection method
  • Feature: Choose from four new settings the strength of your protections
  • Feature: Added admin security check icon to encoded input fields and encoded plain emails/texts, as well as to all shortcodes
  • Feature: Also protect every single shortcode content
  • Feature: Create images out of email addresses
  • Feature: Protect header section automatically
  • Feature: Added and refactored shortcodes. For a full list of shortcodes, please check this article:
  • Feature: Setting to deactivate the Encoder Form completely
  • Feature: Choose converting plain emails to mailto links as an additional feature
  • Feature: Change filter apply from “wp” to “init” (This allows you to also grab some ajax values to parse them directy encoded)
  • Feature: Website checker to search your site for unprotected emails. Follow this URL for more information:
  • Tweak: Backward compatibility to the new plugin settings
  • Tweak: Completely performance optimized (We removed everything that is not necessary, included a better object caching and much more)
  • Tweak: Optimized filter combinations
  • Fix: The old logic broke some email encodings, especially with custom tags. We fixed all of them
  • Fix: We fixed tons of bugs from the previous version
  • Dev: Code rewritten on the newest WordPress standards
  • Dev: Tons of new WordPress filters and actions. For a full list, please check
  • Deprecated: We removed the deprecated functions. Please make sure to update your custom logic to the newest standards.


    • The plugin will be simplified using automatically the best protection for your site
    • The plugin will protect yout site out-of-the-box
    • We introduce a site-wide protection, not only based on WordPress shortcodes (This includes protection for your FULL site)
    • You will be able to choose the protection type. Available will be: Automatically (using Javascript), Automatically (Without Javascript), Protection Text, Entity encode
    • The plugin structure will be optimized using the current WordPress standards
    • Switch between full site protection and only WordPress filters
    • (Optional) Protect emails by converting them to PNG images (where applicable)
    • Round-robin method for javascript based protection (Choose the best method automatically from similar protection methods)
    • Tons of bugfixes
    • All settings will be fully compatible in any combination
    • The encoding form will continue to exists
    • All settings that have been available in the old version and will be available in the new version are backwards compatible
    • Display admin notice to all encoded emails (where applicable)
  • ###################
  • Tweak: Introduce our new partner MailOptin


  • Tweak: Add popup window for admin success message of hidden email
  • Fix: Fix bug for non-available antispambot() function
  • WP Webhooks takes over development (


  • 2019-03-25
  • minor bug fixes
  • 161,000 downloads; 30,000 installs


  • Fixed bug retina png and gif images


  • Fixed ? params bug


  • Fixed skip responsive images containing @


  • Changed content


  • Fixed potential xss vulnerability



  • Fixed bug prefilled email address in input fields
  • Added option protection text for encoded content (other than email addresses)


  • Also support special chars for the javascript methods, like é, â, ö, Chinese chars etcetera
  • Fixed bug unchecking options “use shortcode” and “use deprecated”


  • Fixed bug index php error


  • Added filter for Encoder Form content (eeb_form_content)


  • Added filters for changing regular expression for mailto links and email addresses
  • Fixed bug don’t encode when loading admin panel


  • Fixed bug wrong “settings” link
  • Fixed bug removing shortcodes RSS feed


  • Fixed PHP support (same as WordPress)


  • Fixed bug deleting setting values when unregister (will now be deleted on uninstall)
  • Fixed bug also possible to set protection text when RSS disabled
  • Fixed bug saving metaboxes settings
  • Added option support shortcodes in widgets
  • Added option removing shortcodes for RSS feed
  • Removed “random” method option
  • Changed names for action and shortcode (prefixed with eeb_), optional the old names will still be supported
  • Added template function for creating the encoder form
  • Changed class en id names of the Encoder Form


  • Added screen settings
  • Registered metaboxes
  • Fixed bug random method
  • Workaround for display with special characters (like Chinese), works only with enc_html


  • Option to make own menu item (in admin panel) for this plugin
  • Option for showing “successfully encoded” check
  • Fixed bug showing errors for calling wrong translate function
  • Fixed bug always showing encoded check on site (for html encode method)
  • Added workaround for saving disabled checkboxes in options table
  • Fixed bug where encoded check was also applied on output of encoding form


  • Fixed bug with extra params
  • Changed texts and added help tabs on admin options page
  • Changed visual check for encoded mails/content by showing icon and success message
  • Solved that all attributes of mailto links remain when encoding


  • Added hook “init_email_encoder_form” to add custom filters (of other plugins)
  • Added JavaScript code encapsulation for ASCII method
  • Solved reinstalling bug for setting right encoding method
  • Fixed bug shortcodes encoded with HTML method


  • Added encode method for all kind of contents (template function and shortcode “encode_content”)
  • Added extra param for additional html attributes (f.e. target=”_blank”)
  • Added option to skip certain posts from being automatically encoded
  • Added option custom protection text
  • Removed “method” folder. Not possible to add own methods anymore.
  • Other small changes and some refactoring


  • Widget Logic options bug


  • Fixed bug by improving regular expression for mailto links
  • Changed script attribute language to type
  • Script only loaded on options page (hopefully this solves the dashboard toggle problem some people are experiencing)
  • Added support for widget_content filter of the Logic Widget plugin


  • Added option for setting CSS classes
  • Improved RSS protection
  • Removed Lim_Email_Encoder class (now all handled by the main class)
  • Enabled setting checkbox for filtering posts
  • Fixed PHP / WP notices
  • Added param for encode methods: $obj


  • Fix IE bug
  • Bug plain emails
  • Optional “method” param for tag and template function, f.e. [encode_email email=”” method=”ascii”]
  • Small adjustments


  • Fixed tiny bug (incorrect var-name $priority on line 100 of email-encoder-bundle.php)


  • Added protection for emails in RSS feeds
  • Improved filtering tags [encode_email … ]
  • Improved ASCII and Escape method and added noscript message
  • Solved an option bug (encode mailto links VS encode plain emails)
  • Made some cosmetical adjustments on the options page
  • Code refactoring


  • First decodes entities before encoding email
  • Added more wp filters for encoding


  • Changed Encoder Form: HTML markup and JavaScript
  • Made some minor adjustments and fixed little bugs


  • Implemented internalization (including translation for nl_NL)
  • Improved user-interface of the Admin Settings Page and the Encoder Form
  • Added template function: encode_email_filter()
  • Kept and added only high-quality encoding methods
  • Refactored the code and changed method- and var-names within the classes
  • Removed 3rd param $encode_display out of the encoding methods, display should always be encoded
  • Added prefix ‘lim_email_’ to the encoding methods


  • Nothing changed, but 0.11 had some errors because /methods directory was missing in the repository.


  • also possible to use encode tag in widgets by activating the “filter widget” option


  • Works with PHP4 and PHP5
  • Methods: default_encode, wp_antispambot, anti_email_spam, email_escape, hide_email
  • Use the tags: [email_encode email=".." display=".."], [email_encoder_form]
  • Template function: email_encode()