Punycode Converter (IDN)
Software · 1 inputs · Free
Punycode Converter (IDN)
Parameters
What is this tool?
Punycode Converter (IDN) helps developers with encoding, encryption and text processing. Converts internationalized domain names (IDN) with accented or non-Latin characters to Punycode (xn--…) and Punycode back to readable text (RFC 3492). The direction is detected per label: labels starting with xn-- are decoded, labels with non-ASCII characters are encoded.
📘 Common mistakes · Worked exampleConverts internationalized domain names (IDN) with accented or non-Latin characters to Punycode (xn--…) and Punycode back to readable text (RFC 3492). The direction is detected per label: labels starting with xn-- are decoded, labels with non-ASCII characters are encoded.
The result is not exact or binding and is for information only; it is not an official document and cannot be used in official procedures. Confirm it with the competent authority or a professional before acting; no liability is accepted for losses arising from its use.
Last reviewed: · Methodology and sources
How is it calculated?
Converts internationalized domain names (IDN) with accented or non-Latin characters to Punycode (xn--…) and Punycode back to readable text (RFC 3492). The direction is detected per label: labels starting with xn-- are decoded, labels with non-ASCII characters are encoded.
Inputs
| Value | Unit | Example |
|---|---|---|
| Domain name | — | münchen.de |
What is this tool?
Punycode Converter (IDN) helps developers with encoding, encryption and text processing. Converts internationalized domain names (IDN) with accented or non-Latin characters to Punycode (xn--…) and Punycode back to readable text (RFC 3492). The direction is detected per label: labels starting with xn-- are decoded, labels with non-ASCII characters are encoded.
Common mistakes
- Trying to encode the whole domain as one string. Punycode applies to each label separately; the dots stay where they are and only labels with non-ASCII characters receive xn--.
- Pasting a complete email address. Only the domain after the @ sign is converted to Punycode; the local part is not encoded this way.
- Measuring the 63-character limit on the readable form. The limit applies to the encoded label including xn--, and it grows with every non-ASCII character.
- Treating Punycode as encryption or obfuscation. It is a public, reversible encoding and hides nothing.
- Assuming every xn-- label is malicious, or that every readable name is safe. Legitimate IDNs are common; what matters is which characters the decoded label contains.
- Overlooking the difference between old and new rules for letters such as ß. The tool encodes ß as it is (straße.de → xn--strae-oqa.de), whereas the older IDNA 2003 rules mapped it to ss, so some software returns a different result.
📘 What Is Punycode? IDN Domains and the xn-- Prefix Explained →
Sources
- RFC 3492 — Punycode: A Bootstring encoding of Unicode for Internationalized Domain Names in Applications (IDNA) ↗
- RFC 5891 — Internationalized Domain Names in Applications (IDNA): Protocol ↗
- Unicode Technical Standard #39 — Unicode Security Mechanisms ↗
- Unicode Technical Standard #46 — Unicode IDNA Compatibility Processing ↗
Key terms
Frequently Asked Questions
+Punycode Converter (IDN) — how is it calculated?
Converts internationalized domain names (IDN) with accented or non-Latin characters to Punycode (xn--…) and Punycode back to readable text (RFC 3492). The direction is detected per label: labels starting with xn-- are decoded, labels with non-ASCII characters are encoded.
+Which values are required?
Domain name.
+Is my data stored?
No. All calculations run in your browser; the values you enter are never sent to or stored on a server. If you press “Save”, the calculation stays only in your own browser and you can delete it at any time.
+Is it free?
Yes, all tools are free and require no sign-up.
Similar tools
Popular Tools
Free Calculators in One Place
Tax, finance, health, math and more — 500+ tools, all in one place.