Web & Developer Utilities100% Client-Side

IDN and Punycode Decoder

An internationalized hostname can appear in logs or configuration as an ASCII name with a label beginning xn--. Paste that hostname to see the Unicode characters it represents. The tool decodes each matching label and keeps ordinary labels in place. Start with the hostname itself, without a scheme, so the decoder sees the part that contains Punycode. The result can help you compare a machine-written hostname with the spelling you expected.

Input
17 chars•1 lines
Output

Reverse tool

Punycode Encoder

Convert internationalized domain names to their ASCII Punycode form. Inspect a hostname or normalize the host in a full URL for configuration and testing.

Open Punycode Encoder
Example input
münchen.de
Example output
xn--mnchen-3ya.de

How to Use the Punycode Decoder Online

  1. 1Copy the hostname from the source. When you have a whole URL, use the URL Parser to get its hostname before decoding it.
  2. 2Paste that hostname into the decoder. Check each decoded label alongside the original ASCII spelling, including any subdomain and suffix.
  3. 3If the text represents an address somebody sent, compare it with the expected hostname and review any visually similar letters.
  4. 4Copy the Unicode form for a note or a test. Keep the original ASCII hostname available when a configuration expects that exact representation.

Input & Output Examples

The first label becomes bücher and the example suffix remains ASCII.

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

The middle label becomes café, and the path after the hostname is retained as written.

Input Sample
docs.xn--caf-dma.example/menu
Expected Output
docs.café.example/menu

Practical Developer Workflows

  • Read an internationalized host recorded in an access log before comparing it with a report or user-provided spelling.
  • Review the Unicode and ASCII forms of a hostname side by side while debugging a redirect or callback setting.
  • Create a decoding fixture containing both an internationalized label and ordinary subdomain labels.

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

Extract the hostname first. The decoder reads the leading domain-shaped part, so a scheme such as https:// can keep it from reaching the hostname. Use the URL Parser to separate the hostname from the rest of the address.

Explore Other Tools

12 suggested tools

View all tools