Guía
¿Qué significa xn-- en un nombre de dominio?
Aprende qué indica el prefijo xn-- y cómo revisar dominios Punycode de forma práctica.
Si un dominio empieza con xn--, normalmente es la versión Punycode de un dominio Unicode. No significa automáticamente que sea malicioso.
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.