Conversion Tools100% Client-Side

Convert a Unicode Domain to Punycode

Enter a domain name with accents or characters from a non-Latin script to see its ASCII representation. You can use the returned hostname when a configuration field expects ASCII or when comparing a user-facing domain with a stored value. The conversion operates label by label, so an internationalized label can gain the xn-- prefix while an ordinary top-level domain such as .de remains readable.

Input
10 chars•1 lines
Output

Reverse tool

Punycode Decoder for ASCII Domains

Decode xn-- labels in an ASCII hostname to Unicode. Read internationalized names alongside ordinary DNS labels for support, documentation, and fixtures.

Open Punycode Decoder for ASCII Domains
Example input
xn--mnchen-3ya.de
Example output
münchen.de

How to Use the Punycode Encoder for Unicode Domains

  1. 1Paste the hostname, keeping the dots between its labels.
  2. 2Check which labels start with xn-- in the result. Each such label represents an internationalized portion of the hostname.
  3. 3Copy the ASCII hostname into the field or fixture that expects it.
  4. 4Paste the result into Punycode Decode to compare it with the intended Unicode spelling.

Input & Output Examples

The middle label is encoded while the surrounding ASCII labels remain in place.

Input Sample
www.bücher.de
Expected Output
www.xn--bcher-kva.de

Both labels contain Japanese characters and get their own xn-- prefix.

Input Sample
例え.テスト
Expected Output
xn--r8jz45g.xn--zckzah

Practical Developer Workflows

  • Prepare an internationalized hostname for a configuration field that expects the ASCII version.
  • Build a test case that checks whether an application's domain display handles both Unicode and Punycode labels.
  • Compare the hostname shown to a visitor with the ASCII name stored in an exported record.

Zero Server Uploads & Complete Privacy

Runs 100% in your browser; no data is uploaded to any server.

Notice a bug, calculation error, or outdated info?

Let us know directly so our engineering team can fix it.

Frequently Asked Questions

The conversion acts on each dot-separated label. An internationalized label can be represented with xn-- and its encoded payload. Ordinary ASCII labels such as www or de can stay readable alongside the converted part.

Explore Other Tools

12 suggested tools

View all tools