IDNA Domain Encode & Decode

Convert a Unicode domain name to its ASCII (xn--) form and back. This tool does both encode and decode on one page — just pick a mode, paste your text, and click. Everything runs on your device, nothing is sent to a server.

The result will appear here…
or press Ctrl+Enter

Everything runs in your browser. Your data is never sent to our servers.

728 × 90Ad Space AvailablePlace your ad here

Example

Example Input

münchen.de

Example Output

xn--mnchen-3ya.de

How to Use

  1. 1Choose Encode or Decode mode at the top.
  2. 2Type or paste your text into the Input field.
  3. 3Click the button (or press Ctrl+Enter) to process. The result appears in the Output field.
  4. 4Click Copy to copy the result, or "Swap input/output" to quickly reverse the operation.

About IDNA Domain

IDNA (Internationalized Domain Names in Applications) converts a whole Unicode domain name into the ASCII form DNS uses — each non-ASCII label gets an "xn--" prefix and is Punycode-encoded.

How it works: the domain is split by dots; each label containing non-ASCII characters is converted to Punycode with the xn-- prefix, while ASCII labels are left as-is. Decode reverses this to show the human-friendly name.

IDNA enables domains in any language. This tool is useful for seeing the technical form of an international domain, checking registrations, or detecting look-alike (homograph) domains.

FAQ

Can this IDNA Domain tool both encode and decode?

Yes. This is a single page with a toggle — use Encode mode to transform text, and Decode mode to reverse it. No need for two separate pages.

Is my data sent to a server?

No. IDNA Domain is processed entirely in your browser. The text you enter never leaves your device.

Related Tools

Related Categories