Email obfuscator
Convert email addresses to HTML entities or JavaScript-decoded links to deter spam bots from harvesting your address from web pages.
100% in your browser. Your email never leaves your device.
How to use
- Enter the email address you want to protect.
- Select an obfuscation format from the dropdown.
- Click Obfuscate to generate the protected HTML.
- Copy the output and paste it into your webpage source to replace the plain email address.
Common use cases
- Personal websites — display your contact email without it appearing in spam databases.
- Business contact pages — protect support emails from harvesting bots.
- Open source projects — protect maintainer emails in README files.
Also see: Tracking Pixel Detector and Strip HTML Tracking for more HTML privacy tools.
常見問題
- What is email obfuscation?
- Email obfuscation converts an email address into a format that is difficult for automated bots to parse but still renders correctly in a browser. The most common technique is replacing characters with their HTML entity equivalents (e.g. @ becomes @).
- Does HTML entity obfuscation actually stop spam?
- It stops most simple crawlers that look for literal "mailto:" links or "@" symbols. Sophisticated bots may decode HTML entities. Combining entity encoding with a CSS or JavaScript technique provides stronger protection.
- Will the email still work when clicked?
- Yes. Browsers decode HTML entities automatically, so the rendered mailto link is fully functional even though the raw HTML contains entities.
- Is my email address sent to any server?
- No. The conversion happens entirely in your browser. Nothing you type is transmitted anywhere.
- What is the ROT13 format?
- ROT13 is a simple letter substitution cipher that replaces each letter with the letter 13 positions later in the alphabet. Combined with JavaScript decoding, it hides the email from non-JavaScript bots.
- Which format should I use?
- For static HTML pages, use the HTML entities format. For JavaScript-enabled pages, the JavaScript-decoded format provides stronger protection. Use the data-attribute format for modern frameworks.
- How do I add this to my website?
- Copy the output HTML and paste it into your page source. Replace any existing plain-text mailto link with the obfuscated version.
- Can bots still find my email?
- No obfuscation technique is 100% effective. If privacy is critical, consider using a contact form instead of a mailto link, or a disposable email address that forwards to your real inbox.