Description
Convert Unicode domain names to their Punycode (ASCII) equivalents and back. Essential for working with internationalized domain names that contain non-ASCII characters like accents, Chinese characters, Arabic script, etc.
Use Cases
- Convert Unicode domains to Punycode for DNS configuration
- Decode Punycode domains to readable Unicode
- Validate IDN domain name encoding
- Detect IDN homograph attacks (lookalike domains)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
domain |
string | Yes | Domain name in Unicode or Punycode format |
format |
string | No | Response format: json or markdown |