A domain name in your own language looks simple when you type it. Underneath, it is not the form the internet actually routes. The name you read, with its accented letters or non-Latin script, has a second, plainer form made only of ASCII characters, and that second form is the one DNS records, registrar forms and support systems expect to see.

Converting an international domain name to punycode means producing that second form. This guide explains why the conversion exists, how it works label by label, and how to do it with the free Punycode Converter on Ovatly, using real converted examples you can check your own results against.

Contents

  • Quick answer
  • Why international domains need an ASCII form
  • How the conversion works, label by label
  • How to convert a domain name, step by step
  • Worked examples: two German city and book domains
  • Limitations and honest tradeoffs
  • Common mistakes
  • FAQs
  • Conclusion
  • References

Quick answer

To convert an international domain name to punycode: paste the Unicode domain into the Punycode Converter, read the converted result shown under the box, and copy it for the place that needs the ASCII form, such as a registrar form, a DNS record or a support ticket. Each label, the part between dots, is converted separately under RFC 3492, plain labels pass through unchanged, and the input is lowercased first. So bücher.de becomes xn--bcher-kva.de, and münchen.de becomes xn--mnchen-3ya.de.

Why international domains need an ASCII form

DNS itself only carries ASCII letters, digits and hyphens. That limit was set long before domain names in other scripts were allowed, and the underlying system never changed. International domain names work because every one of them exists underneath as an ASCII name that begins with xn--, which is the marker that tells systems the label is an encoded international label rather than an ordinary English word.

That is why you meet the punycode form in practical places even if you never go looking for it. A registrar form may ask for the ASCII version of the name you want. A DNS record has to hold the form DNS can carry. A support ticket about a domain that is not resolving goes faster when both sides are looking at the exact encoded name rather than guessing how a Unicode name was typed. Converting the name yourself, before you paste it into one of those places, means the form receives exactly what it expects.

How the conversion works, label by label

A domain name is a row of labels separated by dots. In bücher.de there are two labels: bücher and de. The conversion defined in RFC 3492 is done per label, not on the whole name at once. The international label is encoded into an ASCII label that starts with xn--, and any label that is already plain ASCII passes through unchanged. That is why the ending of both worked examples below stays exactly as it was: the de label needed no conversion, so it comes out as de.

Two details of the process are worth knowing before you rely on a result. First, the input is lowercased before conversion, so capitalisation in an international domain name is never significant; typing the name with a capital first letter gives the same result as typing it in lowercase. Second, the encoded form is longer than the name you see. The xn-- prefix and the encoded characters add length, which is why the length limits in the limitations section matter for long names.

How to convert a domain name, step by step

  1. Open the Punycode Converter and type or paste your domain in its Unicode form into the box.
  2. Read the converted result under the box. Check it label by label: the international labels should now start with xn--, and plain labels should be unchanged.
  3. Compare your result against the pattern of the worked examples below if you are unsure. An encoded label is letters, digits and hyphens only.
  4. Copy the result and paste it where the ASCII form is needed: a registrar form, a DNS record, or a support ticket.

Worked examples: two German city and book domains

Take bücher.de, the German word for books as a domain name. The first label, bücher, contains an accented character that ASCII cannot carry, so it encodes to xn--bcher-kva. The second label, de, is plain ASCII and passes through unchanged. The full converted result is xn--bcher-kva.de.

The second example is münchen.de, the German name for the city of Munich. Again the first label carries the accented character and encodes, this time to xn--mnchen-3ya, while de stays de. The full result is xn--mnchen-3ya.de.

The same pattern holds for scripts further from Latin. The converter's Japanese example converts to xn--wgv71a.jp: one encoded label, and the jp label unchanged. In every case the rule is the same, one label at a time, with plain labels left alone.

Limitations and honest tradeoffs

The first hard edge is length. Labels have a maximum length of 63 characters after encoding, and the full domain has a maximum of 253. Because encoding makes a label longer than the name you see, a long Unicode name may not fit. A name that fails this limit is not a name the converter got wrong; it is a name that cannot exist in that form.

The second edge is the one people most often miss: converting a name does not mean it can be registered. Registries restrict which scripts and combinations a zone allows. A conversion only proves that an ASCII form of the name exists mathematically. Whether that name may actually be registered in a given zone is the registry's decision, and a cleanly converted name can still be refused.

Finally, the converter works on the text you give it. It converts a domain you paste; it does not check who owns a name, whether a name is taken, or whether a site at that name is safe. Those are separate checks with separate tools.

Common mistakes

  • Pasting the converted form into an address bar and expecting a different site. The Unicode and punycode forms are two spellings of the same name, not two different domains.
  • Converting the whole name as one block in your head. The conversion is per label. A name with two international labels produces two xn-- labels, not one.
  • Assuming capital letters change the result. The input is lowercased before conversion, so capitalisation never changes the output.
  • Treating a successful conversion as permission to register. Registries restrict scripts and combinations per zone, and a converted name may still be refused.
  • Copying only part of the encoded label. The hyphens and the xn-- prefix are part of the name. Dropping them produces a different, wrong label.

FAQs

Why does every international domain have an xn-- form underneath? DNS itself only carries ASCII letters, digits and hyphens, so every international domain exists underneath as an xn-- name. The Unicode form is what people read and type, and the punycode form is what DNS actually uses.

How is the conversion done, label by label or all at once? The conversion defined in RFC 3492 is done per label, the part between dots. Each label is converted separately, and plain labels that are already ASCII pass through unchanged.

Does capitalisation matter in an international domain name? No. The input is lowercased before conversion, so capitalisation in an international domain name is never significant. A name typed with capitals converts to the same punycode result as the same name typed in lowercase.

How long can a converted label be? Labels have a maximum length of 63 characters after encoding, and the full domain has a maximum of 253. A long Unicode name expands when it is encoded, so it may not fit inside those limits.

If I can convert a name, does that mean I can register it? No. Converting a name does not mean it can be registered. Registries restrict which scripts and combinations a zone allows, so a name that converts cleanly may still be refused by the registry for its zone.

Conclusion

Converting an international domain to punycode is a small, exact job: one label at a time, plain labels untouched, capitals folded away, and the result copied into the form, record or ticket that needs the ASCII spelling. The reverse job matters just as often, when an xn-- name lands in front of you and you need to read what it says; our guide to decoding a punycode domain that starts with xn-- walks through that direction step by step. For more guides in this series, see our URL and Link Tools guides.

References