Skip to main content

Obfuscate email

ยท One min read
Shubh A Chudasama
Your neighborhood geek

I was building contact page for this site where I've put up my email. How do I deal with bots harvesting plaintext emails from websites and sending spam?

Initially I thought of using rot13, but rot13 of gmail.com is tznvy.pbz. A quick google search for tznvy.pbz showed a lot of hits which might mean that it's a widely known and used trick to obfuscate emails and, the bots are probably aware of it too. So I went with the classic Caesar cipher. The only downside is that it won't work with JS disabled.