About the Punycode Converter
This tool converts domain name labels between Unicode and Punycode A-labels that start with xn--. Use it when you need the ASCII form for DNS, registrars, certificate requests, or debugging. The converter runs entirely in your browser, so nothing you type is uploaded to any server. It accepts hostnames and domain labels and converts each label separately between dots. You switch between To Punycode and To Unicode modes and copy the results with one click. The implementation follows the Punycode algorithm in RFC 3492 and common client-side libraries. It does not perform full IDNA registry checks, UTS#46 mapping, or guarantee that a registrar will accept a name.
How to use it
- 1Enter a domain name, hostname, or label in the input box.
- 2Choose To Punycode (xn--) or To Unicode.
- 3Click Convert to see the per-label result.
- 4Click Copy to put the converted value on your clipboard.
Worked example
Input: münchen.de Per-label conversion: 'münchen' -> 'xn--mnchen-3ya' Output: xn--mnchen-3ya.de
How it works
Text tool that runs in the browserOptions: To Punycode (xn--), To UnicodeOne click copies the outputNothing typed is uploadedSource: RFC 3492, PunycodeRFC 5891, IDNA Protocol (usage of Punycode A-labels)Unicode TR46, IDNA Compatibility Processing. Last checked 5 November 2026.
What it is good for
- Runs entirely in your browser; no data is uploaded.
- Shows per-label A-labels exactly as used in DNS records.
- One-click copy to clipboard for quick use with registrars or DNS tools.
- Does not perform full IDNA registry checks or guarantee registrar acceptance.
- Only converts hostname labels; paths, queries, and email local parts are not changed.
Questions people ask
What is Punycode?
Punycode is an ASCII-compatible encoding that represents Unicode domain labels as A-labels starting with xn--. The algorithm is defined in RFC 3492 and used by IDNA.
Does this tool send my input to a server?
No. Conversion runs wholly in your browser. Nothing you type is uploaded to any server, keeping the check private and fast.
Will a registry accept the converted xn-- name?
This tool produces the A-label per the Punycode algorithm. Registrars and registries can still impose rules and restrictions, so check the target registry documentation.
Does the tool convert full URLs or email addresses?
No. It converts only hostnames and labels between dots. Paths and query strings are not modified. The domain part of an email address can be converted.
Can Punycode domains be used for phishing?
Yes. Punycode makes homograph attacks possible by mixing lookalike characters from different scripts. Use a homograph checker and prefer registries that apply script rules.
Which standard does this follow?
The encoding follows RFC 3492 for Punycode and RFC 5891 for IDNA usage. For normalization and compatibility, consult Unicode TR46.
Help keep every tool free
FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.