Hub Global d'Outils
Langue actuelle: French
Retour aux guides

Guide

Que signifie xn-- dans un nom de domaine ?

Comprenez le préfixe xn-- et comment vérifier des domaines Punycode dans un workflow réel.

Un label qui commence par xn-- est en général une forme Punycode d’un domaine Unicode. Ce n’est pas, à lui seul, un signal d’attaque.

What xn-- actually indicates

xn-- is a prefix used in IDNA to mark an encoded label.

It helps DNS handle non-ASCII characters while preserving the original domain meaning.

Where you usually see it

You may find xn-- labels in browser bars, certificates, server logs, and API payloads.

Tools often convert human-readable Unicode domains into this ASCII-safe form automatically.

How to read an xn-- domain safely

Do not guess the original script by sight alone.

Decode the label first, then review the Unicode result in context.

  • Check each label separately.
  • Confirm expected language/script.
  • Compare with the known official domain.

Common confusion to avoid

xn-- does not mean the domain is fake by default.

But visual lookalikes can exist, so verification is still important for security-sensitive workflows.

Quick workflow

Paste the domain into a Punycode converter.

Decode to Unicode, validate spelling and ownership, then use the normalized form in your process.

Helpful for

  • Reviewing domain strings in logs.
  • Checking redirect targets.
  • Validating user-submitted domains.
  • Explaining IDN behavior to non-technical teammates.

Treat xn-- as a format signal

The xn-- prefix usually means a Unicode label was encoded for DNS compatibility. Decode and verify before making decisions.

Outils associés

Convertisseur Punycode

Convertissez des domaines internationalisés entre Unicode et ASCII Punycode.

Open Punycode Converter

Autres guides

Parcourez un autre article court pour continuer à découvrir des workflows utiles.