Email Obfuscator

Protect your email address from spam bots. Generate obfuscated HTML code that displays normally for users.

Enter an email address above...

Features

  • Protects email addresses from spam harvesting bots
  • Generates a clickable mailto: link or text-only output
  • Email displays as plain text - no visual difference for users
  • JavaScript version (default): split Base64 encoding for better obfuscation
  • No-JS version: mixed encoding (decimal, hex, percent) for each character
  • Supports multiple email links on the same page
  • Copy generated code with one click
  • Works entirely in your browser - no data sent to servers

How to use

  1. Enter your email address
  2. Choose your options:
    • No JavaScript: uses HTML encoding instead of JS (wider compatibility, less protection)
    • Text only: outputs email as text without mailto: link
  3. Copy the generated HTML code
  4. Paste it into your website where you want the email to appear

How it works

JavaScript version (default): The email is encoded in Base64 and split into parts. A small inline script decodes and reassembles it, then replaces itself with the mailto: link. Bots that don’t execute JavaScript won’t see your email.

No-JS version: Each character is randomly encoded using different methods - decimal entities (a), hex entities (a), or percent encoding (%61). This mixed encoding makes pattern matching harder for bots while browsers render it normally.