SupperTools

Useful Online Tools & Utilities to Make Everyday Tasks Easier.

Unicode to Punycode Converter for International Domains

Encode Unicode domain names into Punycode with the xn-- prefix for DNS, hosting panels, registrars and certificates, and copy the exact ASCII form instantly.

Domain names were born ASCII-only, but the world's languages are not. Punycode is the encoding that reconciles the two, translating a Unicode domain like münchen.de into the ASCII form xn--mnchen-3ya.de that the DNS system can actually store and resolve. A Unicode to Punycode converter performs that translation on demand, which developers, registrars and site owners need whenever an internationalised domain name (IDN) has to be configured, registered or debugged.

Why Punycode Exists

The Domain Name System was built in an era of letters, digits and hyphens. When the internet went global, people naturally wanted addresses in their own scripts: German umlauts, Arabic, Chinese, Cyrillic and thousands of other characters. Rewriting DNS itself was impractical, so the compromise was an encoding layer: the browser displays the friendly Unicode name, while underneath, the name is stored and transmitted in Punycode, an ASCII encoding defined in RFC 3492. The tell-tale sign of a Punycode label is the xn-- prefix at the start of each encoded chunk.

Converting is not cosmetic. The Unicode and Punycode forms of a name behave differently in configuration files, SSL certificate requests, email server settings, analytics tools and legal documents, and mixing them up is a reliable way to break a site or misdirect its traffic.

Features of This Unicode to Punycode Converter

  • Converts Unicode domain names and text into their Punycode ASCII form with the xn-- prefix.
  • A Convert button performs the encoding and Copy lifts the result into your configuration or registration form.
  • Handles names containing accented Latin letters and other scripts supported by the IDN system.
  • Shows the exact machine-readable form a registrar or DNS provider expects.
  • Works for single labels and full domain names alike.

When a Punycode name lands in front of you and you need the readable original, the reverse tool, Punycode to Unicode, decodes it, and names destined for web addresses pair naturally with the URL encoder for the rest of the URL.

How to Convert Unicode to Punycode

  1. Type or paste the Unicode domain name, such as münchen.de.
  2. Click Convert to encode it.
  3. Read the Punycode result, which for this example is xn--mnchen-3ya.de.
  4. Click Copy to take the encoded form into your DNS, hosting or certificate settings.
  5. Where a form asks only for one label, use just the encoded label before the dot.

The Example Worth Remembering

The classic demonstration is the German city of Munich. Its local name, München, contains an umlaut that ASCII cannot hold. Encoded, münchen.de becomes xn--mnchen-3ya.de: the xn-- warns every system that Punycode follows, mnchen preserves the plain ASCII letters in order, and the suffix after the final hyphen encodes where the ü belongs and what it is. Both forms name the same site; browsers show the first, DNS stores the second. Other famous test cases follow the same pattern, such as bücher.de becoming xn--bcher-kva.de. If a registrar rejects your Unicode name at checkout, pasting the Punycode form is very often the fix.

Punycode Mistakes That Break Domains

  • Convert labels, not whole URLs. Punycode applies to domain labels. Paths, query strings and protocols around the domain use percent-encoding instead, so encode only the host part of an address.
  • Do not double-encode. Feeding an xn-- name through the converter again produces garbage. Check for the prefix before converting.
  • Certificates must match the Punycode form. When ordering an SSL certificate for an IDN, the name on the certificate is the encoded one; a mismatch here is a common cause of browser warnings.
  • Beware lookalike characters. Some characters in different scripts resemble Latin letters, which is abused in phishing domains. Converting a suspicious name and inspecting its true form is one quick authenticity check.
  • Not every string is a valid domain. The converter encodes text faithfully, but registries also enforce their own rules about which characters and combinations may be registered.

In daily practice you will meet the encoded form more often than you expect. Hosting control panels and DNS editors frequently ask for the Punycode version when you add an international domain, certificate authorities issue against it, and analytics reports often display raw xn-- names in referral data. Being able to produce the encoding on demand, and to recognise it on sight, removes a whole category of confusing errors where a domain looks right on screen but is wrong in the system underneath.

Punycode Questions, Decoded Plainly

What does the xn-- prefix mean?

It marks the label as Punycode-encoded. Browsers and DNS tools see xn-- and know the rest of the label must be decoded before being shown to a human as Unicode.

Is Punycode the same as percent-encoding?

No. Punycode encodes whole domain labels into ASCII for DNS. Percent-encoding, the %20 style sequences, encodes individual characters inside URLs. They solve related problems in different layers of the system.

Can email addresses use Punycode domains?

Yes, the domain part of an address can be an IDN, and mail servers typically store it in Punycode form. The part before the @ has its own separate internationalisation rules.

Why does my browser show the Punycode form instead of the nice name?

Browsers sometimes display the encoded form as a safety measure, particularly when a name mixes scripts in ways associated with spoofing. The site is the same; only the display changed.

Does every language work with Punycode?

Punycode can encode any Unicode string, so in principle every script works. In practice, each domain registry decides which scripts and characters it allows for its endings.

The Name Behind the Name

A Unicode to Punycode converter hands you the form of a name that the internet's machinery actually uses. Whenever an international domain has to be registered, configured, certified or debugged, the encoded version is the one that works, and this tool produces it in one click.

Related Tools