Punycode Converter
Convert domain names and email addresses between Unicode and Punycode (xn--), one per line, with a warning for look-alike domains. Private.
Domains or addresses
Stays in your browserConverted
The result appears here after you press Convert.
Shortcuts: Ctrl+Enter run · Ctrl+Shift+C copy result · / search (use ⌘ on Mac)
Next steps
Done here? Use the Send to… menu on the result to carry it on to URL Parser.
Free Online Punycode Converter
Domain names in other languages are sent over the internet as Punycode. Convert in both directions and check for look-alike letters. It gives developers a quick browser-based way to solve a focused punycode converter task before moving the result into a project.
How to use Punycode Converter
Paste your code in the box on the left, or open a file, then press Convert. Choose the direction and what you are converting. Put one item per line.
Common mistakes
- Converting a whole URL: paste only the domain name.
- Trusting a domain because it looks right: check for mixed scripts.
Frequently asked questions
What is Punycode?
A way to write any Unicode text with only letters, digits and hyphens. A domain label written this way starts with xn--.
What is a homograph attack?
Letters from other alphabets can look identical to Latin letters (the Cyrillic "а" and the Latin "a"). A look-alike domain can fool visitors. The tool warns when one label mixes scripts.
What about the part before @ in an email?
Only the domain is converted. A non-ASCII name before the @ needs SMTPUTF8 support on the mail servers.
Is my code uploaded anywhere?
No. The conversion runs in your browser and nothing you paste is sent to a server.
How do I use this punycode converter tool?
Use the interactive controls above; processing stays in your browser and the result is intended as a practical starting point for development work.
More Code & Conversion
Unix Timestamp ConverterTurn computer time into a real dateTimezone ConverterFind the time in other citiesNumber / Byte FormatterTurn bytes into KB, MB and GBCron ParserUnderstand a cron schedule in plain EnglishBase ConverterConvert binary, decimal and hex numbersCase ConverterChange text to UPPER, lower, Title caseSlug GeneratorMake clean web addresses from titlesSubnet CIDR CalculatorWork out IP ranges for networks