Skip to main content
PUBLIC.INTERNET
⚡ Instant Access🔒 Privacy First🆓 Always Free📱 Works Everywhere

Email Encoder for Spam Protection

Paste your email safely on your portfolio without waking up to 500 spam messages. This HTML entity encoder converts plain text email addresses into obscure decimal/hex code (a@...) that renders normally for humans but looks like garbage data to spam-scraping bots. Choose from three encoding styles: Decimal, Hex, or Mixed (maximum protection). Free, no signup required. Use Email Encoder when you need answers fast during debugging, reviews, or incident triage. Paste your input, validate the output, then copy results into tickets or docs in seconds. Most processing runs in your browser, so you can test safely without unnecessary data exposure. Built for speed, clarity, and repeat use.

How to Use This Tool

  1. Step 1 - Enter your email address (e.g., hello@example.com)
  2. Step 2 - Choose encoding type: Decimal, Hex, or Mixed for best protection
  3. Step 3 - Copy the generated HTML code and paste it directly into your website's HTML

Why HTML Entity Encoding?

Spam bots scrape websites looking for plain text email addresses matching the regex pattern /[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}/. HTML entities convert each character to its numeric code (e.g., 'a' becomes a or a), breaking the pattern while rendering normally in browsers.

The tool supports three modes: Decimal (a), Hex (a), and Mixed (random combination for maximum obfuscation). Most bots don't decode HTML entities, making this a simple yet effective anti-spam technique.

Pro tip: For extra protection, wrap the encoded email in a <noscript> tag or use a contact form instead. Entity encoding won't stop advanced bots but blocks 90%+ of simple scrapers.