Punycode Converter

Encode or decode IDN domain names.

Developer

Enter a Unicode domain (e.g. münchen.de) to get Punycode (xn--mnchen-3ya.de), or enter Punycode to get Unicode. For internationalized domain names (IDN). Runs in your browser.

About Punycode Converter

Internationalized domain names (IDN) use Unicode characters. DNS only accepts ASCII, so the Unicode form is encoded as Punycode (labels starting with xn--). This tool converts between Unicode and Punycode for domain labels.

How to use

  1. Enter a domain name in Unicode (e.g. münchen.de) or Punycode (xn--mnchen-3ya.de).
  2. Click To Punycode or To Unicode. Copy the result if needed.

Frequently Asked Questions

What is Punycode?
Punycode encodes Unicode characters in domain names into ASCII (xn--...) so they work in DNS. Browsers show the Unicode form; DNS uses Punycode.
Is my input sent to a server?
No. Encoding and decoding run in your browser. Your data never leaves your device.
Can I convert a full URL?
You can paste a domain or hostname. The tool converts the host part. For full URLs, use the URL Parser and convert the host.