NEW CASE
Antana

We create digital solutions that work for businesses


Give us a call +38 (066) 35-14-529

Let's take the first step towards your website — write to us

Close
Tools

Punycode Converter

IDN domains: Punycode to Unicode and back.

What Punycode is and why it exists

The domain name system only understands Latin letters, digits and hyphens. For a domain in another script to exist at all it is rewritten in Latin by a fixed rule — that rule is Punycode.

What you type A name in your own script, as it looks in the address bar
What the browser does Silently converts the name into Latin characters
What travels over the network xn--d1acufc.xn--j1amh — this is what servers actually see

The xn-- prefix marks an encoded name. You will meet it in certificates, mail settings and server logs, where the domain almost always appears in this form.

Where you will run into it

SSL certificates Certificates store the domain in xn-- form. If you compare by hand, convert it first — otherwise it looks like the certificate was issued for a different domain.
Mail configuration SPF, DKIM and DMARC for a non-Latin domain must be written in encoded form. The original script will not work in a DNS record.
Analytics and logs Reports often show addresses as xn--. To tell which domain is meant you need the conversion back.
Registering a domain Registrars accept either spelling, but the receipt and WHOIS will show the encoded version.

Lookalike letters and fake domains

A Cyrillic “а” and a Latin “a” look identical yet are different characters to the network. Scam domains are built on exactly this.

Genuine

Pure Latin

The domain uses ordinary Latin letters and needs no Punycode encoding at all.

Fake

Cyrillic disguised as Latin

One letter is swapped for a Cyrillic one. Visually identical, but it is a different domain — and it starts with xn--.

That is what makes this check useful: if a domain that looks plainly Latin converts to xn--, it contains non-Latin characters. For a banking or payment link, that is reason enough not to click.

Punycode converter for domains

Domains with Cyrillic and other national characters (IDN) are actually stored in DNS encoded with the xn-- prefix. This converter transforms domains both ways: пример.com → xn--...com and back. Encoding is needed when configuring DNS, SSL certificates, mail servers — anywhere a system does not understand non-Latin characters.

Another important use is security: scammers register domains visually identical to famous ones, swapping Latin letters for Cyrillic look-alikes (e.g. "а" or "о"). Run a suspicious domain through the converter and you will see its true xn-- form and instantly know if it is a fake.

FAQ

What is Punycode?
Punycode is a way to encode domains with national characters (Cyrillic, umlauts, hieroglyphs) into the ASCII xn-- format that the DNS system understands.
Why is domain encoding needed?
DNS historically works only with Latin letters. Domains like example.укр are actually stored as xn-- — the converter shows both forms.
Are IDN domains safe?
Be careful: scammers register lookalike domains, replacing Latin letters with Cyrillic ones (e.g. "о" instead of "o"). The converter helps detect such spoofing.
What does an encoded domain look like?
For example, the domain "mysite.укр" in Punycode looks like "xn--...". This is the form DNS sees.
Telegram Viber Call us