🌐 Punycode / IDN Converter
Convert internationalized domain names (e.g. 日本語.jp) ⇔ Punycode (e.g. xn--wgv71a119e.jp) in both directions. Paste a full URL — each label is converted automatically.
✅ 100% free, no signup, runs entirely in your browser (pure-JS RFC 3492 implementation)
🔒 About Privacy
- ・All processing happens entirely in your browser
- ・Your input data is never sent to any server
📖 How it works
- If the input contains dots (.), each label is converted independently.
- URLs with a scheme like https:// and a path: only the host portion is converted.
- ASCII-only labels go through decode (xn-- → Unicode); labels with non-ASCII go through encode (Unicode → xn--).
- Bootstring (RFC 3492) implemented in pure JavaScript. No external library required.
📖 How to Use
-
1
Paste a domainPaste an internationalized domain (e.g. 日本語.jp) or a Punycode form (xn--wgv71a119e.jp). Full URLs work too.
-
2
See the converted resultIf the input contains non-ASCII it is encoded to xn--; if ASCII-only it is decoded back to Unicode.
-
3
Copy and useUse Copy to send the result to the clipboard. Useful for WHOIS lookups, DNS records, and mail server settings.
❓ FAQ
What is Punycode?
A DNS encoding (RFC 3492) that represents Unicode using only ASCII. Labels starting with xn-- are Punycode-encoded internationalized domain names.
Can I convert emoji domains?
Technically yes, and this tool will encode them, but most TLDs no longer accept emoji labels so usefulness is limited.
How is this different from browser URL.host?
Browser implementations vary — some auto-convert IDN to xn--, others leave Unicode. This tool follows RFC 3492 strictly and converts explicitly.
🔗 Related Tools
🐛 Found a bug or issue with this tool?
Free to use, no signup. Even just the steps to reproduce are helpful. Reports go directly to the operator and help us fix issues.
✅
Thanks for your report!
Your report has been delivered to the operator and will be used to improve the tool.