DNS and registrar prep
Convert a Unicode hostname into its ASCII punycode form before you paste it into zone files or registrar fields.
Documentation
Convert internationalized hostnames to ASCII punycode or decode punycoded labels back to readable Unicode.
Overview
Use Punycode Toolkit when you need the canonical ASCII or Unicode form of a hostname before DNS changes, certificate checks, redirects, or handoffs between systems.
Convert a Unicode hostname into its ASCII punycode form before you paste it into zone files or registrar fields.
Decode `xn--` labels back to Unicode when you need to confirm which hostname a config or certificate entry actually represents.
Check exactly which labels changed so you can spot the part of the hostname that carries punycode.
Supported inputs
Walk through it
Workflow
Use this flow before you paste an internationalized hostname into DNS, TLS, or app configuration fields that expect ASCII hostnames.
Workflow
Use this flow when you want to confirm what an `xn--` hostname means before you compare logs, redirects, or certificate coverage.
What you get
The main result follows the selected direction so the next copy target is obvious.
Both stable representations are shown together so you do not need to rerun the tool to compare them.
Each hostname label is split into source, converted, ASCII, and Unicode values with a changed flag.
Avoid these mistakes
Enter only the hostname or domain. Do not include `https://`, paths, query strings, or fragments.
This tool converts hostnames only. Paste just the domain portion if that is what you need to inspect.
Only labels starting with `xn--` are punycoded. Plain ASCII labels can remain unchanged in both directions.
Glossary
This section translates the most technical labels on the page into plain language so you can interpret the output without opening another tab.
IDN stands for internationalized domain name. It is a hostname or domain that includes non-ASCII characters such as accented Latin letters, Japanese characters, or other scripts.
Punycode is the ASCII encoding used to represent non-ASCII hostname labels in systems that still expect DNS-safe ASCII text.
An ASCII hostname uses only letters, numbers, and hyphens in each label. Punycode labels start with `xn--` when they encode non-ASCII characters.
A label is one dot-separated segment of a hostname, such as `www`, `bücher`, or `example`.