IDN Punycode Converter
Convert internationalized domain names (IDN) to punycode and decode xn-- punycode back to readable Unicode — instantly, in both directions, with a label-by-label breakdown.
- Published
- Last reviewed
Tool Summary Answer Block
This tool accepts structured input and returns deterministic output in the browser with no server upload.
- Tool name
- IDN Punycode Converter
- Input intent
- Provide source content to transform, validate, or analyze.
- Output intent
- Receive normalized output suitable for copy, reuse, or debugging.
- Example input
- café.com
- Example output
- xn--caf-dma.com
IDN · Punycode
Convert domains both ways, instantly
Paste a Unicode domain or an xn-- hostname — see both forms and a label-by-label breakdown.
Runs entirely in your browser — domains are never sent to a server.
Tool Introduction
Convert internationalized domain names (IDN) to punycode and decode xn-- punycode back to readable Unicode — instantly, in both directions, with a label-by-label breakdown.
Tool Overview
DNS and many low-level protocols only understand ASCII hostnames, so a Unicode domain like café.com is transmitted as the punycode label xn--caf-dma.com. This converter moves between the two representations using a full RFC 3492 punycode implementation that runs entirely in your browser — unlike tools that lean on the URL API, it can genuinely decode xn-- labels back to Unicode, not just re-encode them. Paste a domain, subdomain, email host, or full URL and you immediately see both the readable Unicode form and the ASCII-compatible (ACE) form, plus a per-label table showing exactly which labels are internationalized. It is built for DNS configuration, TLS certificate setup, email and link validation, backend normalization, and spotting homograph (look-alike) domains used in phishing.
Use Cases
- Add an internationalized domain to DNS or a TLS certificate, which require the xn-- ASCII form
- Decode an xn-- hostname from logs, headers, or a certificate back into readable Unicode
- Validate and normalize email or website domains in a backend before storing them
- Inspect a suspicious link for homograph attacks by comparing its punycode form
- Document multilingual domains for marketing while keeping the technical ACE form handy
- Debug why a Unicode URL resolves differently across browsers and email clients
Input/Output Examples
café.com
xn--caf-dma.com
xn--mnchen-3ya.de
münchen.de
https://日本語.jp/path
xn--wgv71a119e.jp
FAQ
What is punycode used for?+
Can it actually decode xn-- back to Unicode?+
Can I paste a full URL or an email address?+
Does it convert every part of the domain?+
How does this help with phishing and homograph attacks?+
Is my data sent anywhere?+
Explore More Tools
Discover related utilities in the Developer category below.
Related tools
Handpicked utilities you might find useful