We use cookies.This website uses essential cookies to operate core features. With your consent, we also use analytics cookies to understand traffic and improve the service. For more details, see our .
If this tool helped you, you can buy us a coffee ☕
An online converter for Internationalized Domain Names (IDNs) and ASCII formats, designed to process non-ASCII characters like Chinese domains.

Vigenère Cipher Encoder & Decoder
Encrypt or decrypt text using the classic polyalphabetic substitution algorithm. Ideal for cryptography learning and testing.

Random Number Generator
Generate random integers or decimals within a specified range, featuring duplicate removal, sorting, and formatted output.

Random Password Generator
Customize character types and length to generate strong random passwords and secure your accounts.

Caesar Cipher Encoder & Decoder
Free online Caesar cipher encryption and decryption tool. Supports custom alphabets and shift offsets. Ideal for cryptography learning and fun.

Vigenère Cipher Encoder & Decoder
Encrypt or decrypt text using the classic polyalphabetic substitution algorithm. Ideal for cryptography learning and testing.

Random Number Generator
Generate random integers or decimals within a specified range, featuring duplicate removal, sorting, and formatted output.

Random Password Generator
Customize character types and length to generate strong random passwords and secure your accounts.

Caesar Cipher Encoder & Decoder
Free online Caesar cipher encryption and decryption tool. Supports custom alphabets and shift offsets. Ideal for cryptography learning and fun.

CRC16 Checksum Calculator
Online CRC16 checksum tool to calculate 16-bit cyclic redundancy check values for text, Hex, and Base64 data to verify data integrity.
When you need to register a domain containing non-ASCII characters, such as "中文.中国" (Chinese.China), browsers and DNS systems cannot recognize it directly. This tool solves that core pain point. Punycode is an encoding scheme that converts Unicode strings (like non-English domains) into a subset of ASCII characters, allowing Internationalized Domain Names (IDNs) to function within the existing DNS architecture. The tool converts an input like "例子.中国" (example.china) into an ASCII-formatted Punycode string like "xn--fsq.xn--fiqs8s", and vice versa.
Q: Do Punycode-encoded strings always start with "xn--"?
Yes. According to the standard, all non-ASCII domain parts encoded with Punycode use the ACE (ASCII-Compatible Encoding) prefix "xn--". This is the key identifier of a Punycode string.
Q: Can the tool process a full URL, such as "https://中文.中国/path"?
No. This tool only processes the domain name itself. For a complete URL, you should extract only the domain part (e.g., "中文.中国") for conversion. The protocol (http/https) and the path (/path) should not be encoded.
When using this tool, please ensure your input consists only of domain labels (e.g., "中文", "中国"). Do not include prefixes like "http://" or "www.", nor trailing slashes. There are length limits for encoded results; excessively long domains may fail to convert. When decoding, ensure the input Punycode string is correctly formatted and complete. This tool does not store or upload any of your input data.
For developers and domain administrators, using this tool to verify IDNs before handling them in applications or configuration files can prevent compatibility issues. A typical use case: when deploying a domain like "企业.公司" (enterprise.company) to a legacy system that only supports ASCII, first encode it to "xn--fct102k.xn--55qx5d" before configuring. Remember, Punycode encoding only alters the "label" parts of the domain. Subdomains and top-level domains (like .com, .net) remain unchanged if they are already in English. Using the Punycode format uniformly when dealing with mail servers (SMTP) or database indexing ensures consistency.