Punycode converter (IDN)
Enter a domain in any script, or one starting with xn--, to see both forms.
Punycode (ASCII)
Unicode
How to use
- Enter a domain or a URL; the host name is picked out.
- The ASCII and Unicode forms appear together.
- Copy the form you need for DNS records or certificates.
Questions
Why Punycode?
DNS only carries letters, digits and hyphens, so non-ASCII labels are written in an ASCII form that starts with xn--.
What happens to capital letters?
They are case-folded as the IDNA rules require.
Which rules are used?
Encoding follows your browser's URL parser (IDNA); decoding is RFC 3492 Punycode.
Is my input saved or sent?
No. It is processed in your browser only.
Related tools
- Password generatorStrong random passwords from your browser's cryptographic random generator. Choose length and character sets.
- Unix timestamp converterUnix timestamps (seconds or milliseconds) to dates in several time zones, and dates back to timestamps.
- Base64 encode / decodeEncode text to Base64 and decode Base64 back to text, with full UTF-8 (Korean, Japanese, emoji) and URL-safe output.
- URL encode / decodePercent-encode text or URLs and decode %XX sequences back to readable text, with a table of query parameters.
- JSON formatter & validatorPretty-print or minify JSON, sort keys, and see exactly which line and column a syntax error is on.
- UUID generatorGenerate UUID v4 (random) or v7 (time-ordered) in bulk, upper or lower case, with or without hyphens.