Email Address Obfuscator for Websites
Enter your address, link text and subject, choose a method and copy ready-made HTML that shows a working email link to visitors but hides the address from simple scrapers; compare protection and accessibility.
ทำงานในเบราว์เซอร์ของคุณ ไฟล์ไม่ออกจากอุปกรณ์ ดูวิธีตรวจสอบ
…
วิธีทำ
- 1Enter your email address
And link text.
- 2Add a subject
Optional.
- 3Choose a method
Compare protection.
- 4Check the preview
Click the link.
- 5Copy the code
Paste it into your page.
เกี่ยวกับเครื่องมือนี้
Publishing a plain email address on a website almost guarantees spam: bots crawl pages looking for anything with an @ sign. Yet a contact address is often required by law for businesses and is what visitors expect. Obfuscation keeps the address usable for people while making it harder for harvesters to read. This tool generates seven methods, from simple character entities to JavaScript that assembles the address only in the visitor's browser, explains the trade-offs between protection, accessibility and whether it works without JavaScript, and shows a live preview of the result.
Who this is for
Small business owners, bloggers, web designers, clubs and charities who publish a contact address on a website.
The methods
- **JavaScript assembles the address:** the address is stored reversed in two parts and joined into a mailto link by a script. Simple scrapers that do not run scripts find nothing. - **ROT13 with JavaScript:** the address is ROT13-encoded in the page and decoded by the browser. - **Base64 in a data attribute:** the link is created from a Base64 value when the page loads. - **HTML entities:** each character is written as a numeric reference. Easy, works everywhere, but many harvesters decode entities. - **CSS reversed text:** the address is written backwards and shown the right way round. Not clickable. - **At/dot text:** name [at] domain [dot] com. Readable by people, but visitors must retype it. - **Contact form:** a small form that opens the visitor's email app with the address assembled on submit.
Choosing a method
For most sites the JavaScript method gives the best balance: the address is clickable for visitors and invisible in the HTML. Add a noscript alternative, such as a contact page, for people without JavaScript. Screen readers announce generated links normally. Reversed CSS text can confuse screen readers and copy-paste, so avoid it where accessibility matters.
Beyond obfuscation
- Use a dedicated public address that you can filter or replace. - Add a contact form with spam protection on a separate page. - Keep strong spam filtering on the mailbox.
Legal contact requirements
In the EU and UK, businesses selling online must show a way to contact them quickly, often including an email address, in their legal notice or terms. An obfuscated but clickable address still meets that duty for human visitors. Keep the address identical across the site so customers do not wonder whether it is genuine, and test the generated link on a phone, where the mailto link should open the default email app. If your content management system strips script tags, use the entities, at/dot or contact form method instead.
Common mistakes
- Leaving the plain address in the page title, meta tags or structured data. - Forgetting the address in the footer or the PDF brochure. - Using an image of the address, which is inaccessible and still readable by text recognition.
Limits
No method stops people from copying the address or scrapers that run JavaScript. Obfuscation reduces, not eliminates, spam. This is not professional advice.
ตัวอย่างพร้อมวิธีทำ
[email protected] with the JavaScript method: the page source contains no @ address, visitors see a working Email us link.
สรุปสั้น ๆ
- หมวดหมู่: ความปลอดภัย
- ทำงานในเบราว์เซอร์ ไม่ต้องสมัคร ไม่ต้องอัปโหลด
- ข้อมูลที่คุณกรอกอยู่บนอุปกรณ์ของคุณ
- มีภาษาอังกฤษ
- ตรวจสอบเนื้อหาล่าสุด:
- แหล่งข้อมูลทางการ: HTML character references (WHATWG HTML), mailto URI scheme (RFC 6068)
คำถามที่พบบ่อย
Does obfuscation stop all spam?
No, but it stops simple harvesters, which send much of the spam.
Which method is best?
JavaScript assembly for clickable links, plus a contact page fallback.
Are HTML entities enough?
They are weak; many harvesters decode them.
Is it accessible?
JavaScript and entity links are; reversed CSS text is not.
Can I add a subject line?
Yes, it is added to the mailto link.
Is my data stored?
No. The code is generated in your browser.
