Punycode Converter

Convert internationalized domain names to Punycode and back. Paste one domain or a list — Unicode like münchen.de or ASCII like xn--mnchen-3ya.de — and see both forms side by side, converted label by label. Email addresses work too. Look-alike domains that mix alphabets, a common phishing trick, are flagged. It's free, runs in your browser, and nothing is sent anywhere.

Examples

UnicodePunycode
münchen.dexn--mnchen-3ya.de
bücher.examplexn--bcher-kva.example
例え.テストxn--r8jz45g.xn--zckzah
пример.рфxn--e1afmkfd.xn--p1ai

When to use it

  1. Find the xn-- form of a domain for DNS records or server config.
  2. Read an xn-- domain from a log or certificate.
  3. Check a suspicious link for look-alike Cyrillic characters.
  4. Convert a list of international domains in one go.

How to Use

  1. Paste domains or email addresses, one per line.
  2. Read the Unicode and Punycode forms side by side.
  3. Check any homograph warnings.
  4. Copy the ASCII forms.

Features

  1. RFC 3492 encode and decode
  2. Per-label conversion
  3. Bulk input
  4. Email address support
  5. Homograph warnings
  6. 100% client-side

FAQs

What is Punycode?

The ASCII encoding used for non-ASCII domain names, defined in RFC 3492. It's why internationalized domains start with xn--.

Why convert label by label?

Each part between dots is encoded separately, so example.com stays as-is while münchen becomes xn--mnchen-3ya.

What about email addresses?

Only the domain after @ is converted. The part before @ isn't covered by Punycode.

What is a homograph attack?

A domain using look-alike letters from another alphabet — Cyrillic а instead of Latin a — to imitate a real site. Mixed-script labels are flagged.

Is anything uploaded?

No. Conversion happens in your browser.

Technical Details

The domain name system only carries ASCII, so a domain like münchen.de is stored as xn--mnchen-3ya.de. Punycode, specified in RFC 3492, is the bootstring algorithm that does this: it copies the ASCII characters of a label, then encodes each non-ASCII code point as a variable-length number describing where to insert it, with an adaptive bias that keeps typical labels short. The converter implements RFC 3492 directly and checks itself against the RFC's sample strings. Conversion is per label — the parts between dots — and only labels containing non-ASCII characters get the xn-- prefix. Input is normalized to NFC and lowercased first, and ideographic full stops are treated as dots. For email addresses only the domain is converted, because Punycode doesn't apply to the local part. Every decoded label is also checked for mixed scripts or all-Cyrillic or all-Greek letters, the pattern behind homograph phishing domains that look identical to familiar ones.

Developer Tools

Developer Tools

  • Email Obfuscator
  • UUID Validator
  • ULID Generator
  • SemVer Compare
  • Bitwise Calculator
  • MIME Type Lookup
  • Luhn Validator
  • IBAN, ISBN & Barcode Validator