Punycode Converter
NewConvert internationalized domain names (IDN) to and from Punycode (ACE).
Punycode converts internationalized domain labels into ASCII xn-- form so IDNs can travel through DNS safely.
Frequently Asked Questions
Can I paste a full domain name instead of a single label?
Yes. The tool splits the domain into labels, converts only the labels that need it, and joins them back together. It also normalizes Unicode dot variants like 。, 。, and . to regular periods.
Why doesn't a normal ASCII domain change at all?
Because the encoder only adds xn-- to labels that contain non-ASCII characters. Pure ASCII labels are passed through unchanged.
Why do domains with double dots fail?
The splitter treats empty labels as an error. So something like 'example..com' throws 'Domain contains an empty label' instead of trying to repair it.
Will this tell me whether the domain is valid under all IDNA registration rules?
No. It performs Punycode label conversion, not full registry or browser safety validation. Length limits, confusable-script policy, and other IDNA rules are outside this component.
Can it decode mixed domains like xn--bcher-kva.example?
Yes. On decode, it only transforms labels that start with xn-- and leaves the other labels alone. Trailing dots are preserved too.