Hide Your Email Address from Spammers
The Short Version
When you write your email address on the web, use HTML character entities to obscure it so spammers don't find it.
Do NOT write this:
DO write this:
If that's too confusing, it might be sufficient to obscure just the
mailto: and the “@” sign:
The Long Version
One of the most popular methods that spammers use to gather email addresses
is harvesting them from web pages. They use automated tools that crawl
the web looking for
mailto: links and “@” signs.
There are many countermeasures for this method, such as using an image for
your email address or spelling it phonetically (e.g. vangyzen at stat
dot duke dot edu). One such method is to use HTML
to “encode” your email address, making it unrecognizable by
harvesters but still legible by humans. Character entities are
primarily used to represent characters which don't appear on some
keyboards — such as €, £, ß, ü, ç, ñ,
and é — or which don't appear on any keyboard —
such as ¢, §, ¶, æ, and ©. They are written with
&name; syntax. For example, the Euro symbol
€ and the correct Latin spelling of
“Vitæ” is written
Character entities can also be used to write normal characters — instead
of a name, just write a “#” followed by the ASCII code for the
character. For example, the “@” sign can be written
mailto: can be written
More Fun with HTML Character Entities
Use character entities to write Greek!
Α Β Γ Δ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο Π Ρ Σ Τ Υ Φ Χ Ψ Ω
α β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ σ τ υ φ χ ψ ω
Α Β Γ ...
α β γ ...
Many browsers — including Firefox — even support some mathematical symbols:
∀ ∃ ∅ ∈ ∉ ∑ ∏ √ ∫ ∞
Annotate a bridge match!
♠ ♣ ♥ ♦
For details, see the HTML source of this page and the relevant section of the W3C's Formal HTML Specification.