EmailObfuscation by Roope

Email Obfuscation module for email addresses with 64 base crypting.

ProcessWire Email Obfuscation (EMO)

Email Obfuscation module for email addresses with 64 base crypting

This module finds all plaintext emails and email links from the document and replaces them with noscript elements with configurable replace text. All the addresses are encoded to 64 base strings and stored in noscript data attributes. Then on client side we decode these strings back to their original state.


Install this module using standard install procedure in ProcessWire.


After install you can find some configurable options on module admin page.

Replace text string

Transliterable text string used as a replace to obfuscated email address.

Obfuscation mode

There is three modes available for this module to handle obfuscation.

  1. Obfuscate manually by using $sanitizer->emo($str) method.
  2. Obfuscate automatically at selected templates/pages.
  3. Obfuscate automatically but exclude selected templates/pages (default).

JavaScript loading method

  1. Load file manually.
  2. Load file to $config->scripts array.
  3. Append automatically to page as external script (default).
  4. Append automatically to page as inline script.

Force mailto

By enabling force mailto option all email addresses are rendered as mailto links regardless of their original state.

Fixed encrypt key

When enabled encryption key is locked and does not change. By default encryption key updates on every session. Fixed key is required when you cache obfuscated AJAX output for more than session lifetime.


Appends debug data to HTML and console output.

Selected Templates / Pages

List of selected templates/pages that are used to include or exclude at automatic obfuscation.


This is ProcessWire module fork from MODX Evolution plugin.


MIT License

Install and use modules at your own risk. Always have a site and database backup before installing new modules.

Twitter updates

  • ProcessWire 3.0.185 (dev) core updates, plus new Session Allow module— More
    17 September 2021
  • Three new ProcessWire Textformatter modules: Find/Replace, Markdown in Markup, and Emoji— More
    3 September 2021
  • This week we have a new master version released after a year in the making. With nearly 40 pull requests, hundreds of new additions and more than 100 issue reports resolved, this new version has a ton of great new stuff— More
    27 August 2021

Latest news

  • ProcessWire Weekly #385
    In the 385th issue of ProcessWire Weekly we'll cover the latest weekly update from Ryan, check out a new fieldtype module called Page Reference Context Data, and more. Read on! / 25 September 2021
  • ProcessWire 3.0.184 new master/main version
    This week we have a new master/main version released after a full year in the making. As you might imagine, this new version has a ton of great new stuff and we’ll try to cover much of it here.
    Blog / 27 August 2021
  • Subscribe to weekly ProcessWire news

“ProcessWire is like a breath of fresh air. So powerful yet simple to build with and customise, and web editors love it too.” —Margaret Chatwin, Web developer