Punycode Converter
Convert international domain names between Unicode and Punycode. Encode IDN domains to xn-- format, decode Punycode domains, inspect labels, and copy clean output in your browser.
Paste Unicode domains like mañana.com, Punycode domains like xn--maana-pta.com, full URLs, emails, or one value per line.
Options
Converts international domain labels to xn-- Punycode and decodes xn-- labels back to readable Unicode. Review IDN domains carefully before use.
Output
Converted Punycode output will appear here.
Converting International Domain Names to Punycode
Punycode is the encoding used to represent international domain names with non-ASCII characters in a DNS-safe format. A domain like mañana.com becomes an ASCII form starting with xn-- so browsers and domain systems can handle it correctly.
This Punycode Converter encodes Unicode domains to xn-- Punycode and decodes Punycode domains back to readable Unicode. It can also handle full URLs and email domains while preserving paths, query strings, fragments, and local parts.
Using the Punycode Converter
- Paste a Unicode domain, Punycode domain, URL, email, or list of values.
- Choose auto detect, Unicode to Punycode, or Punycode to Unicode.
- Select the input type and output format.
- Convert and review the label-by-label result.
- Copy the clean output for DNS, SEO, browser, or debugging work.
Common Punycode Converter Use Cases
- Converting international domain names before DNS setup.
- Decoding xn-- domains found in logs, redirects, or browser output.
- Checking Unicode domains before adding canonical or hreflang URLs.
- Reviewing IDN email domains in forms or configuration files.
- Debugging domain redirects, sitemap URLs, and browser display differences.
- Spotting mixed-script labels that may need extra review.
Example Punycode Conversion
Unicode: mañana.com Punycode: xn--maana-pta.com
Review IDN Domains Carefully
International domain names are useful, but visually similar characters from different scripts can be confusing. For example, letters from Latin, Cyrillic, Greek, and other scripts may look similar even when they are different characters.
Use Punycode conversion to understand what a browser or DNS system is actually using. For important domains, review the Unicode version, Punycode version, script mix, and final URL carefully before publishing.
Frequently Asked Questions
What is Punycode?
Punycode is an ASCII-safe encoding used for international domain names that contain non-ASCII characters.
What does xn-- mean in a domain?
xn-- marks a domain label that has been encoded with Punycode.
Can this convert full URLs?
Yes. The converter can convert the domain part while preserving the path, query string, and hash.
Is Punycode the same as URL encoding?
No. Punycode is used for international domain labels. URL encoding is used for characters in URLs, paths, query strings, and form values.
Is anything uploaded when I convert a domain?
No. Punycode conversion happens directly in your browser.
