Source: spencermortensen.com | Rating: ★★★★☆ High Quality

Email obfuscation: What works in 2026?

Last updated: January 30, 2026 | Tested against 318 spammers

Key Finding: JS AES encryption, HTML SVG, CSS display:none, and JS user interaction all block 100% of email harvesters.

Best Techniques for Plain Text Emails

TechniqueBlock RateNotes
HTML SVG100%Email in SVG object, harvesters don't look here
CSS Display none100%Split email with decoy spans, harvesters can't apply styles
JS AES encryption100%AES 256 encrypted, only browser can decrypt
JS User interaction100%Reveal on click/hover, raises bar for harvesters
JS Conversion100%Gibberish in HTML, custom function restores
HTML Entities95%Simple but stops most basic harvesters
HTML Comments98%Break up email with HTML comments

Best Techniques for Clickable Links

TechniqueBlock RateNotes
HTML HTML entities100%Encode mailto: link characters
HTTP redirect100%Use server-side redirect
HTML SVG100%Link inside SVG object
JS Concatenation100%Build URL from pieces in JS

Key Insights

Use multiple techniques: Split email into segments, protect each with different technique. If one fails, others still work.
CSS display:none is excellent: Most harvesters can't apply style rules, so they can't find email hidden with CSS. Use varying decoy tags so harvesters don't know which parts to remove.
JS conversion is elegant: HTML contains gibberish. Custom function converts gibberish to real email. Only browsers with DOM+JS can restore it.
Breaks usability: Techniques like "symbol substitution" (AT/DOT) and "instructions" (remove .fluff) inconvenience users and may prevent them from contacting you.

Methodology

Tested against 318 real spam harvesters to determine effectiveness. Results published January 2026.


Explored: 2026-04-02 | Category: privacy | Tags: email, spam, security