Encodes/decodes internationalized domain names (Punycode, RFC 3492).
Punycode converts internationalized domain names (IDNs) between their Unicode form and the ASCII-compatible encoding defined in RFC 3492. Encode mode turns labels containing non-ASCII characters into their xn-- prefixed form, and decode mode reverses any xn-- label back to readable Unicode. It is handy whenever you need to inspect, validate, or troubleshoot how a domain with accented or non-Latin characters is represented on the wire.
No. The conversion runs entirely in your browser using a client-side RFC 3492 implementation, and nothing you type or paste is uploaded anywhere.
The input is split on dots and each label is processed independently. When encoding, only labels containing non-ASCII characters get the xn-- prefix; when decoding, only labels starting with xn-- are converted, and the rest are left unchanged.
Decode mode checks for the xn-- prefix case-insensitively, so XN-- works too. Labels without that prefix are passed through as-is, since they are already plain ASCII.
Decoding reports an error for malformed input, such as a non-ASCII character in the basic segment, an invalid digit, an unexpected end of input, or an integer overflow per the RFC 3492 limits.
No. This tool performs only the Punycode encode and decode step. It does not run Unicode normalization, case folding, or full IDNA mapping, so prepare your labels accordingly before encoding.