"[email protected]" on a website: what it means, and why it hides your contact details
When a website shows "[email protected]" where an email address should be, Cloudflare is hiding the address from bots and putting it back in visitors' browsers with a script. Crawlers that do not run that script only see the placeholder. How it works, and two ways to fix it.
If a website shows "[email protected]" where an email address should be, nothing is broken. The site is behind Cloudflare, and Cloudflare is hiding the address from bots. In a normal browser a small script swaps the real address back in a moment later. Anything that does not run that script, including most AI crawlers, only ever sees the placeholder.
That second part is why it matters to a business. In our check of 315 small-business homepages, 14 showed their email address only through Cloudflare's obfuscation, and 208 (66%) had no email address in their HTML at all.
If you are a visitor
Click the "[email protected]" link, or reload the page with JavaScript enabled: the address appears. If it still does not, the site's own contact form or phone number is the next step.
If it is your site: how it works
The feature is called Email Address Obfuscation, part of Cloudflare's Scrape Shield, and Cloudflare switches it on automatically when you sign up (Cloudflare's documentation). As each page passes through Cloudflare, every visible email address in the HTML is swapped for a link reading [email protected], and a deferred script, email-decode.min.js, decodes them again in the visitor's browser.
So the HTML your server writes and the HTML the world receives are different. Where your page says hello@example.com, crawlers receive something like this:
<a href="/cdn-cgi/l/email-protection" class="__cf_email__"
data-cfemail="2d4548414142...">[email protected]</a>
The address is still in there, encoded in the data-cfemail attribute, but only the script knows how to read it.
Why it can hide you from AI assistants
Cloudflare does not say anything about search engines or AI here, so this part is our inference. In Vercel and MERJ's December 2024 study, the major AI crawlers did not run JavaScript. A crawler that does not run the decode script reads "[email protected]" and nothing else, so when someone asks ChatGPT or Claude how to contact your business, your own site cannot supply the answer.
We found this on our own site in October 2026: our contact address was being rewritten on every page. We fixed it with the comments below, and the address is now in the HTML as plain text.
Two ways to fix it
1. Exclude your contact details
Wrap the part of the page with your address in Cloudflare's off comments. Cloudflare leaves everything between them alone, and the rest of the page stays protected:
<!--email_off-->
<p>Email us: <a href="mailto:hello@example.com">hello@example.com</a></p>
<!--/email_off-->
In WordPress, put this in a Custom HTML block, or in your theme's footer template if the address appears on every page.
2. Turn the feature off
In the Cloudflare dashboard, under Scrape Shield (in some accounts, Security settings), switch off Email Address Obfuscation. Every address on the site is then plain text. You will get somewhat more spam, so pair it with a decent spam filter, or show a role address such as hello@ rather than a personal one.
Belt and braces: put it in your structured data too
Cloudflare's obfuscation skips script tags, so an email address inside your JSON-LD structured data is left as it is. An Organization or LocalBusiness block with your email and telephone gives crawlers a second, machine-readable copy. A copy-paste schema example for small businesses.
Check your own site
- Open your contact page and press Ctrl+U (Cmd+Option+U on a Mac) to view the source.
- Search for
email-protectionor__cf_email__. Any match means Cloudflare is rewriting an address there. - Or run the free AI visibility checker: its email check reports whether your address is in the HTML in plain text, hidden by Cloudflare, or missing.
Questions
Does "[email protected]" protect me from spam?
From simple scrapers that harvest addresses from HTML, yes. Anything that runs JavaScript, or decodes Cloudflare's format, still gets the address, so treat it as a speed bump rather than a wall.
Does it affect phone numbers?
No. Cloudflare only rewrites email addresses. Your phone number stays readable, which is one more reason to show it in plain text.
Why does it only happen on some pages?
Cloudflare only rewrites HTML responses, and it skips addresses inside script tags and most HTML attributes. Pages whose responses forbid transformation, or content added by Cloudflare Workers, are also left alone.
Day 8 of 20. More from the same study: what we found checking 400 small-business websites, and the other Cloudflare settings worth checking.