🌐 Punycode / IDN Converter

Professional Punycode/IDN converter that transforms Unicode domain names to ASCII-compatible encoding (ACE) and back. Features multi-label domain parsing, ACE length validation, security warnings, and educational insights for international domain management.

Enter a domain name in Unicode (café.example.com) or Punycode (xn--caf-dma.example.com). Supports multi-label domains with subdomains.
Choose conversion direction or let the tool auto-detect input type
Display RFC 3492 algorithm details, ACE length validation, and label-by-label analysis

Conversion Results:

🌐 PUNYCODE CONVERSION

café.example.com ↔ xn--caf-dma.example.com

Unicode to ASCII Compatible Encoding (ACE)

🔄 Domain Transformation

Unicode Domain (IDN)
café.example.com
International Domain Name
Punycode (ACE)
xn--caf-dma.example.com
ASCII Compatible Encoding
✓ Multi-label conversion completed successfully

🏷️ Domain Label Analysis

Label 1
café → xn--caf-dma
ACE Length: 11 chars
Label 2
example → example
ACE Length: 7 chars
Label 3
com → com
ACE Length: 3 chars

✅ ACE Validation:

All labels are within the 63-character ASCII Compatible Encoding limit

⚙️ Technical Details

/* RFC 3492 Punycode Encoding */
Input Domain: café.example.com
Detected: Unicode IDN (contains non-ASCII)
Conversion: Unicode → Punycode
Label Processing:
- café: U+00E9 → xn--caf-dma
- example: ASCII → no conversion
- com: ASCII → no conversion
Result: xn--caf-dma.example.com

🔒 Security Notice

IDN Homograph Protection: Always verify domain authenticity when using international characters that may look similar to ASCII characters.

Best Practice: Use this tool to verify the Punycode representation of IDN domains before registration or DNS configuration.

How to Use This Punycode / IDN Converter

How to Use the Punycode / IDN Converter:

  1. Enter your domain name in the text area (Unicode or Punycode format)
  2. Select conversion mode or let the tool auto-detect the input type
  3. Enable technical details to see RFC 3492 algorithm breakdown and ACE validation
  4. Click "Convert Domain" to process single or multi-label domains
  5. Review the conversion results with per-label ACE length analysis
  6. Copy individual results or download the complete conversion report

Pro Tips: Use auto-detect mode for mixed input types. The tool handles complex multi-label domains like subdomains automatically. Always verify ACE length limits (63 characters per label) for DNS compatibility.

How It Works

RFC 3492 Punycode Conversion Technology:

Our converter implements the official Punycode algorithm for internationalized domain names:

  1. Input Detection: Automatically identifies Unicode IDN vs ASCII-compatible Punycode format
  2. Multi-label Parsing: Splits domains by dots and processes each label independently
  3. Unicode Normalization: Ensures consistent character representation before conversion
  4. Punycode Algorithm: Applies RFC 3492 encoding/decoding with bias adaptation
  5. ACE Prefixing: Adds "xn--" prefix to Punycode labels for DNS compatibility
  6. Length Validation: Verifies each label stays within 63-character ASCII limit
  7. Security Analysis: Detects potential homograph attacks and similar character confusion
  8. Reassembly: Reconstructs complete domain with converted labels

Technical Standards: Fully compliant with RFC 3492 (Punycode), RFC 5891 (IDNA), and UTS #46 for maximum compatibility with DNS servers and web browsers worldwide.

When You Might Need This

Frequently Asked Questions

What is Punycode and why do I need to convert domains?

Punycode is an ASCII-compatible encoding method that allows Unicode characters in domain names. Since DNS servers only understand ASCII characters, international domain names (IDN) with characters like é, ü, 中, or Arabic script must be converted to Punycode format (prefixed with xn--) for proper resolution. This enables global users to register and use domains in their native languages while maintaining DNS compatibility.

How do multi-label domains work with Punycode conversion?

Multi-label domains (like subdomains) are processed label by label, separated by dots. For example, 'café.münchen.com' becomes 'xn--caf-dma.xn--mnchen-3ya.com' where each non-ASCII label gets converted independently. This allows complex internationalized domains with multiple Unicode components while ensuring each part stays within the 63-character ASCII limit required by DNS standards.

What are the ACE length limits and why do they matter?

ASCII Compatible Encoding (ACE) has a strict 63-character limit per domain label as defined by DNS specifications. When Unicode text is converted to Punycode, it often becomes longer due to the encoding algorithm. Our tool validates that each converted label doesn't exceed this limit, preventing domain registration failures and ensuring DNS compatibility across all servers worldwide.

How can I detect potential security issues with international domains?

International domains can be exploited through homograph attacks, where visually similar characters from different alphabets create confusing domains (like using Cyrillic 'а' instead of Latin 'a'). Our converter helps identify these by showing the exact Punycode representation and warns when characters might be visually confusing. Always verify the Punycode output matches your intended domain to avoid phishing attempts.

Can I convert multiple domains at once or batch process domain lists?

Yes, our tool supports batch processing by entering multiple domains (one per line) in the input field. Each domain is processed independently with full multi-label support and ACE validation. This is particularly useful for domain portfolio management, security analysis of email domains, or when migrating international websites that use various Unicode domain formats.