IVX
Roman Numeral ConverterEN
ENCODING & DATA FORMATS TOOL • UNIFIED WORKSPACE

Punycode Converter (IDNA)

Translate Internationalized Domain Names (IDNs) with accents, Cyrillic, Arabic, or Chinese characters into ASCII-compatible Punycode (xn--) and back.

Presets:
Ready
MMXXVI
Copied!

Calculation Breakdown

What is Punycode (RFC 3492)?

The global Domain Name System (DNS) historically restricted internet hostnames strictly to the basic ASCII letter-digit-hyphen (LDH) character set. To enable domain names in non-English languages—such as German (münchen.de), Spanish (año.com), Russian, Chinese, and Arabic—the IETF created the Internationalizing Domain Names in Applications (IDNA) standard.

Punycode (defined in RFC 3492) is a specialized encoding algorithm that translates strings containing Unicode characters into ASCII-Compatible Encoding (ACE). In web URLs, Punycode domains are recognized by the standardized prefix "xn--".

For example, the German domain "bücher.example" is encoded by Punycode as "xn--bcher-kva.example". Our converter handles instant bidirectional translation between native Unicode domain names and DNS-ready Punycode.

How to Use This Tool

  1. Enter an international domain name (e.g. "münchen.de") or Punycode string (e.g. "xn--mnchen-3ya.de") into the input box.
  2. Select Encode to generate the "xn--" ASCII representation, or Decode to reveal the native Unicode characters.
  3. Copy the output for DNS zone file configuration, domain registration, or web browser testing.

Punycode Conversion Examples

German Umlaut Domain

Encoding "bücher.example" to Punycode.

In:bücher.example
Out:xn--bcher-kva.example

Decoding Punycode Domain

Deciphering "xn--mnchen-3ya.de" back to German.

In:xn--mnchen-3ya.de
Out:münchen.de

IDNA2008 Standard Compliance

  • Implements standard IDNA Punycode conversion per RFC 3492 and RFC 5891.
  • Processes individual domain labels separated by dots (".", "。", etc.).

Frequently Asked Questions

What is Punycode?
Punycode is a character encoding algorithm defined in RFC 3492 that transforms non-ASCII Unicode strings into an ASCII-compatible format prefixed with "xn--", allowing international domain names to work on standard DNS servers.
Why do domain names start with "xn--"?
The "xn--" prefix is the international standard ACE (ASCII-Compatible Encoding) flag that tells web browsers and DNS resolvers that the label is encoded in Punycode and contains international characters.
Can domain names contain emojis?
Technically yes, because emojis can be converted into Punycode (e.g., 🍕.com becomes xn--vi8h.com). However, most top-level domain registries (TLDs) restrict or ban emoji domains due to phishing and spoofing security concerns.

Related Tools