Punycode
The ASCII encoding, starting with xn--, that lets internationalized domain names work in the DNS.
- xn--
- ACE label
- A-label
Last checked
How it works
Punycode is the reversible encoding that turns a label written in Unicode, such as Chinese characters or accented letters, into plain ASCII letters, digits and hyphens that the DNS can handle. The encoded label starts with the prefix xn--. Punycode is defined in RFC 3492, and the rules for using it in domain names are in the IDNA2008 standards beginning with RFC 5890. The lesson on international domain markets covers what this means for investors.
Why it matters to an investor. Every IDN has two forms: the readable one users see, and the punycode form the DNS and registries store. You'll meet the punycode form in:
- registrar accounts and RDAP (the successor to WHOIS) results
- drop lists and zone files
- some email clients and apps that can't display the readable form
It also matters for security. Characters from different scripts can look identical, so a look-alike name can imitate a real one. Browsers sometimes show the xn-- form to warn users, and investors should never buy look-alikes of brands.
Hypothetical example. You win an IDN at auction. In your registrar account it appears only as a string starting with xn--. You check it with a converter, which shows the readable form you bid on, and note both forms in your records.
Related terms: internationalized domain name, DNS and phishing.
Related terms
Learn it in
- 9 minAdvanced
International domain markets: IDNs, pinyin and European buyers
How domain demand differs across markets: IDN domains and punycode, numeric and pinyin names, European ccTLDs, and cross-border payment and escrow.