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

Converters

Text to Punycode

Convert Unicode text or internationalized domains into Punycode instantly.

Tool

Use this Text to Punycode converter to transform Unicode text into Punycode form. It is useful for internationalized domain names, IDN testing, DNS-related workflows, browser compatibility checks, and understanding how non-ASCII text is represented in ASCII-safe Punycode format.

About this tool

Use this Text to Punycode converter to transform Unicode text into Punycode form. It is useful for internationalized domain names, IDN testing, DNS-related workflows, browser compatibility checks, and understanding how non-ASCII text is represented in ASCII-safe Punycode format.

Use text to punycode 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 Unicode text or a domain label into the input box
  2. Click Run Tool to convert it to Punycode
  3. Review the encoded result
  4. Copy the output into your test, domain, or technical workflow
  5. Use Punycode to Text to reverse it later

Examples

Example

Input

münchen

Output

xn--mnchen-3ya

Useful for understanding how Unicode domain labels become ASCII-safe Punycode.

Example

Input

mañana

Output

xn--maana-pta

Useful for browser and DNS-related IDN checks.

Common errors

The user expects full URL encoding rather than Punycode

Fix: Use URL Encoder for URLs and query values. Punycode is mainly for internationalized domain labels.

The input is already Punycode

Fix: Use Punycode to Text if the value already starts with xn--.

The user expects full-domain normalization automatically

Fix: Review whether you are converting one label or a full hostname.

The input contains spaces or non-domain text

Fix: Punycode is most useful for domain labels and Unicode hostnames.

The user expects encryption or obfuscation

Fix: Punycode is just a representation format, not security.

FAQ

What does Text to Punycode do?

It converts Unicode text into ASCII-safe Punycode form.

When is Punycode useful?

It is useful for internationalized domain names and IDN-related technical workflows.

Is Punycode the same as URL encoding?

No. Punycode is for internationalized domain labels, while URL encoding is for unsafe characters inside URLs.

Why does the result start with xn--?

That is the standard prefix used for Punycode domain labels.

What is the reverse of Text to Punycode?

The reverse tool is Punycode to Text.

Use cases

Related tools