Type a domain name with letters beyond plain English and get its plain-letter spelling, the one that starts xn--.
FluffyShieldProtected workspace
Loading the tool…
The tool didn't load. Reload the page, or check whether an extension or network filter blocks .
Free · No upload · No sign-up · No usage quotas
What does xn-- at the start of a web address mean?
It flags a name that had letters beyond plain English. You can still read most of it: the plain letters come first, and a short code at the end puts the others back.
FluffyBench · 3 min read · Reviewed
How a name is spelled out
Lower any capitals and check each letter is allowed
→Leave every part between dots that's already plain
→Write each other part as xn--, its plain letters, a hyphen and the code
What it does
The code starts after the last hyphen
bäckerei-müller.example becomes xn--bckerei-mller-bfb28a.example. The name's own hyphen stays where it was.
No plain letters, no hyphen
пример.example is all code: xn--e1afmkfd.example.
Limits Nothing is looked up, so a name that converts may not exist or be anyone's.
A bakery's address that reads xn--bckerei-5wa
A bakery has registered the name bäckerei.example, and a settings form wants the domain in "ASCII form". Or a link in an email reads xn--bckerei-5wa.example where you expected the ä. It's the same name both times.
A domain name has to be looked up before a browser can reach the site, and the lookup accepts names made of plain English letters, digits and hyphens. A name with any other letter is sent in a stand-in spelling made from those characters alone. The xn-- at the front of a part is a flag that says: this part is coded, and can be decoded back into letters.
The plain letters first, the rest after the hyphen
The coding is called Punycode, and it's less mysterious than it looks. It copies every plain letter of the part, in order, so bäckerei gives bckerei. Then comes a hyphen, and after it a few letters and digits that say which letter is missing and where it goes.
The name, taken apart
Everything up to the last hyphen can be read by eye. Only the last three characters need decoding. How we checked
It works like a word typed on a keyboard with no ä, with a footnote: put an ä after the first letter. The 5wa at the end is that footnote, written so that a machine can read it back exactly.
The ending .example has nothing to code, so it stays as it was.
Getting the xn-- spelling of your name
This box is the Unicode domain to Punycode setting of FluffyBench's URL encoder, where the way back, from Punycode to Unicode domain, is one choice away.
Type the name into the Input box, with nothing before it or after it.
Find its xn-- spelling in the Punycode box; on a phone, it's under Result.
Press Copy to carry the xn-- spelling to wherever it was asked for.
Paste a whole address instead, such as https://bäckerei.example/brot, and it stops with "Enter a domain name only, without a URL scheme, path, port, credentials or whitespace." Delete the https:// and everything after the name, then try again.
When you have more than a name
You want the coded name out of a whole web address