Summary
- RFC 3492, March 2003, defines Punycode, which "uniquely and reversibly transforms a Unicode string into an ASCII string" for internationalised domain names.
- It is one instance of a more general algorithm called Bootstring, in which "a string of basic code points" can "uniquely represent any string of code points drawn from a larger set".
- ASCII characters stay literal; everything else is spelled with letters, digits and hyphens only, so a label remains legal where labels are restricted.
Two problems wearing one coat
Getting a name through a system that only reads ASCII is a transport problem. Deciding whether two names that look alike are the same name is a meaning problem.
Punycode is exact about the first and silent about the second. It will carry any name across the ASCII border; it will not tell you whether the name that arrived is the one you meant to send. That silence is why the homograph argument is now old enough to vote and no closer to settled: a Cyrillic "а" and a Latin "a" render as the same shape, encode as different strings, and both resolve. Only one of them is yours.
It is not base64, and the difference is the point
Base64 mangles everything it touches, ASCII included. Punycode leaves basic code points exactly as they are and compresses only the rest — a bet that its inputs will be short and nearly identical.
That is a domain label: short, typed by humans, and frequently one character away from its neighbour. The algorithm is efficient precisely because it assumes small, similar inputs. It is not a general-purpose encoder and has never claimed to be one.
Reversible is the entire promise
The specification guarantees uniqueness and reversibility: one string in, one string out, and back again without ambiguity. That is what lets a resolver treat the ASCII form as an identifier rather than a rumour. münchen becomes mnchen-3ya, which the DNS wears as xn--mnchen-3ya, and back again — every time, on every machine, without a committee.
An identifier that is stable, comparable and storable is all a name service ever needed. It also means the encoding cannot be blamed for anything a reader misreads. The bytes were never the problem.
What it deliberately declines to decide
Which Unicode strings are equivalent. Whether case matters. How to normalise before encoding. Those belong to the profile that uses Punycode — IDNA and its successors — not to the encoding itself.
That division is clean engineering and a permanent source of bugs, because the layer that knows what a name means is not the layer that guarantees the bytes. Every system that separates meaning from mechanism inherits the same seam; every system that tries to weld the two together inherits a worse one.
The lesson: a shape, not a significance
An encoding guarantees a shape, not a significance. Systems that confuse the two end up with identifiers nobody can trust, because two encodings of "the same" name are not the same string, and staring at them will not tell you which is which.
The rule is the one good design follows everywhere: solve transport with a reversible mapping, solve meaning with a profile that says what counts as equal, and never let the mapping pretend to do both jobs. Specify only what must be common; leave the rest to the layer that bears the consequence.
Member Briefing
Read the full trend briefing
Members read the full briefing with the source notes behind every finding.
Strategic Circle
A daily briefing in your language, built from changes we have verified.
Join for USD 20/monthCancel anytime.
Members also get the full research library, a daily briefing on the networks they follow and the private forum.






