Punycode (IDN) Converter
The Punycode Converter tool helps you easily convert between Unicode domain names (containing non-ASCII characters like Arabic, Chinese, or Vietnamese) and the ASCII-compatible format (Punycode).
This is an essential tool for web developers, system administrators, and international domain managers.
Key features
- International Domain Registration Domain registrars require Punycode to process domain names containing special Unicode characters.
- DNS Server Configuration System administrators must convert IDNs to Punycode in order to set up DNS records properly.
- Compatibility Testing Verify that your Unicode domain name works correctly across all legacy network systems.
- SEO Optimization Ensure your domain name is encoded accurately when sending requests to search engines.
How to use the Punycode Converter
A step-by-step guide to converting Punycode.
- Enter data Paste your Unicode domain name or Punycode string (starting with xn--) into the input field.
- Select conversion mode The tool supports both "Unicode to Punycode" and "Punycode to Unicode".
- Click Convert The system will instantly process and convert your entire text right in the browser.
- Copy the result Click the Copy button to copy the encoded or decoded result to your clipboard.
Usage tips
- All valid Punycode domain names must begin with the "xn--" prefix.
- Punycode is case-insensitive. For example, "việt.vn" will be encoded to "xn--vit-6o5a.vn".
Frequently asked questions
Punycode is an international standard (RFC 3492) for representing Unicode domains using ASCII characters. Since the original DNS system only supports English characters, Punycode acts as a bridge to encode multilingual characters into a compatible format.
All Punycode-encoded domain names begin with the unique "xn--" prefix. For example, the domain "中国.cn" translates to "xn--fiqs8s.cn".
Yes, our tool supports 2-way conversion. You just need to enter a string starting with "xn--" and hit decode, and it will restore the original characters.
The Bootstring algorithm compresses Unicode characters into ASCII, and also appends the "xn--" prefix. Since each Unicode character can take 1 to 4 bytes, the resulting ASCII string will always be longer than the visual characters.