Skip to content

Emoji in Domain Names

Published:

I came across Vercel CEO Guillermo Rauch’s profile, where he has pinned this post:

I had never seen a symbol in a domain name before, so I wanted to understand how it works.

What is Punycode?

Punycode is an encoding that turns Unicode text into plain ASCII letters, digits and hyphens. Each converted domain label gets an xn-- prefix so software knows it was encoded. For example, münchen becomes xn--mnchen-3ya. I wrote more about it in what is Punycode.

How it works

DNS only understands ASCII. Any domain with other characters is converted to Punycode.

The triangle in ▲.to becomes xn--c1h.to. They are the same domain written two ways, not a redirect. Chrome may show the Punycode form in the address bar to guard against look-alike phishing domains. Safari tends to show the symbol itself.

Does every top-level domain support it?

No. It depends on the registry that runs the TLD:

Check with your registrar before you plan on one.

The catch

Email is unreliable with these domains, they are hard to type, and links can break when shared. I wouldn’t use one as a primary domain, but for a short link or a fun project it’s cool.

Portless: Need of the Hour
HTTP proxy vs SOCKS proxy