Examples
| Unicode | Punycode |
|---|---|
| münchen.de | xn--mnchen-3ya.de |
| bücher.example | xn--bcher-kva.example |
| café.fr | xn--caf-dma.fr |
Related tools
Frequently asked questions
What is Punycode?
An encoding that represents Unicode characters with the letters, digits and hyphens that DNS allows. Encoded labels start with xn--.
Why does my domain need it?
DNS, many server configs and some certificate tools only accept ASCII, so münchen.de must be written xn--mnchen-3ya.de there.
Which form should I use in nginx or Apache?
The xn-- form in server_name and ServerName; browsers show visitors the Unicode form.
How does it help against phishing?
Look-alike domains mix letters from other scripts, such as a Cyrillic а in place of a Latin a. The xn-- form makes the difference obvious.
Are paths and email user names converted?
No – only the domain is converted. Paths use percent-encoding, and international email user names follow a separate standard.
Are capitals preserved?
No – domains are case-insensitive, so they are lower-cased before conversion.
Is each part converted separately?
Yes – Punycode applies label by label, so only labels with non-ASCII characters get the xn-- prefix.
Which library is used?
punycode.js 2.3, the implementation also built into Node.js.
Can I convert emoji domains?
Yes, they encode to xn--, though most registries no longer allow new emoji domains.
Is anything looked up online?
No – conversion only, in your browser.
Is it free?
Yes – no sign-up, no limits and no watermark.
Is my input uploaded?
No. Everything runs in your browser tab; nothing you paste or open is sent to Docelora.
Can I use the output in commercial projects?
Yes. What you generate is yours to use however you like.
Does it work on a phone?
Yes – the layout adapts to small screens, though long code is easier to work with on a larger display.
How do I copy the result?
Use the Copy button under the result, or Download to save it as a file.
Which browsers are supported?
Current versions of Chrome, Edge, Firefox and Safari.
Do I need to install anything?
No – it runs in your web browser, and any library it needs is loaded from Docelora the first time you use it.
Is my input kept after I close the page?
No – copy or download the result before closing the tab.
Can I suggest an improvement?
Yes – use the Contact page to tell us what would make the tool more useful.
Does it work offline?
Once the page and its library have loaded, the processing itself needs no connection.
Last reviewed: 16 November 2026.