Domain & DNS

Punycode Converter

Domain names can be written in Bangla, Arabic, Hindi and other scripts, but DNS stores them in an ASCII form starting with xn--. Convert in either direction, label by label.

Domain or email

Type a Unicode name to get its xn-- form, or an xn-- name to read it.

Result

—

LabelPunycode

What is Punycode?

The DNS system was built for the letters a–z, digits and hyphens. To allow domain names in any language — internationalised domain names (IDNs) — each part that contains other characters is converted to an ASCII code that starts with xn--. Bangladesh’s own Bangla top-level domain, .বাংলা, is stored as xn--54b7fta0cc. Browsers show the readable form to visitors; servers, DNS panels and SSL certificates often need the xn-- form.

When you need it

How to use the converter

  1. Type or paste a domain, web address or email address.
  2. Copy the result. Each part of the name is converted separately and shown in the table.

Frequently asked questions

What is xn--54b7fta0cc?

It is the Punycode form of .বাংলা, the Bangla-script top-level domain for Bangladesh.

Why does my browser show xn-- instead of the real name?

Browsers show the xn-- form when a name mixes scripts in ways that could be used to imitate another domain, to protect you from look-alike sites.

Can email addresses use Bangla or other scripts?

The domain part can be converted with Punycode. Non-ASCII text before the @ needs mail servers that support internationalised email (SMTPUTF8), which not all do.