About

Tool No. 84 of Pikkola, 28 November 2026

This page does the conversion in both directions and then looks at the result as a picture. A name that resolves perfectly can print as a brand it has nothing to do with, and the only way to see that is to put the two forms side by side.

What it does

The algorithm, briefly

The ASCII characters of a label are written first, a hyphen follows, and each non-ASCII code point is written as a delta from the previous one in base 36. Nothing is hidden: any resolver decodes an xn-- label to exactly one string, which is why the encoded form is the honest thing to show when two names look alike.

The attack is in the font

Cyrillic а and Latin a are different code points with the same shape, and Unicode's confusables table runs to thousands of such pairs. A label mixing the two scripts is legal, registrable and resolvable. Browsers show such a label in its xn-- form for that reason, and the rule differs between browsers and versions, so this page shows both forms rather than trusting the bar.

Where the limits come from

DNS counts bytes, not characters: 63 per label, 253 for the name in its wire form. Korean costs three bytes a syllable and the A-label is longer still, so a name that looks short in an editor can be over the limit at the registry. The label table counts the A-label because that is the number the registry checks.

What it is not

It is not a browser and not a registrar. It does not resolve a name, does not check a certificate and does not implement the full IDNA2008 mapping table.

Contact

A name whose encoding this page gets wrong, or a brand worth adding to the watch list, is worth a message: hello@pikkola.com.

Back to the studio