Skip to content
Select theme
Get Started

Email Obfuscator

Summarize with AI

Email Obfuscator automatically protects visible email addresses and mailto links from basic spam bots by safely encoding them while keeping them clickable for visitors.

  • Runs on the front end only (skips admin and feeds).
  • Processes content filters such as the_content, the_excerpt, comment_text, widget text/blocks, nav menu markup, render_block, and WooCommerce short description when WooCommerce is active.
  • Obfuscates mailto: hrefs in nav menu link attributes.
  • Does not claim to stop advanced scrapers that execute JavaScript or decode entities aggressively.
  • RSS/feed output is intentionally left readable for feed readers.

Enable it if:

  • Contact emails appear in page content, widgets, or menus.
  • You want lightweight harvesting resistance without a third-party service.
  • You prefer encoding over removing addresses from the site.
  1. Go to WP PowerSuite -> Modules.
  2. Open Security or search for “Email Obfuscator”.
  3. Toggle Email Obfuscator on.
  • Place a plain email and a mailto link in a published page.
  • View the page while logged out and inspect the HTML source.
  • ✅ Pass: the address is encoded in HTML but still works when clicked in the browser.
  • Open the post feed.
  • ✅ Pass: feed content is not obfuscated.
  • ❌ Fail: confirm the module is on and the email is output through a supported content filter (not a raw theme echo that never hits those hooks).
  • Email still plain in source. Theme may print the address outside filtered content - use a shortcode/block that goes through the_content or extend filters via wp_powersuite_email_obfuscator_content_filters.
  • Builder content unchanged. Some builders bypass standard filters; test the rendered front-end HTML.
  • Need to exclude one email. Use wp_powersuite_email_obfuscator_should_obfuscate.

Prefer the command line? You can turn this module on or off with WP-CLI instead of the dashboard:

Terminal window
# Turn the module on
wp powersuite module enable email-obfuscator
# Turn the module off
wp powersuite module disable email-obfuscator
# Check whether it is on, its category, and where its settings live
wp powersuite module get email-obfuscator

Managing more than one site? Add --url=https://example.com to point a command at one site. If this is a Pro module, install WP PowerSuite Pro and activate your license first. New to WP-CLI? See the full command guide.

What does Email Obfuscator do?

It encodes visible emails and mailto links in front-end HTML so basic bots have a harder time harvesting them.

Is Email Obfuscator free?

Yes. Enable it under WP PowerSuite -> Modules.

Does it change RSS feeds?

No. Feed output is skipped so syndicated content stays readable in feed readers.

Does Email Obfuscator need configuration?

No. It is a simple on/off toggle.

How do I turn Email Obfuscator off?

Go to WP PowerSuite -> Modules, find Email Obfuscator, and toggle it off.

Developer notes (hooks & filters)

Source: modules/email-obfuscator/module.php. Boot: display · context: frontend.

Filters: wp_powersuite_email_obfuscator_content_filters, wp_powersuite_email_obfuscator_should_process, wp_powersuite_email_obfuscator_should_obfuscate, wp_powersuite_email_obfuscator_output, plus content hooks listed above and nav_menu_link_attributes.