Skip to content
IPOK

Punycode / IDN Converter

DNS only understands ASCII underneath, so internationalized domain names (IDNs) in Chinese, emoji, etc. are encoded as Punycode — the xn-- strings you often see. This tool converts both ways: enter 例子.中国 to get the xn-- form, or paste an xn-- string to recover the plain text.

Conversion is local, never uploaded. ⚠️ Security note: look-alike IDNs are often used for phishing (e.g. a Cyrillic а disguised as Latin a) — be wary of unfamiliar xn-- domains. Want to know if the server IP a domain resolves to is clean? Check it here too.

IDNs (internationalized domain names) are encoded as Punycode (ASCII starting with xn--) under the hood. Useful for Unicode / emoji domains, or to decode an xn-- back to plain text. Local, never uploaded. ⚠️ Note: look-alike IDNs are often used for phishing (e.g. Cyrillic disguises) — be wary of xn--.

Check whether the server IP this domain resolves to is clean →
Check your own IP — purity, risk score, native vs datacenter, leaksCheck IP →

FAQ

What is an xn-- domain?

It's the Punycode encoding of an IDN (internationalized domain name). Browsers sometimes show the plain form, sometimes xn--; this tool converts between them.

Why convert to Punycode?

Because DNS resolution and domain registration only accept ASCII underneath, so Unicode / emoji domains must be turned into the xn-- form to work.

How is Punycode related to phishing?

Attackers register look-alike domains with similar Unicode characters (homograph attacks) that display almost identically but have a different Punycode (xn--). Converting a suspicious domain to Punycode unmasks the disguise.

More tools