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

ガイド

UnicodeドメインとPunycodeの違いとは?

人が読むUnicodeドメインとASCIIのPunycode表現の違いを実務向けに解説します。

Unicodeは表示向け、PunycodeはDNS互換向けです。正しく変換されれば同じドメインを指します。

Unicode domains are user-friendly

Unicode lets users read domains in their own language and script.

This improves clarity for local audiences and multilingual brands.

Punycode is DNS-compatible encoding

DNS labels are ASCII-oriented, so Unicode labels are encoded as Punycode.

That is why a readable label can appear as xn--... in technical contexts.

Both can point to the same site

Unicode and Punycode are two representations of one domain identity when mapped correctly.

In workflows, conversion should be deterministic and reversible.

  • Display to users: Unicode.
  • Store/transmit in strict systems: often ASCII/Punycode.
  • Always verify round-trip conversion.

Where mistakes usually happen

Teams sometimes compare Unicode and Punycode strings as if they were unrelated values.

Another mistake is partial conversion of only some labels in a multi-label domain.

Practical handling rule

Choose one canonical storage format and document conversion boundaries.

This prevents mismatches across product, analytics, and security checks.

Useful for

  • Comparing domain formats in support tickets.
  • Documenting international domain workflows.
  • Building validation logic for domain inputs.
  • Explaining IDN behavior to clients.

Think display form vs transport form

Unicode is the readable display form. Punycode is the transport-compatible ASCII form. Keep both in your workflow where appropriate.

関連ツール

Punycode変換

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

Open Punycode Converter

あわせて読みたいガイド

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