How to use the email obfuscator
- 1Enter the address and the text the link should show.
- 2Compare the methods and pick one.
- 3Copy the code into your page.
Choosing a method
HTML entities replace each character with a numeric code. Browsers display the address normally; simple scrapers that search the raw page for an @ sign miss it. It needs no JavaScript and is the right default.
The JavaScript method assembles the address in the visitor's browser, so it never appears in the page source, which stops scrapers that do decode entities. Visitors without JavaScript see a fallback. The CSS method reverses the text visually and resists copying by bots, but the address cannot be a link.
Questions about the email obfuscator
Does obfuscation stop all spam?
No. It defeats the simple harvesters that account for most scraping. A scraper that runs a full browser sees what a person sees. For full protection, use a contact form instead of an address.
Does it affect accessibility?
The entity and JavaScript methods read normally in screen readers. The CSS reversal method does not, so avoid it where accessibility matters.
Is the address I enter stored?
No. The code is generated in your browser.