Unicode Domain to Punycode (xn--) Converter — With Homograph Detection
Encode international Unicode domain names into DNS-safe ASCII Punycode.
| Input | ASCII (Punycode) | Scripts |
|---|---|---|
münchen.example | xn--mnchen-3ya.example | Latin |
bücher.example | xn--bcher-kva.example | Latin |
straße.example | xn--strae-oqa.example | Latin |
日本語.example | xn--wgv71a119e.example | Han, Latin |
пример.example | xn--e1afmkfd.example | Cyrillic, Latin |
аррӏе.example | xn--80ak6aa92e.example! label "аррӏе" is all Cyrillic letters that look Latin: phishing risk | Cyrillic, Latin |
☃.example | xn--n3h.example! label "☃" holds symbols or emoji: browsers map it, but IDNA2008 (RFC 5892) does not allow it, so most registries refuse it | Latin |
Conversion uses the browser's own UTS #46 mapping, the same as typing the domain in the address bar. Upper case is lowered and ß stays ß (non-transitional).
When to use the IDN Unicode Hostname to ASCII Punycode (xn--)
Same as the browser address bar
Conversion uses the browser's own UTS #46 mapping and RFC 3492 Punycode, so the result is exactly what happens when the domain is typed in the address bar: upper case is lowered, ß stays ß and every non-ASCII label becomes xn--.
Look-alike phishing domains flagged
Labels that mix scripts, such as Latin with Cyrillic, or labels made entirely of Latin-looking Cyrillic letters such as аррӏе, get a homograph warning following UTS #39.
Emoji and symbols noted
Browsers turn ☃ into xn--n3h, but IDNA2008 does not allow symbols or emoji, so most registries refuse to register them. The result is still shown with that explanation.
Many domains at once
Paste a list of domains or full URLs, one per line. Schemes and paths are dropped automatically, and the result can be copied into DNS zone files, SSL certificates or server configs.
Frequently asked questions
What is Punycode?
A way to write Unicode letters with only ASCII letters, digits and hyphens (RFC 3492), because DNS originally supports only ASCII. The xn-- prefix marks an encoded label.
Why does straße not become strasse?
The non-transitional UTS #46 mapping modern browsers use keeps ß, so straße becomes xn--strae-oqa, not strasse.
What about the reverse?
Use the Punycode to Unicode decoder to read xn-- names from logs or certificates.
Do all TLDs accept international domains?
No. Each registry decides which characters it allows; .de accepts umlauts, for example, while other TLDs may limit themselves to certain scripts.
Is my data sent to a server?
No. Conversion runs in your browser.
Similar tools
- ASCII Punycode (xn--) to Unicode IDN DecoderDecode DNS xn-- Punycode hostnames back into readable Unicode characters.
- Well-Known TCP/UDP Port Number & Service LookupSearch standard ports for MikroTik, SSH, CCTV RTSP, Proxmox, WireGuard & DB.
- HTTP Status Code (100–599) Meaning LookupSearch every HTTP response status code (200, 301, 403, 429, 502, 504, 530).
- File Extension ⇄ Content-Type MIME LookupLook up exact MIME Content-Type headers for web, video, fonts & JSON/YAML.