Punycode Encoder/Decoder

Original content:
Converted result:

About Punycode:

  1. Punycode converts Unicode domain labels to ASCII for DNS compatibility.
  2. Output contains ASCII-only characters for broad system support.
  3. Reversible: decoding restores the original non-ASCII text.
  4. Includes safeguards against certain encoding-based attacks.
  5. DNS only supports ASCII, hence Punycode exists.

How to Use

What this tool does

Converts Unicode labels to Punycode for DNS (toASCII) and back (toUnicode).

Steps

  1. Enter original label and click Punycode Encode.
  2. Paste punycode label (e.g. xn--...) and click Punycode Decode.

Example

例子.com → xn--fsqu00a.com

Notes