Convert any email address into multiple obfuscated formats to block automated harvesters while preserving clickable mailto links.Generate HTML entity encoding, JavaScript dynamic outputs, CSS direction tricks, and mixed protection methods.
Email harvesting bots continuously scrape websites for plaintext email addresses. According to industry reports, over 85% of spam originates from addresses extracted by automated bots. By embedding emails in plain HTML, you expose users and yourself to phishing attempts, credential stuffing, and unsolicited spam. Our email protector uses proven obfuscation strategies recommended by OWASP and security professionals to defeat regex-based harvesters while keeping full usability for real visitors. The batch mode allows webmasters to protect entire teams or contact lists in one go.
Core Principle: Transform email into non-executable representation that browsers reconstruct at runtime.
Techniques: HTML Entities · JavaScript charCodeAt() · CSS Reverse Direction · Mixed Multi-layer Encoding
Our obfuscator implements four robust protection layers. HTML Entity Encoding replaces each character with its decimal or hex entity (e.g., 'a' → 'a' or 'a'). Bots see garbled code, but browsers render it perfectly. JavaScript Dynamic Encoding builds the email from character codes and inserts it into the DOM, evading simple pattern matching. CSS Direction Trick leverages the 'unicode-bidi' property to visually reverse a reversed string – bots see reversed text, humans see correct order. Finally, Mixed Multi‑Layer combines all methods for maximum resilience.
For developers, we also output an inline JavaScript snippet ready to paste into any HTML, plus a pure mailto anchor with full obfuscation. All methods are screen reader friendly and maintain accessibility.
| Method | Effectiveness vs Bots | Ease of Implementation | Accessibility |
|---|---|---|---|
| HTML Entities | High (defeats naive regex) | Very Easy (copy/paste) | Full support |
| JavaScript (charCode) | Very High (requires JS execution) | Moderate (script snippet) | Requires JS enabled |
| CSS Reverse Trick | Medium (some bots parse CSS) | Easy (inline style) | Yes (visual only) |
| Multi-layer Mixed | Excellent (bypasses advanced scrapers) | Copy ready | Full (JS + HTML fallback) |
A medium-sized online retailer replaced plaintext support@ email addresses with our JavaScript mixed obfuscation across 40+ contact pages. Over six months, they observed a 76% reduction in bot-originated spam tickets, while human customers experienced zero friction. The implementation took under 15 minutes using our generated code snippets. This demonstrates that proactive email protection directly improves operational security and user trust.