Free Email Tool

Email Obfuscator

Hide your email address from spam bots while keeping it easy for real visitors to contact you. Four methods, each with a step-by-step how-to.

Disguise Your Email Address

Spam bots crawl the web collecting any email address they can find in a page's code. Put your address on your website as plain text and it will usually end up on spam lists within weeks. This free email obfuscator, sometimes called an email munger, disguises your address so bots cannot read it, while real visitors still see a normal address they can click or copy. Enter your address above to get the code for four different methods, then follow the how-to for the one you choose.

Which Method Should You Use?

MethodProtectionClickable?Works without JavaScript?Best for
HTML entitiesBasicYesYesSimple sites and quick fixes
JavaScriptStrongYesNo (shows a fallback)Most websites
CSS reversed textGoodNoYesPages where you cannot add scripts
"At / dot" textBasicNoYesForums, social profiles, plain text

How to Use Each Method

Method 1: HTML Entities

This method swaps every character of your address for its HTML code, so b becomes b. Browsers turn the codes back into normal text, so visitors see an ordinary, clickable address, but simple bots that scan for the "@" pattern miss it.

  1. Type your email address into the tool and click Create Protected Code.
  2. Copy the code under HTML Entities.
  3. Open your page's HTML in your editor (or the HTML/code view in your website builder) and paste the code wherever your email address should appear.
  4. Save and upload the page, then view it in your browser. You should see a normal clickable address. Right-click and choose View page source: the address should appear as codes like br.

Good to know: this is quick and works everywhere, but smarter bots can decode entities, so it is the weakest of the clickable options.

Method 2: JavaScript

The address is split into reversed pieces inside a short script and only put back together in the visitor's browser when the page loads. It never appears as a whole in your page's code, which stops the vast majority of harvesting bots.

  1. Copy the code under JavaScript. It contains a placeholder <span>, a <noscript> fallback, and a small <script>.
  2. Paste the whole block into your page's HTML where the address should appear. The script must stay directly after its <span>.
  3. To show the address in more than one place, run the tool again. Each block gets a unique ID, so several can sit on the same page.
  4. Save, upload, and load the page. The clickable address should appear. Check View page source: you should not find your full address anywhere.

Good to know: visitors with JavaScript turned off see the "at / dot" version from the <noscript> fallback instead, so nobody is left without a way to contact you.

Method 3: CSS Reversed Text

Your address is written backwards in the page's code, and a line of CSS tells the browser to display it right-to-left, so it reads correctly on screen. Bots reading the code see moc.niamod@uoy, which is useless to them.

  1. Copy the code under CSS Reversed Text. It includes a small <style> rule and the reversed address in a <span>.
  2. Paste it into your page's HTML where the address should appear. If you have a stylesheet, you can move the .ex-rev rule into it and paste only the <span>.
  3. Save, upload, and check the page. The address should read the right way round.

Good to know: the address is not clickable, and if someone selects and copies it, it may paste backwards. Use this method where you cannot add JavaScript, such as some website builders and forums that allow HTML but not scripts.

Method 4: "At / Dot" Text

The simplest method of all: write the address in words, like you [at] domain [dot] com. Humans understand it instantly, while basic bots looking for a real address skip it.

  1. Copy the text under "At / Dot" Text.
  2. Paste it anywhere: a web page, forum post, social media bio, or PDF. No code is needed.
  3. If your visitors are not very technical, add a short note such as "replace [at] with @ and [dot] with a period".

Good to know: this is the weakest protection and makes people retype your address, so use it only where code is not allowed.

Even Better: Use a Separate Address

No method stops every bot forever. The safest setup is a dedicated address just for your website, such as hello@ or contact@, protected with the JavaScript method. If it ever attracts too much spam, you can change it without touching your personal inbox. Our guide to creating a professional email address has naming ideas.

Why Hide Your Email Address?

Address-harvesting bots are one of the main ways new addresses end up on spam lists. Once your address is on a list, it is sold and shared, and the spam rarely stops. Disguising the address on your website is one of the simplest ways to prevent this in the first place. If spam is already a problem, our guide on how to stop spam emails permanently walks you through cleaning things up, and our comparison of disposable vs permanent email explains when a throwaway address makes more sense.

If you want visitors to email you with a subject line already filled in, build the link first with our mailto link generator. Bear in mind that a plain mailto link shows your address in the page code, so use one of the methods above wherever spam is a concern.

Frequently Asked Questions

What is an email munger?

An email munger, also called an email obfuscator, disguises an email address so automated spam bots cannot read it, while people visiting the page can still see and use it.

Which email obfuscation method is best?

For most websites the JavaScript method gives the best protection while keeping the address clickable. Use CSS reversed text where scripts are not allowed, and at/dot text for places that only accept plain text.

Does hiding my email address really stop spam?

It stops most address-harvesting bots, which are a major source of spam for addresses published online. It will not stop spam you already receive, and no method is perfect, so a dedicated website address is a good extra step.

Will obfuscation hurt my SEO or accessibility?

No. Search engines do not need to read your email address. The HTML entity and JavaScript methods still produce a normal link that screen readers can read aloud.

Is my email address stored when I use this tool?

No. The code is generated entirely in your browser and nothing is sent to our server.