Home / Writing and design / Email obfuscator

Email Address Obfuscator

Put your email address on your website without handing it to spam bots. Pick a protection method below and paste the code into your page.

Which method should I use?

Best protection: JavaScript. The address never appears in your page's code as one piece, so simple scraping bots can't read it. Visitors see and click a normal link. The only downside: it won't show if a visitor has JavaScript turned off, which is rare.

Works everywhere: HTML encoding. The address is written as character codes. Browsers show it normally, and many basic bots miss it, but smarter bots can decode it.

Plain text "name [at] domain [dot] com" fools some bots but annoys people, who have to retype it. A contact form is the only way to hide your address completely.

How to use the Email Obfuscator

  1. Type the email address you want to show on your website.
  2. Optionally type the link text (for example "Email us").
  3. Copy the code for the protection method you prefer.
  4. Paste it into your website's HTML where the email link should appear.

How bots find email addresses

Spam bots crawl websites looking for text that looks like an address, especially mailto links. Once harvested, an address is sold and reused on spam lists for years.

Obfuscation works because most bots only read the raw page code; they don't run JavaScript or decode character codes.

Using it with website builders

WordPress: add a Custom HTML block and paste the code. Wix and Squarespace: use an embed or code block.

If your builder strips scripts, use the HTML-encoded version instead, which works everywhere.

Related free tools

What the email address obfuscator does

If you put a plain email address on your website, spam bots will find it and add it to their lists. This tool turns your address into code that people can still read and click, but that simple bots can't pick up. Type your address once and you get three versions to choose from, each ready to copy.

Benefits

  • Three protection optionsYou get a JavaScript link, an HTML-encoded link and a plain-text version, so you can pick what suits your website.
  • Address never shown in one pieceThe JavaScript version stores the name and domain separately and reversed, then joins them in the visitor's browser.
  • Works without scripts tooThe HTML-encoded version writes every character as a code that browsers display normally, handy for builders that strip scripts.
  • Custom link textShow words like Email us instead of the address itself. Leave it empty to show the address.
  • Updates as you typeThe code changes the moment you edit the address or link text, so there's no button to press.
  • One-click copyEach version has its own Copy button, ready to paste into your page.
  • Catches typos firstIf the address doesn't look valid, the tool asks you to fix it before it builds any code.

Who it is for

  • Small-business owners listing a contact email on their website.
  • WordPress, Wix and Squarespace users adding an email link in a custom HTML block.
  • Freelance web designers protecting client addresses on contact pages.
  • Bloggers and authors who want readers to reach them without inviting spam.
  • Clubs, churches and nonprofits posting a volunteer or office email online.

How to use it

  1. Type the email address you want to protect.
  2. Add link text if you want words instead of the address shown.
  3. Copy the JavaScript, HTML-encoded or plain-text version.
  4. Paste it into your website's HTML where the email link should appear.

Your privacy

The code is built in your browser as you type. Your email address is not sent to ListaFix or anyone else.

Frequently asked questions

Why hide my email address on my website?

Bots scan websites for email addresses and add them to spam lists. Obfuscation stops simple bots from reading the address while people still see and click it normally.

Which method is best?

The JavaScript method: the full address never appears in your page's code. HTML encoding works without JavaScript but stops fewer bots.

Does obfuscation stop all spam?

No. It stops most automated harvesting. A contact form is the only way to keep your address completely hidden.

Is it accessible for screen readers?

Yes. Both the JavaScript and HTML methods produce a normal clickable link that screen readers read correctly.

Will people still be able to click the email?

Yes. Both code methods create a normal clickable email link for visitors.

Should I still list my email if I have a contact form?

Many visitors prefer email, so showing a protected address alongside a form is a good balance.