Alpha DevTools logoAlpha DevTools
All ToolsBy Technology
Search tools…⌘K
ToolsEncoders & DecodersPunycode / IDN Converter

Punycode / IDN Converter

Encoders & Decoders

Convert internationalized domain names between Unicode and Punycode ACE format. Handles full domains with multiple labels and bidirectional conversion.

xn--mnchen-3ya.de
What is Punycode?

Punycode is a way to represent Unicode characters in the ASCII character set for use in DNS (domain names). Internationalized domain names (IDNs) use the xn-- prefix. For example, münchen.de → xn--mnchen-3ya.de.

Related Tools

Base64 Encoder / DecoderURL Encoder / DecoderHTML Entity Encoder / DecoderText ↔ Binary Converter

About Punycode / IDN Converter

The Punycode converter translates internationalized domain names (IDN) between their human-readable Unicode form and the ASCII-compatible encoding (ACE) used in DNS. Enter a Unicode domain like `münchen.de` to get `xn--mnchen-3ya.de`, or paste an `xn--` label to decode it back. Full multi-label domains are handled correctly — each label is encoded or decoded independently.

Features

  • ✓Encodes Unicode domain names to Punycode ACE (xn-- prefix) format
  • ✓Decodes xn-- Punycode labels back to Unicode
  • ✓Processes full multi-label domains (e.g. subdomain.münchen.de)
  • ✓Handles mixed domains where only some labels are non-ASCII
  • ✓Bidirectional — auto-detects direction or let you choose manually
  • ✓Shows a per-label breakdown for complex domains
  • ✓100% client-side — no DNS lookups or server requests made

Common Use Cases

  • Verifying that an internationalized domain name resolves to the correct ACE form before registering it
  • Debugging IDNA issues in email headers that contain non-ASCII domain parts
  • Converting localised brand domains to their DNS-safe Punycode equivalents for configuration files
  • Decoding unfamiliar xn-- labels encountered in DNS records or certificate SANs

Frequently Asked Questions

QWhat is Punycode?

Punycode is an encoding defined in RFC 3492 that maps Unicode strings to a restricted ASCII subset. DNS uses it (via IDNA) to represent non-ASCII hostnames.

QWhat does the xn-- prefix mean?

The xn-- ACE (ASCII-Compatible Encoding) prefix signals to DNS resolvers that the label is Punycode-encoded rather than plain ASCII.

QDoes the tool support IDNA 2008 as well as IDNA 2003?

The converter uses standard Punycode encoding/decoding. Specific IDNA version rules (which affect character validity) are noted where they differ.

QCan I encode email addresses with non-ASCII domains?

Yes. Paste the domain part of the address and the tool will encode it. The local part (before @) uses a different standard (EAI/RFC 6531) and is not processed here.

See Also

  • Base64 Encoder / DecoderEncode text in Base64, URL, HTML entities, and more
  • Gzip ToolCompress and decompress text with Gzip
189+ tools·and growing
100% private·nothing uploaded
Zero signup·open instantly
Always free·no paywalls ever
Alpha DevTools logoAlpha DevTools

Fast, free developer utilities for daily tasks. No signup required. Everything runs in your browser.

GitHubTwitter

Categories

  • Formatters
  • Converters
  • Security
  • Encoders & Decoders
  • UI Tools
  • Diagrams
  • Text & String
  • All categories

Technologies

  • JSON
  • YAML
  • CSV
  • XML
  • SQL
  • HTML
  • CSS
  • All technologies

Popular Tools

  • JSON Formatter
  • UUID Generator
  • JWT Decoder
  • Regex Tester
  • SQL Formatter
  • YAML Formatter

Platform

  • Home
  • All Tools
  • By Technology
  • Licenses
  • Contact

© 2026 Alpha DevTools — All rights reserved.

189+ tools · 14 categories · Free forever·Open-source licenses