IDN Punycode Converter
- Bulk lists, character inspector, “looks like” check
- IDNA 2003 compatibility note and .txt download
- Premium: domains inside text/HTML, raw Punycode, file upload, CSV export
Some domain names use non-English characters, like Chinese, Arabic, or Cyrillic. How do they function on the web, and how can you reach them? They use IDN Punycode converter, a special encoding method that makes internationalized domain names (IDNs) work with the ASCII standard. On this page, you can use an Online Signature Generator to change between punycode and Unicode, and discover how it works and why it is helpful.

What is IDN Punycode Converter Tool
An IDN Punycode converter is a tool that allows you to convert IDN domain names between their native language characters and their Punycode representation. IDN domain names are domain names that contain characters from non-Latin scripts, such as Chinese or Arabic.
The internet has traditionally been dominated by English, but the global
landscape is rapidly changing. Billions of users worldwide access the web in
languages other than English. To cater to this diverse audience and create a
more inclusive online experience, Internationalized Domain Names (IDNs)
were introduced.
IDNs allow website owners to register domain
names using characters from their native languages, such as Arabic, Chinese,
Cyrillic, and more. This provides a familiar and trustworthy experience for
users who are not accustomed to the English alphabet. For instance, a French
company could have a domain name like "excellent.fr"
displayed in French characters, making it instantly recognizable to their
target audience.
However, the Domain Name System (DNS), the internet's phonebook that translates domain names into IP addresses, was originally designed to handle a limited set of characters – the ASCII character set (letters a-z, numbers 0-9, and hyphens). Non-ASCII characters, such as accents, umlauts, and characters from other languages, posed a challenge. This is where Punycode comes in.
How to Use the IDN Punycode Converter Tool
The IDN Punycode converter tool is a simple and convenient way to encode or decode punycode online. You can use it to convert any Unicode string into punycode, or vice versa.
To use the tool, just follow these steps:
- Enter your input string in the content box. It can be either punycode, ASCII or IDN/TXT.
- Select the conversion mode from the Type drop-down menu. You can choose to encode or decode punycode.
- Click on the Submit button to get the output string.
- Copy or share the output string as you wish.
Some tips and best practices for using the tool are:
- Make sure your input string is valid and does not contain any illegal characters.
- Check the output string for any errors or typos before using it.
- Use the tool for educational or personal purposes only. Do not use it for malicious or illegal activities.
How Does Punycode Work
Punycode is a form of ASCII-Compatible Encoding (ACE) that encodes Unicode characters into ASCII characters. It is based on a simple algorithm that uses digits, hyphens, and lowercase letters to represent Unicode code points. The algorithm consists of two parts:
- The basic code points, which are ASCII characters that do not need to be encoded, such as letters, digits, and hyphens. They are copied unchanged to the output string.
- The extended code points, which are non-ASCII characters that need to be encoded, such as accented letters, symbols, or ideographs. They are encoded using a variable-length sequence of digits and letters, preceded by a hyphen.
The algorithm also adds a special prefix, xn--, to the output string to indicate that it is punycode. For example, the IDN مثال.إختبار (meaning “example.test” in Arabic) is encoded as xn--mgbh0fb.xn--kgbechtv in punycode.
For example, let's say a Japanese company wants to register the domain name (素晴らし translates to "wonderful" in Japanese). Punycode would convert this to "xn--68j5e531pk7s". While the Punycode version may seem less user-friendly, it ensures the domain name functions correctly behind the scenes.
Punycode acts as a translator for IDNs. It takes a domain name containing
non-ASCII characters and converts it into a compatible format that the DNS can
understand. This conversion process involves encoding the special characters
into a string of letters, numbers, and hyphens, all allowed within the ASCII
character set. The converted string is always prefixed with "xn--".
Advantages of Using IDN Punycode
There are several compelling reasons to consider using IDN Punycode for your website:
- Increased Brand Recognition and User Trust: An IDN displayed in the user's native language fosters a sense of
familiarity and builds trust.
- Improved User Experience: Users can easily find and
remember your website when the domain name is displayed in their language.
- Targeted Marketing: IDNs allow you to tailor your
website and marketing messages to specific regions and languages.
- Potential SEO Benefits: Using keywords in your target
language within the IDN can enhance your website's search engine ranking
for those specific searches.
IDN Punycode converter decoding is the reverse process of punycode encoding. It takes a punycode string as input and converts it back to Unicode. It removes the prefix xn-- and splits the string into two parts: the basic code points and the extended code points. It then decodes the extended code points using a similar algorithm as encoding, and appends them to the basic code points. For example, the punycode xn--fsqu00a.xn--3lr804h is decoded as 例子.测试 (meaning “example.test” in Chinese) in Unicode.
If you want to use punycode for your own domain name, or just want to learn more about it, you can use our free online IDN Punycode converter tool. It can help you to encode or decode punycode easily and quickly. You can also check out other related tools that we have listed below.
Convert Punycode (xn--) and Unicode domains instantly
Type or paste a domain name, a full URL or an email address. The converter works out the direction by itself: a name with Arabic, Cyrillic, Chinese or accented letters becomes Punycode (xn--), and an xn-- name becomes readable again. You always see both forms side by side, with a copy button for each, and the result updates as you type — there is no Submit button any more.
- Decode a strange address – found
xn--80ak6aa92e.comin a log, an email or a browser bar? Paste it and see the real name. - Prepare an IDN for technical use – DNS records, server and hosting panels, SSL certificate requests and many forms only accept the ASCII form.
- Whole URLs and emails – only the host name is converted; the path, the query and the part before @ stay as they are.
- Check for lookalike domains – the tool warns when a name mixes alphabets or uses letters that only look Latin.
How to use the Punycode converter
- Type or paste one or more names into the Domain, URL or email box (one per line), or click one of the examples.
- Read the result: Unicode (readable) and Punycode / ASCII (xn--). The converted form is shown in bold.
- Click Copy next to the form you need, or Copy all results for every line at once.
- Open Label by label to see how each part of the name (including the top-level domain) is encoded, its alphabet and its length.
- If a yellow warning appears, read it before you trust the address.
Punycode examples
| Readable (Unicode) | Punycode (ASCII) | Note |
|---|---|---|
| münchen.de | xn--mnchen-3ya.de | German umlaut |
| café.fr | xn--caf-dma.fr | French accent |
| españa.es | xn--espaa-rta.es | Spanish ñ |
| пример.рф | xn--e1afmkfd.xn--p1ai | Cyrillic name and the Russian .рф ending |
| مثال.إختبار | xn--mgbh0fb.xn--kgbechtv | Arabic test domain |
| 例子.中国 | xn--fsqu00a.xn--fiqs8s | Chinese name and the .中国 ending |
| straße.de | xn--strae-oqa.de | ß is kept (IDNA 2008); old software made it strasse.de |
Spot lookalike (homograph) domains
Some letters from other alphabets look exactly like Latin ones. аррӏе.com above is written with Cyrillic letters: in the browser it looks like a famous brand, but its real address is xn--80ak6aa92e.com. Attackers use such names in phishing emails and fake login pages.
The converter checks every label. It warns when one label mixes alphabets (for example Latin + Cyrillic), or when every letter of a non-Latin label can pass for a Latin letter. With a free account you also see which Latin name it imitates (“Looks like: apple.com”) and can open the Character inspector to check each character and its code point. If a link you received decodes into a warning, do not sign in on that page.
What you get with each plan
| Feature | No account | Free account | Premium |
|---|---|---|---|
| Convert domains, URLs and emails (both directions) | ✓ (5 lines at once) | ✓ | ✓ |
| Label table, alphabet detection, lookalike warnings | ✓ | ✓ | ✓ |
| Bulk list with status column and .txt download | – | ✓ | ✓ |
| Character inspector and “Looks like” check | – | ✓ | ✓ |
| IDNA 2003 compatibility note (ß, ς) | – | ✓ | ✓ |
| Convert every domain inside a text, HTML or hosts file | – | – | ✓ |
| Raw Punycode encode/decode, .txt/.csv upload, CSV export | – | – | ✓ |
Private by design
The conversion runs in your browser with the Punycode algorithm (RFC 3492) and your browser’s own IDNA rules. The names you type are not sent to our server.
Good to know about Punycode
xn--is the marker that tells software “the rest of this label is Punycode”.- Each part between dots is converted on its own, the ending too:
.рфbecomesxn--p1ai. - In ASCII form a label can have at most 63 characters and the whole name 253.
- Capital letters are turned into small letters during conversion, so
München.deandmünchen.deare the same domain. - Browsers show the
xn--form instead of the readable one when a name looks risky, for example when it mixes alphabets. - In an email address only the domain after @ uses Punycode. A non-Latin part before @ needs mail servers with SMTPUTF8 support; Punycode does not apply to it.
Related tools
- SSL Lookup – check the certificate of a domain
- QR Code Reader – see the real link hidden in a QR code
- Mailto Link Generator – build email links
- Slug Generator – make clean URL slugs
Punycode converter – frequently asked questions
What is Punycode?
Punycode is a way to write any Unicode text with only the letters a–z, digits and the hyphen. Domain names use it so that names in Arabic, Cyrillic, Chinese or with accents work in the DNS, which only accepts ASCII. A converted label starts with xn--.
How do I decode an xn-- domain?
Paste it into the box above. The readable (Unicode) form appears at once, for example xn--e1afmkfd.xn--p1ai becomes пример.рф. You can paste a whole URL or email address too.
Why does my browser show xn-- instead of the real name?
Browsers switch to the Punycode form when a name could be confused with another one, for example when it mixes alphabets or the language does not match your settings. It is a safety feature; decode the name here to see what it says.
Is a domain that starts with xn-- dangerous?
Not by itself — millions of legitimate sites use international names. Be careful when the decoded name imitates a well-known brand or mixes alphabets; the converter shows a warning in that case.
Can I convert a complete URL or an email address?
Yes. Only the host name is converted. The protocol, port, path, query and the part before @ stay exactly as you typed them.
Why is straße.de converted to xn--strae-oqa.de and not strasse.de?
Under the current standard (IDNA 2008) ß is a real letter and keeps its own Punycode form. Old software that follows IDNA 2003 turns it into ss. Free accounts see both forms when they differ.