グローバルツールハブ
現在の言語: Japanese
ガイド一覧へ戻る

ガイド

ドメイン名の xn-- は何を意味する?

xn-- プレフィックスの意味と、Punycodeドメインを実務で確認する手順を解説します。

xn-- で始まるラベルは、UnicodeドメインをDNS互換のASCII形式にしたPunycodeです。単体で危険という意味ではありません。

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.

関連ツール

Punycode変換

国際化ドメイン名をUnicodeとASCII Punycodeの間で変換できます。

Open Punycode Converter

あわせて読みたいガイド

近い作業フローを扱う別の短い記事も確認できます。