Title: Spamex
Author: SuccessMedia
Published: <strong>March 19, 2025</strong>
Last modified: April 8, 2025

---

Search plugins

![](https://ps.w.org/spamex/assets/banner-772x250.png?rev=3259000)

![](https://ps.w.org/spamex/assets/icon-256x256.png?rev=3258757)

# Spamex

 By [SuccessMedia](https://profiles.wordpress.org/successmedia/)

[Download](https://downloads.wordpress.org/plugin/spamex.1.6.3.zip)

 * [Details](https://wordpress.org/plugins/spamex/#description)
 * [Reviews](https://wordpress.org/plugins/spamex/#reviews)
 *  [Installation](https://wordpress.org/plugins/spamex/#installation)
 * [Development](https://wordpress.org/plugins/spamex/#developers)

 [Support](https://wordpress.org/support/plugin/spamex/)

## Description

**Spamex** provides a shortcode to obfuscate email addresses and phone numbers in
HTML. This protects them from scraping bots while staying readable for users.

### Examples:

 * `[spamex email="name@domain.tld" key="secret"]`
 * `[spamex phone="+1!123!456"]`

### How it works:

**Email:**
 – The `key` is injected between domain and TLD. – Example: `name@domain
<b>.secret</b>.tld` (key is hidden via CSS)

**Phone:**
 – Format must be: `prefix!middle!suffix` – The `middle` part is replaced
by random digits. – Example: `+49!123!456`  `+49123<b>XYZ</b>456`

In both cases, the `<b>` part is hidden using CSS and only fools bots.

### Usage

### Email obfuscation:

[spamex email=”test@example.com” key=”protect”]
 test@example.protect.com

[spamex phone=”+49!123!456″]
 +49123984456

Use exactly two ! to split number into three parts.

## Installation

 1. Upload the `spamex` folder to `/wp-content/plugins/`
 2. Activate the plugin via WordPress > Plugins

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Spamex” is open source software. The following people have contributed to this 
plugin.

Contributors

 *   [ SuccessMedia ](https://profiles.wordpress.org/successmedia/)

[Translate “Spamex” into your language.](https://translate.wordpress.org/projects/wp-plugins/spamex)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/spamex/), check out
the [SVN repository](https://plugins.svn.wordpress.org/spamex/), or subscribe to
the [development log](https://plugins.trac.wordpress.org/log/spamex/) by [RSS](https://plugins.trac.wordpress.org/log/spamex/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.6.3

Public release

#### 1.6.2

FIX: Shorten version number to 6.7
 FIX: Prefix generate_random_number with spamex
FIX: Handle explode() false in PHP 8.x FIX: wp_get_custom_css() null fix for PHP
8.1

#### 1.0

Initial release

## Meta

 *  Version **1.6.3**
 *  Last updated **1 year ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 4.7 or higher **
 *  Tested up to **6.8.5**
 *  PHP version ** 5.6 or higher **
 * Tags
 * [antispam](https://wordpress.org/plugins/tags/antispam/)[email](https://wordpress.org/plugins/tags/email/)
   [phone](https://wordpress.org/plugins/tags/phone/)[shortcode](https://wordpress.org/plugins/tags/shortcode/)
   [spam](https://wordpress.org/plugins/tags/spam/)
 *  [Advanced View](https://wordpress.org/plugins/spamex/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/spamex/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/spamex/reviews/)

## Contributors

 *   [ SuccessMedia ](https://profiles.wordpress.org/successmedia/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/spamex/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://buy.stripe.com/3csdTnbBbd6wesM8wE)