Simple online tools for developers, networking, text and conversions.

Developer Tools

IDN Encode

Convert an internationalized domain name into punycode form.

Tool

Use this IDN Encode tool to convert Unicode domain names into ASCII punycode form. It is useful for domain testing, technical checks, DNS work, browser compatibility review, and understanding how internationalized domain names are represented in systems that expect ASCII hostnames.

About this tool

Use this IDN Encode tool to convert Unicode domain names into ASCII punycode form. It is useful for domain testing, technical checks, DNS work, browser compatibility review, and understanding how internationalized domain names are represented in systems that expect ASCII hostnames.

Use idn encode when you need a fast browser-based result without extra setup. It works well for quick checks, one-off tasks, and routine formatting or calculation work.

Learn more

Why use this tool

How to use

  1. Paste a domain name into the input box
  2. Click Run Tool to encode it
  3. Review the punycode hostname output
  4. Check whether the result starts with xn-- where expected
  5. Copy the encoded domain for technical use

Examples

Example

Input

דוגמה.ישראל

Output

xn--7db6aa.xn--4dbrk0ce

Shows how a Unicode domain becomes ASCII punycode.

Example

Input

münich.com

Output

xn--mnich-kva.com

Useful for checking browser-style punycode conversion.

Common errors

Pasting a full URL instead of just a domain

Fix: Use a clean hostname when possible for the clearest result.

Expecting IDN encoding to work like URL encoding

Fix: IDN encoding is for hostnames, not for full URL escaping.

Using text that is not a valid hostname

Fix: Enter a domain or hostname rather than general text.

FAQ

What does IDN Encode do?

It converts a Unicode domain name into ASCII punycode form.

What is punycode?

Punycode is the ASCII-compatible encoding used for internationalized domain names.

Is IDN encoding the same as URL encoding?

No. IDN encoding is for hostnames, while URL encoding is for unsafe characters inside URLs.

When should I use IDN Encode?

Use it when you need the ASCII punycode form of a Unicode domain.

What is the difference between IDN Encode and IDN Decode?

IDN Encode turns Unicode hostnames into punycode, while IDN Decode turns punycode back into readable Unicode.

Use cases

Related tools