Skip to content
ByWhoIs ByWhoIs
Real-Time · Instant Lookup

Punycode (IDN) Converter

Convert Internationalized Domain Names (Turkish, German, Arabic, Cyrillic, CJK, emoji) between Unicode and RFC 3492 ASCII Punycode (xn--...) instantaneously inside your browser.

Example: şirket.com.tr, münchen.de, café.fr
DNS, SSL SAN & Nginx/Apache safe representation
WHOIS Lookup ↗
✓ RFC 3492 Punycode converter ready
◆ Technical Reference & Quick Answer

What Is Punycode (IDN) & Why Do Domains Start With xn--?

The core Domain Name System (DNS) natively supports only ASCII letters (a–z), digits (0–9), and hyphens. Internationalized Domain Names (IDNs) containing non-ASCII characters (such as Türkçe ş/ğ/ü/ö/ç/ı, German ü/ß, or Japanese kana) are encoded label-by-label using RFC 3492 Punycode prefixed with xn-- so DNS servers, SSL certificates, and WHOIS registries can resolve them reliably.

Standard Compliance
Pure RFC 3492 Bootstring encode & decode
Bidirectional Conversion
Instant Unicode → xn-- Punycode AND xn-- → Unicode
100% Browser-Side
Zero server latency, supports full multi-label domains
WHOIS Integration
One-click jump to live ByWhoIs RDAP/WHOIS lookup on converted domain

Internationalized Domain (IDN) Punycode Examples

Internationalized Domain (IDN) Punycode Examples
Unicode Domain ASCII Punycode (xn--) Language / Script
şirket.com.tr xn--irket-0sa.com.tr Turkish (Latin Extended)
münchen.de xn--mnchen-3ya.de German (Umlaut)
café.fr xn--caf-dma.fr French (Accented Latin)
пример.рф xn--e1afmkfd.xn--p1ai Russian (Cyrillic IDN + IDN TLD)

How to Convert Unicode & Punycode Domains

  1. 1 Type or paste any domain name

    Enter a Unicode domain (like şirket.com.tr) or an ASCII Punycode string (like xn--mnchen-3ya.de).

  2. 2 Convert instantly in your browser

    Click Encode to Punycode or Decode to Unicode—or type live to see the converted label-by-label output immediately.

  3. 3 Copy for DNS, SSL, or WHOIS

    Use the Copy button to paste the xn-- form into Nginx, Apache, DNS zones, SSL CSRs, or launch a live WHOIS check.

Frequently Asked Questions

Why do I need Punycode when configuring SSL or DNS?

Most DNS control panels, Nginx/Apache vhost configs, SPF/DKIM records, and X.509 SSL certificate SAN extensions require the ASCII xn-- representation rather than raw UTF-8 characters.

What is an IDN homograph attack?

An IDN homograph attack uses visually similar characters from different scripts (such as Cyrillic "а" instead of Latin "a") to impersonate trusted brands. Decoding xn-- back to Unicode helps spot lookalike spoofing.

Does Punycode convert the TLD too?

Only labels containing non-ASCII characters are prefixed with xn--. Standard ASCII TLDs like .com or .com.tr stay unchanged, while non-ASCII TLDs like .рф encode to .xn--p1ai.

Are my converted domains logged or stored?

No. Punycode encoding and decoding run 100% locally in your browser with zero network calls.