Punycode converter
Convert internationalized domain names and labels between Unicode and Punycode (xn--), following RFC 3492.
About this tool
Domain names can only use ASCII letters, digits and hyphens, so a name like münchen.de is stored as xn--mnchen-3ya.de. The xn-- prefix marks a label written in Punycode, the encoding defined in RFC 3492 that packs Unicode into those characters.
Type a Unicode domain to see its ASCII form, or paste an xn-- name to read it. Untick “Whole domain name” to convert a single label without the xn-- prefix.
Questions
- Why does my browser show xn-- in the address bar?
- Browsers show the Punycode form when a name mixes scripts or looks like another domain, to protect against look-alike phishing domains.
- Does this normalize the name the way browsers do?
- No. Browsers also lower-case and normalize the name (IDNA 2008 or UTS #46 processing) before encoding. This page encodes exactly the characters you type, so type the name in its usual lower-case form.
- Is my input sent to a server?
- No. The page loads a compiled Dart engine into a Web Worker and does all the work in your browser tab. Nothing you type or drop in is uploaded, and the tools keep working offline once the page has loaded.