A link arrives with a domain that looks exactly right. The name reads like a service you use every week, the shape of the word is familiar, and nothing about it raises an alarm. That is precisely the moment a lookalike domain is built for. Underneath the friendly rendering sits a different name entirely, and the difference hides in letters your eye skips over.

This guide explains how the trick works, why every international domain has two forms, and how to check a suspicious name by hand with the free Punycode Converter on Ovatly, which converts domains between their Unicode and ASCII forms in your browser.

Contents

  • Quick answer
  • The two forms of one domain name
  • How the lookalike trick works
  • Why your browser sometimes shows the raw xn-- form
  • How to check a suspicious domain, step by step
  • Worked example: one legitimate name, two faces
  • Limitations and honest tradeoffs
  • Common mistakes
  • FAQs
  • Conclusion
  • References

Quick answer

A lookalike domain tricks you because one name has two forms: an ASCII form starting with xn--, which is what DNS actually carries, and a Unicode form, which is what you read. A different name can render in Unicode so that it looks like a trusted brand while being a different name entirely. The defence is to slow down and decode: paste the suspicious domain into the Punycode Converter, convert it back to Unicode to see what it really says, and read the result letter by letter instead of trusting the overall shape of the word.

The two forms of one domain name

DNS, the system that turns domain names into addresses, only carries ASCII letters, digits and hyphens. A name written in German, Japanese or any other script cannot travel through DNS as it is. So every international domain exists underneath as an ASCII name, and that ASCII form is called punycode. You can recognise it by its prefix: the encoded label starts with xn--.

The conversion happens per label, following RFC 3492. A label is one part of the domain, separated by dots. Plain labels made of ordinary ASCII pass through unchanged, and only the labels that contain non-ASCII characters get encoded. The name you type and read is the Unicode form; the xn-- name is the same domain in the only alphabet DNS accepts.

How the lookalike trick works

Because the Unicode form is a rendering, two different underlying names can produce renderings that look almost identical. An attacker registers a name whose characters come from another script or differ in a small way, and when your browser renders it, the result reads like a brand you trust. The word has the right length, the right silhouette, and at a glance the right letters.

The deception survives because people read words by shape. You recognise a familiar name the way you recognise a face, as a whole, not letter by letter. A lookalike only needs to pass that glance. It does not need to be the real name, and underneath, in its xn-- form, it plainly is not: it is a different registration that belongs to someone else.

Why your browser sometimes shows the raw xn-- form

You may occasionally see a domain displayed in its raw xn-- form instead of the readable Unicode name, and it looks like a glitch. It is deliberate. Browsers show the xn-- form for some domains as a safety display, so a lookalike spoof stays visible instead of rendering as a trusted brand.

When the raw form shows, the name stops pretending to be anything. A string like xn--bcher-kva cannot be mistaken for a familiar word, and that friction is the point: it forces you to look at the name itself rather than at the brand it might be imitating.

How to check a suspicious domain, step by step

  1. Copy the domain from the link exactly as it appears, without visiting it. You only need the name itself, not the page behind it.
  2. Open the Punycode Converter and paste the domain in. The converter works in both directions, so it accepts either form.
  3. Convert the suspicious domain back to Unicode to see what it really says. If you pasted the xn-- form, the result is the decoded name; if you pasted a Unicode name, convert it to punycode and note its true underlying form.
  4. Read the result letter by letter and compare it against the name you expected. One wrong character is enough: the name is not the one you thought it was.
  5. Copy the result if you need it for a support ticket or a report, so the exact characters travel with your message instead of a screenshot of a rendering.

Worked example: one legitimate name, two faces

Take the German bookseller-style domain bücher.de. Its Unicode form is the one a person reads and types. Converted with the Punycode Converter, it becomes xn--bcher-kva.de. The label bücher turns into xn--bcher-kva, and the plain label de passes through unchanged.

Nothing about that pair is suspicious: it is one legitimate name wearing its two forms. But it shows you exactly what a lookalike exploits. The readable face can be imitated by a different underlying name, while the xn-- face cannot pretend to be anything other than what it is. Once you have decoded a suspicious domain and read its real letters, a lookalike loses its disguise, because the decoded spelling either matches the name you expected or it does not.

Limitations and honest tradeoffs

The converter shows you what a name is; it does not judge the site behind it. A domain can decode to exactly the spelling you expected and still lead somewhere you would rather not go, and a strange-looking name can belong to a perfectly ordinary site. Decoding settles the identity of the name, nothing more.

Conversion also has hard bounds worth knowing. Input is lowercased before conversion, a single label can be at most 63 characters after encoding, and a full domain can be at most 253 characters. And converting a name does not mean it can be registered: registries restrict which scripts and combinations a zone allows, so a name that converts cleanly may still be unavailable or forbidden.

Common mistakes

  • Judging a domain by its overall shape. The glance is exactly what the trick is designed to pass. Read letter by letter.
  • Assuming a readable rendering means a familiar name. The Unicode form is a rendering of an underlying xn-- name, and a different name can render to look the same.
  • Treating the raw xn-- display as a browser bug. It is a safety display. When it appears, take it as a prompt to check the name properly.
  • Checking only the start of the name. A lookalike can differ anywhere, including the ending and the part after the dot. Compare the whole domain.
  • Visiting first and checking later. The check needs nothing but the name itself. Decode it before you click, not after.

FAQs

Why does every international domain have an xn-- form? DNS only carries ASCII letters, digits and hyphens, so every international domain exists underneath as an xn-- name. The Unicode form is converted to that ASCII form before DNS can use it.

What is a lookalike domain? It is a different domain name whose Unicode rendering looks like a name you already trust. The letters are not the ones you expect, even though the overall shape of the word reads as familiar.

Why does my browser sometimes show the xn-- form instead of the readable name? Browsers show the xn-- form for some domains as a safety display, so a lookalike spoof stays visible instead of rendering as a trusted brand. The raw form is harder to mistake for the real name.

How do I check a suspicious domain with the converter? Paste the domain into the Punycode Converter and convert it back to Unicode to see what it really says. Then read the result letter by letter and compare it against the name you expected, character by character.

Does converting a domain tell me whether it is safe to visit? No. Conversion only shows you what the name actually is. It cannot judge the site behind the name, so treat a decoded name that differs from the one you expected as a reason to stop, not as a verdict on any site.

Conclusion

The lookalike trick depends on a single habit: reading a domain by its shape instead of its letters. Break that habit and the trick has very little left. The Punycode Converter puts the check in your hands in both directions, and its companion guide, Unicode vs Punycode: What Browsers Actually Show, explains the two forms and when each one appears. For more guides in this series, see our URL and Link Tools guides.

References