Text & Encoding

Punycode / IDN Converter

Convert internationalised domain names to and from ASCII Punycode (xn--…).

Domain

Enter a Unicode domain or an xn-- Punycode domain — both conversions are shown.

Conversions

—
—

What Punycode is

The DNS only carries ASCII, but domain names can contain accents, non-Latin scripts and emoji. Punycode (RFC 3492) encodes those names into an ASCII form prefixed with xn--, so münchen.de is transmitted as xn--mnchen-3ya.de. Browsers show the pretty Unicode version but resolve the xn-- form. This converter does both directions, label by label, entirely in your browser.

Why it matters for security

Because many Unicode characters look identical to ASCII ones, IDNs enable homograph phishing — a domain that reads as paypal.com but is actually a different registration in Cyrillic or Greek letters. Converting a suspicious link to its Punycode form reveals the real name. If the xn-- version looks nothing like the brand, treat the link as hostile. Pair this with the Email Header Analyzer when triaging a suspect message.

These calculators run entirely in your browser — nothing you type is sent anywhere. Results are estimates for planning; validate against your vendor's documentation before you buy or deploy.