Convert internationalised domain names to and from their xn-- punycode form, check they can resolve, and spot lookalike characters.
Initializing in your browser…
Convert Unix timestamps to dates and dates to timestamps in any time zone, with seconds, milliseconds, microseconds and nanoseconds detected automatically.
Convert audio between MP3, M4A, WAV, FLAC, OGG and AAC in your browser, with a choice of quality, sample rate, channels and bit depth.
Convert colours between HEX, RGB, HSL, OKLCH, Lab and five more formats, check WCAG contrast, and preview colour-blind vision.
A link in an email points at what looks like apple.com, and you want to know whether it really is.
Domain from the link
аpple.com
Both forms, plus what the characters really are
Unicode apple.com Punycode xn--pple-43d.com This label is written to read as "apple" without being it: position 1 is U+0430 (Cyrillic) imitating "a". This label mixes Cyrillic and Latin in one word.
The two names look identical on screen, which is the whole trick, so the useful information is the code point. The first letter is U+0430, the Cyrillic small a, not the Latin U+0061. Because one character is outside ASCII, the label is encoded: the four Latin letters pple are kept as they are, a hyphen separates them, and 43d records which character goes where. The DNS is therefore asked for xn--pple-43d.com, a different domain that has nothing to do with Apple. The real apple.com is plain ASCII and has no xn-- form at all.
The DNS only handles letters, digits and hyphens, so a domain name such as münchen.de or 日本語.jp travels in an encoded form called punycode: xn--mnchen-3ya.de and xn--wgv71a119e.jp. Type or paste a name in either form, or a whole link, and this converter shows both versions at once, checks that the name can actually be looked up, and points out lookalike characters used to imitate other sites.
Internationalised domain names let a web address use any script, but the DNS underneath still only accepts a narrow set of ASCII characters. The bridge is punycode, defined in RFC 3492, which rewrites a label such as münchen as mnchen-3ya and adds the xn-- prefix so software knows to decode it. Each label is encoded on its own, so in москва.рф both halves are converted, while in münchen.de only the first one is.
There is no direction to choose. Whatever you type, the readable form and the encoded form both appear, each with a copy button. A pasted URL is reduced to its host, dropping the scheme, any user name and password, the port and the path. Before encoding, the name is lowercased and normalised to NFC, so an ä typed as a single character and one typed as a plus a combining mark give the same result. Characters outside the Basic Multilingual Plane, such as emoji, are handled as single code points.
Browsers apply an extra mapping step, part of the IDNA rules known as UTS-46, that turns some characters into simpler ones before encoding: the circled letter ⓐ becomes a plain a, for example. The tool compares its result with the conversion your own browser performs and tells you when they differ, and which name will really be looked up.
It then checks the rules that decide whether a name can work at all. Each label may be at most 63 bytes once encoded, and the whole name 253; an all-ä label fits at 57 characters and breaks at 58, and browsers do not warn you. Empty labels, a hyphen at the start or end of a label, hyphens in the third and fourth positions of an ordinary label, characters that cannot appear in a host name, and xn-- labels that are not valid punycode are all reported by name. So is an xn-- label that decodes to something which encodes back differently: punycode has exactly one encoding for any string, so such a label cannot belong to a registered name.
The last check is for phishing. A label that mixes scripts, such as Latin letters with one Cyrillic letter, is flagged, and every character outside plain ASCII is listed with its Unicode code point, its script and the Latin letter it imitates. The lookalike list covers the Cyrillic, Greek and Armenian letters most often used in fake domains, not every confusable character in Unicode, so a clean result is reassuring rather than a guarantee.
Paste the link from an email or message. If a letter in the domain comes from another alphabet, the tool shows its code point and the letter it is pretending to be.
Zone files, TLS certificate requests and many web server configurations need the xn-- form. Paste the readable name and copy the encoded one.
Server logs and certificate details show internationalised names in their xn-- form. Paste one in to see the name a person would actually read.
Before buying a long name in a non-Latin script, check that each label stays within 63 bytes once encoded and that no registry rule about hyphens rules it out.
It marks a label as encoded with punycode. Software that sees xn-- at the start of a label knows to decode the rest to get the readable name. A label without it is taken as plain ASCII.
Browsers display the encoded form when a name looks risky, most often when a single label mixes scripts or uses characters that imitate Latin letters. It is a deliberate defence against lookalike domains, and this tool flags the same patterns.
The DNS limit of 63 bytes applies to the encoded label, and punycode needs several ASCII characters for each non-ASCII one. Long labels in Chinese, Japanese or Arabic can pass the limit with far fewer than 63 visible characters. The label table shows the encoded length of each part.
Browsers map some characters to simpler equivalents before encoding, following the UTS-46 rules. A circled letter, a full-width letter or certain ligatures become plain letters, so the name actually looked up is different from a literal encoding of what you typed. The tool shows which one will be used.
A clean result means the name is well formed and contains none of the common lookalike characters. It does not prove who owns the site. The lookalike list covers the characters most often abused, not every confusable symbol in Unicode, so still check the certificate and the context of the link.
No. The conversion and checks run in your browser and no DNS lookup is made. The domain is placed in the page address so that the share button can link to it, so avoid pasting anything private.
Conversions run on your device in JavaScript. The values you enter are never sent over the network.