Title: Anti-Spambot
Author: Robert Peake
Published: <strong>September 20, 2014</strong>
Last modified: July 13, 2021

---

Search plugins

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

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

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

# Anti-Spambot

 By [Robert Peake](https://profiles.wordpress.org/robertpeake/)

[Download](https://downloads.wordpress.org/plugin/antispambot.1.1.6.zip)

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

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

## Description

Obfuscation of email via the `[email]...[/email]` shortcode syntax using built-in
[WordPress Codex](https://codex.wordpress.org/Function_Reference/antispambot#Examples)
functionality.

Alternative variations:

 * `[email]user@example.com?subject=foo+bar&body=baz[/email]` creates a mailto: 
   link with subject and body pre-populated
 * `[email nolink=1]user@example.com[/email]` just displays the email without a 
   link wrapping it
 * `[email linktext="click here"]user@example.com[/email]` displays the text “click
   here” with a link to the email address

## Screenshots

 * [[
 * Use the `[email]...[/email]` tag to wrap your email input
 * [[
 * This will display as an email address wrapped in a mailto: hyperlink (i.e. clickable
   to open a mail client)
 * [[
 * The source code used to render this involves randomly-encoded characters, making
   it more difficult for spambots to harvest

## Installation

Install via “Add Plugin”.

## FAQ

### How does this work?

This plugin converts email addresses within the `[email]...[/email]` shortcodes 
using the built-in WordPress Codex [antispambot()](https://codex.wordpress.org/Function_Reference/antispambot)
function. The function converts email address characters to HTML entities. It converts
a random selection of characters each time, making it more difficult for spam-bots
to “harvest” the email address programmatically.

### Is it foolproof?

The only foolproof way to ensure email addresses do not get harvested from a web
page is to not include them on the page in any form. However, the method created
by the WordPress developers that we employ here should provide reasonable protection
against all but the most concerted automatic-harvesting efforts.

## Reviews

![](https://secure.gravatar.com/avatar/d1ad368c4223ef32f55673871416baa98766644e33959831f17bf1d8242dce1d?
s=60&d=retro&r=g)

### 󠀁[Simple; easy to use!](https://wordpress.org/support/topic/simple-easy-to-use-49/)󠁿

 [Jana](https://profiles.wordpress.org/janajanasnydercom/) December 9, 2018

Users: For details about how to insert a subject line, body content, or how to use
your name (or any other text) for the link text, see the thread by Ma3ry in support.
Thanks for making this easy-to-use, elegant solution!

![](https://secure.gravatar.com/avatar/5eaa86ccb15ea1c528e7ea7ef7756119411cd9ec6c25dbd6c52909b8b017272c?
s=60&d=retro&r=g)

### 󠀁[Works perfectly on 10 different sites / 3 different hosting-services](https://wordpress.org/support/topic/works-perfectly-on-10-different-sites-3-different-hosting-services/)󠁿

 [presscode](https://profiles.wordpress.org/saschinger/) July 21, 2018 1 reply

Best in class 😉

![](https://secure.gravatar.com/avatar/b2351bfa718cf10e36825036a8f73ab522fa2660ce11d19f044323a9be591cd8?
s=60&d=retro&r=g)

### 󠀁[Awesome Plugin with Terrific Support!](https://wordpress.org/support/topic/awesome-plugin-with-terrific-support/)󠁿

 [ma3ry](https://profiles.wordpress.org/ma3ry/) September 3, 2016 1 reply

This plugin does exactly what it’s supposed to do EASILY! Developer has also added
new features which have been really helpful to me. Many, many thanks!

 [ Read all 5 reviews ](https://wordpress.org/support/plugin/antispambot/reviews/)

## Contributors & Developers

“Anti-Spambot” is open source software. The following people have contributed to
this plugin.

Contributors

 *   [ Robert Peake ](https://profiles.wordpress.org/robertpeake/)

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

### Interested in development?

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

## Changelog

 * 1.1.5 – Tested with WordPress 5.3
    - 1.1.5 – Tested with WordPress 5.2
    - 1.1.4 – Tested with WordPress 5.1
    - 1.1.3 – Tested with WordPress 5.0
    - 1.1.2 – Tested with WordPress 4.9.5
    - 1.1. – Added support for ?subject= strings, nolink= shortcode attribute (just
      print) and linktext= shortcode attribute to specify link text
    - 1.0 – upgraded to stable version after eight months in the wild
    - 0.1-alpha – Initial release

## Meta

 *  Version **1.1.6**
 *  Last updated **5 years ago**
 *  Active installations **600+**
 *  WordPress version ** 3.0.1 or higher **
 *  Tested up to **5.8.13**
 *  Language
 * [English (US)](https://wordpress.org/plugins/antispambot/)
 * Tags
 * [comments](https://frp.wordpress.org/plugins/tags/comments/)[spam](https://frp.wordpress.org/plugins/tags/spam/)
 *  [Advanced View](https://frp.wordpress.org/plugins/antispambot/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  5 5-star reviews     ](https://wordpress.org/support/plugin/antispambot/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/antispambot/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/antispambot/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/antispambot/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/antispambot/reviews/?filter=1)

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

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

## Contributors

 *   [ Robert Peake ](https://profiles.wordpress.org/robertpeake/)

## Support

Got something to say? Need help?

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