Fix a wrong-looking HTML email obfuscator result by checking the delivered page source, correcting content management system entity rewrites, and testing the final mailto target.
If a result looks wrong after you use an email address HTML obfuscator, separate the generated code from the way your site publishes it. The Email Address Obfuscator produces a numeric-entity anchor whose visible text and complete mailto target are encoded. A browser normally displays the address and opens the link, so an incorrect final result can come from an editor rewrite, an incomplete copy, or a CMS that does not preserve the supplied source.
Generation happens locally in your browser, and the generated source contains no literal characters from the address. That makes a source check the most reliable way to determine whether the generator worked and the publishing pipeline changed the result.

What a Correct Result Contains
The correct output is one complete HTML anchor with two encoded parts. The link text encodes every code point in the displayed address, while the href encodes the complete mailto prefix and address. Both parts use decimal numeric character references. For example, the source reference for lowercase “a” is written as a; the browser renders the letter instead of showing those reference characters as page text.
The copied result is therefore expected to look unfamiliar in source code. It should not be judged by whether it contains a readable address.
- The visible link text should render as the intended public email address.
- The mailto link should pass the complete encoded target to the visitor’s configured email application.
- The generated source should contain no literal characters from the address.
- The generation step should remain entirely in the browser.
One apparent difference can be expected. The local part keeps its original case and supported punctuation, while the domain is lowercased and passed through the browser’s URL host parser. Internationalized domains are serialized to their ASCII-compatible form so the output remains reproducible across browsers. Compare a result with those normalization rules before treating it as a broken anchor.
Repair the Result Step by Step
- Open the Email Address Obfuscator and enter the public address that visitors should use. Generate the numeric-entity HTML anchor. If the address is rejected, review the validation rules later in this guide instead of changing the HTML by hand.
- Copy the complete anchor, including its opening and closing tags, encoded link text, and complete href attribute. Copying only the visible text or only part of the link can leave invalid markup or an incorrect target.
- Paste the anchor into an HTML source template or your content system’s source-code or custom-HTML context. Do not paste it into a visual rich-text field, because that field may render the address immediately and rewrite the numeric references.
- Publish a controlled test page or open the delivered page, then inspect its actual HTML source. Compare that source with the generated anchor rather than relying on the copied snippet or the editor’s visual preview.
- Check the rendered link text and click it once. Confirm that the configured email application receives the intended address. If it opens a different target, compare the complete encoded href with the tool output and recopy the whole anchor.
- If the publishing system consistently decodes or double-escapes the output, move the anchor into a controlled HTML source context. When the site cannot preserve the generated source, use a protected contact form rather than assuming the address is concealed.
Match the Symptom to the Source
Use the visible symptom to narrow down the transformation that occurred, then confirm it in the delivered source.
| What you see | What to inspect | Corrective action |
|---|---|---|
| Numeric-reference text appears on the page | The publishing system escaped the ampersands, so the browser treats each reference as literal text. | Insert the anchor through an HTML source context and publish it without that additional escaping. |
| The full address is readable in page source | The CMS decoded the numeric references. The link may still work, but source-level obfuscation is gone. | Restore the complete generated anchor through a source or custom-HTML field, then inspect the delivered source again. |
| The address is visible but is not clickable | The anchor was pasted into a rich-text field, or its tags were stripped during editing. | Paste the complete anchor into an HTML source template and test the delivered page. |
| The link opens a different address | The href may be incomplete or altered during editing. | Recopy the full anchor, compare its complete encoded target with the tool output, and test once more. |
| Only the domain case or non-Latin characters differ | The domain is normalized to lowercase, and an internationalized domain is serialized to an ASCII-compatible form. | Treat the difference as expected if the local-part case and supported punctuation remain correct. |
Do not use the visual preview as the final test. A rich-text editor can show a normal-looking address while the published source either contains encoded references or contains extra escaping that changes what visitors see. The delivered source is the relevant evidence.
Check How the CMS Publishes the Anchor
The HTML character-reference rules explain why an entity-heavy source file can still render as a normal address. A browser interprets numeric references while parsing the page. If an editor escapes the ampersand before publication, that reference is treated as visible text instead.
- Test the complete anchor in a small HTML source template that you control before placing it in a larger page.
- Inspect the final delivered source after the CMS has published the page, not only the editor buffer.
- Search the source for the normalized address. If the complete literal address is present, the source-level obfuscation has been removed.
- Check that the numeric references have not been double-escaped, which can leave entity text visible to visitors.
- Use source-code or custom-HTML insertion when available rather than pasting into a rich-text editor.
- Do not rely on the copied snippet alone. Validate the real public output every time the surrounding template or CMS changes.
If the CMS cannot preserve raw decimal references, do not attempt to repair the problem by hand-editing isolated characters in the anchor. Generate the output again, paste the complete result into a controlled source context, and test it. If that context still changes the markup, a protected contact form is the more reliable solution.
Understand Validation and Normalization
A rejected or altered address may reflect the tool’s deliberately narrow input rules rather than a rendering problem. The validator accepts a practical unquoted email form instead of every mailbox syntax permitted by specialized systems.
| Input condition | Tool behavior |
|---|---|
| Leading or trailing whitespace around the address | The address is trimmed before validation. |
| Exactly one @ character, a nonempty local part, and a domain with multiple labels | These are required for the accepted ordinary address shape. |
| Whitespace or control characters | The input is rejected. |
| Leading, trailing, or consecutive dots in the local part | The input is rejected. |
| Case and supported punctuation in the local part | The original form is preserved. |
| Uppercase domain characters | The domain is lowercased. |
| An internationalized domain | It is serialized to an ASCII-compatible form. |
| An IPv4 literal or single-label host | The input is rejected because the page targets ordinary public website addresses. |
| A quoted local part, comments, a domain literal, or an unusual legacy form | These syntaxes are outside the supported practical subset. |
| A missing or repeated @ sign | The input is rejected. |
Successful validation does not confirm that the mailbox exists or can receive mail. The tool does not send a message or query a server to test delivery.
Keep Obfuscation and Abuse Protection Separate
This technique is obfuscation, not security. A very basic scraper that searches source text only for ordinary address patterns may miss the encoded form, but modern crawlers can decode numeric entities, inspect the DOM, or follow mailto links. A publicly rendered address remains discoverable to visitors and capable bots.
Mailto links can also expose the address when a visitor clicks, copies, or inspects the link. Do not embed secret addresses, credentials, or private aliases. For meaningful abuse resistance, use a server-side contact form with validation, rate limiting, and appropriate spam controls. Filtering rules, a disposable role address, and mailbox provider controls may offer additional practical defenses. The obfuscator itself makes no promise that it will reduce spam.
Use a Final Publishing Check
- Confirm that you copied the complete generated anchor.
- Confirm that it was inserted through an HTML source context.
- Inspect the delivered source for the normalized literal address; finding it means the obfuscation is gone.
- Confirm that the numeric references are valid and have not been double-escaped.
- Confirm that the rendered text matches the expected address after domain normalization.
- Click the link once and verify that the email application receives the intended address.
- Use a protected contact form instead if the real requirement is resistance to abuse.
When an obfuscated result looks wrong, repair the publishing path before changing the address. A complete anchor, an untouched source context, and a final mailto test identify whether the problem is an entity rewrite, a truncated paste, or an intentionally limited input format.
If you're weighing options, What Can Go Wrong in Generated llms.txt Files? covers this in detail.
If you're weighing options, How to Get Started With an Email Address HTML Obfuscator covers this in detail.