Punycode Converter
Convert international domain names to and from punycode. Paste a Unicode domain or an xn-- domain and convert instantly, and spot lookalike phishing domains.
Direction is detected automatically. Paste Unicode to encode, or an xn-- domain to decode.
Sharing links from an international domain?
Flyn short links work with any domain, IDN included, and add click analytics, QR codes, and branded short URLs your readers can trust.
How to Convert Punycode in 3 Steps
Paste a domain or URL
Enter a Unicode domain, an xn-- domain, or a full URL. Direction is auto-detected.
See both forms
Unicode and ASCII punycode side by side, with a warning when non-Latin scripts appear.
Copy the result
Copy whichever form you need for DNS, a certificate, a log, or a security check.
Why Use Our Punycode Converter?
Both directions
Unicode to punycode and xn-- back to Unicode, auto-detected.
Homograph warning
Flags mixed or non-Latin scripts, a classic phishing signal.
Full URLs too
Paste a whole URL and only the hostname is converted.
Per-label view
See exactly which part of the domain changed and how.
RFC 3492 accurate
Uses the real punycode algorithm, reversible every time.
100% client-side
Runs in your browser. Nothing you paste is uploaded.
Punycode Examples
Unicode domain
Punycode (ASCII)
münchen.de
xn--mnchen-3ya.de
café.fr
xn--caf-dma.fr
日本.jp
xn--wgv71a.jp
مثال.com
xn--mgbh0fb.com
пример.рф
xn--e1afmkfd.xn--p1ai
Notice that each label is encoded separately, including the top-level domain (.рф becomes xn--p1ai). The basic ASCII letters survive and the non-Latin characters are recorded in the coded suffix after the hyphen.
Frequently Asked Questions
What is punycode?
What is an internationalized domain name (IDN)?
How do I convert a domain to punycode?
How do I decode an xn-- domain back to readable text?
What is a homograph or homoglyph attack?
Can this tool help me spot a phishing domain?
Does the converter handle a full URL, not just a domain?
Is the conversion done in my browser?
Why does my converted domain look different from what I expected?
Do all browsers show punycode or Unicode?
Can I convert emoji domains?
Is punycode the same as URL encoding or percent encoding?
More Free Tools
URL and link tools for developers and security-minded marketers.
URL Encoder / Decoder
Percent-encode or decode the path and query of a URL (not the domain).
Short Link Safety Checker
Expand and scan a short link, including ones hiding a lookalike domain.
URL Extractor
Pull every URL out of any text, email, or CSV in one click.
Meta Refresh Redirect
Generate a no-server HTML redirect for static hosts.
Links your readers can trust, on any domain
Whether your domain is ASCII or an IDN, Flyn turns it into branded short links with real-time click analytics, QR codes, and editable destinations.