Why domains need Punycode
The domain name system was built for plain ASCII letters, digits, and hyphens, long before the web went global. When people wanted domain names in German, Spanish, Chinese, Arabic, and dozens of other scripts, the system could not simply accept those letters, because every server, router, and old program in the chain expects ASCII. Punycode is the bridge: it rewrites a Unicode name as ASCII that starts with xn--, so the old system carries it without change.
You see Punycode whenever you look at the raw form of an international domain. The pretty name in the browser bar, like münchen.de, travels through the network as xn--mnchen-3ya.de. The browser converts it back for display, but DNS records, certificates, and links all use the ASCII form. Anyone who registers or links an international domain needs to know both forms.
How to use the tool
Type the domain name in the box, with or without its ending, and the tool converts it live. The ASCII form appears below, ready to copy. Press Convert to run it again by hand, and press Copy result to copy the ASCII form. The bar shows whether the name changed: a plain ASCII domain sits near the left, and a converted Unicode domain sits near the right.
Try a domain you know first, like a city name with an accent, and check that only the accented part changed. Then try a name in another script and watch the whole label become an xn-- code. There is nothing to install and nothing is uploaded.
Worked example
Take münchen.de and run it through the tool. The output is xn--mnchen-3ya.de. The ending .de stays exactly as it was, and only the label münchen changes, into xn--mnchen-3ya. The tool reports that the name changed, because the input had a Unicode letter and the output is pure ASCII.
Take café.com next. The output is xn--caf-dma.com. Take bücher.de and you get xn--bcher-kva.de, the classic textbook example. Take example.com and the output is example.com, unchanged, because it was already plain ASCII. A name with no ending, like münchen, becomes xn--mnchen-3ya, with no dot and no ending added.
Who uses this tool
Web developers use it when they set up DNS records and certificates for international domains, because the record must hold the ASCII form. Domain buyers use it to check what the real registered name of a pretty international domain looks like before they buy. Support staff use it when a link with accented letters fails, to see whether the problem is the encoding or the link itself.
It also helps students learning how the web handles other languages, because the conversion is a clear example of an old system stretching to fit a global internet. Instead of reading a specification, they type a familiar word and see the xn-- code it becomes.
Honest limitations
This tool converts the domain part only. It does not register a domain, it does not check whether a domain is free, and it does not handle a full web address with a path or a query string: paste the domain name alone. It also does not check that the Unicode letters you typed are allowed in a real domain; some scripts and symbols are not allowed, and a registry would reject them.
Two different Unicode names can look the same in some fonts, which is how look-alike domain scams work. Punycode does not protect you from that: always check the ASCII form of a link before you trust it, especially in email. And remember that the browser shows the pretty form, so the xn-- form is for records and links, not for typing by hand.
Frequently asked questions
What does xn-- mean? It is the marker that says this label is Punycode. Everything after the double hyphen is the encoded form of the Unicode label, and the prefix tells the system to decode it.
Can I use the xn-- form in a browser? Yes. Paste it in the address bar and the browser will take you to the same site, and it will usually show the pretty Unicode form again.
Does my domain get sent anywhere? No. The conversion runs in your browser, and the domain stays on your device. Nothing is sent to a server, and nothing is stored.
Why does the ending never change? Because endings like .de and .com are already plain ASCII. Punycode only rewrites the labels that carry Unicode letters.
También disponible en español: Convertidor De Texto A Punycode – Convierte Dominios Unicode A ASCII
