Skip to main content
ToolsHub

Punycode / IDN Converter

Convert Unicode domain names like bücher.de to their Punycode form (xn--bcher-kva.de), or decode Punycode domains back to Unicode.

Files never leave your browser

Punycode encodes non-ASCII domain names into ASCII-compatible encoding (ACE).

All conversions happen in your browser

How to use Punycode / IDN Converter

The Punycode converter translates internationalised domain names containing non-ASCII characters — accents, emoji or non-Latin scripts — into the ASCII-compatible xn-- form that DNS actually uses, and decodes it back to the readable Unicode name. DNS was designed for plain ASCII, so a domain like münchen.de is stored as xn--mnchen-3ya.de under the hood. Use this tool to see the real registered form of an internationalised domain, to spot homograph phishing attacks that disguise look-alike characters, or to enter such a domain into systems that only accept ASCII.

  1. Enter a domain in Unicode form, or a Punycode (xn--) string.
  2. Click Convert to translate between Unicode and Punycode.
  3. Read the ASCII-compatible xn-- form used by DNS.
  4. Inspect decoded names to reveal disguised look-alike characters.
  5. Copy whichever form your registrar or application requires.

Your data never leaves your device — 100% private processing.

Why Punycode exists

The DNS protocol only natively supports a limited ASCII character set, yet domain names are needed in every language and script. Punycode bridges that gap by encoding any Unicode string into a unique ASCII sequence prefixed with xn--, a process defined by the Internationalised Domain Names in Applications (IDNA) standards. Browsers display the friendly Unicode form to users while resolving the xn-- form on the wire. This lets a domain be registered in Arabic, Chinese, Cyrillic or with accented Latin letters without changing the underlying DNS infrastructure.

Punycode and homograph attacks

Because many Unicode characters look almost identical to ASCII ones — the Cyrillic “а” versus the Latin “a”, for instance — attackers can register a domain that visually mimics a trusted brand. Decoding a suspicious link with this tool reveals whether the displayed name hides a different xn-- registration. Modern browsers mitigate the risk by showing the raw Punycode when a name mixes scripts suspiciously, but verifying manually is a useful defence when you receive an unexpected link that claims to be from a familiar site.

Punycode examples
UnicodePunycode
münchen.dexn--mnchen-3ya.de
例え.jpxn--r8jz45g.jp
café.frxn--caf-dma.fr

Glossary

Punycode
An encoding that represents Unicode domain labels as ASCII strings prefixed with xn--.
IDN
Internationalised Domain Name — a domain containing non-ASCII characters.
IDNA
The standard governing how IDNs are encoded and processed by applications.
Homograph attack
Using look-alike characters to register a domain that mimics a trusted name.
ASCII-compatible encoding
The xn-- form of a label that DNS can store and resolve.

Related reading

Frequently Asked Questions

Free · No spam

Get weekly tool tips & updates

New tools, power-user tips, and productivity hacks — delivered free every Friday.

No spam, ever. Unsubscribe with one click.

Why use Punycode / IDN Converter?

  • Real-time DNS lookups using live resolver queries
  • Supports IPv4 and IPv6 addresses
  • No software to install — runs entirely in the browser
  • Results include TTL values and record priority

Common use cases

  • Verify DNS propagation after updating nameservers
  • Check MX records when troubleshooting email delivery
  • Look up SPF/DKIM/DMARC records for email security audits
  • Test whether a SSL certificate is valid and up to date
  • Find the IP address behind a domain name

Related Network & DNS

Explore all Network & DNS.