تخطى إلى المحتوى الرئيسي

محوّل Punycode

حوّل أسماء النطاقات الدولية إلى Punycode (xn--) وأعدها إلى Unicode.

Input
0 chars | 0 bytes
Encode
Output
0 chars | 0 bytes

The internet's domain name system was designed around ASCII characters, but users around the world want to register domains in Arabic, Chinese, Cyrillic, Japanese, and hundreds of other scripts. Punycode is the algorithm that bridges these two worlds, encoding Unicode domain labels into the ASCII-compatible `xn--` prefix format that DNS can handle without modification.

This tool converts human-readable internationalized domain names — like `münchen.de` or `日本語.jp` — to their Punycode equivalents and back. It is useful for web developers implementing IDN support, security researchers investigating homograph attacks, DNS administrators checking zone files, and anyone debugging why an internationalized domain is not resolving as expected.

كيف تُحوّل Punycode على الإنترنت

  1. 1

    أدخل اسم النطاق

    أدخل نطاقًا بـ Unicode (مثل münchen.de) أو نطاق Punycode (مثل xn--mnchen-3ya.de).

  2. 2

    تحويل تلقائي

    تكتشف الأداة نوع الإدخال وتُحوّل في الاتجاه المناسب — Unicode إلى Punycode أو Punycode إلى Unicode.

  3. 3

    تحقق من النتيجة

    استخدم الإخراج للتحقق من سجلات DNS والشهادات وتوجيه البريد الإلكتروني. يتعامل بشكل صحيح مع النطاقات متعددة التسميات والتسميات المختلطة ASCII/غير ASCII.

How Punycode Encoding Works

Punycode (RFC 3492) is a form of bootstring encoding — it encodes a sequence of Unicode code points into a restricted set of ASCII characters. The algorithm first copies all ASCII characters from the input to the output unchanged, then appends a hyphen delimiter, and finally encodes the positions and code points of the non-ASCII characters as a sequence of base-36 digits using a variable-length delta encoding. The result is prefixed with `xn--` to mark it as an ACE (ASCII Compatible Encoding) label.

For a full internationalized domain name, each label (the dot-separated components) is encoded independently. `münchen.de` becomes `mnchen-3ya.de` because only the label `münchen` is internationalized. Security researchers have demonstrated that Punycode makes homograph attacks possible — `аррle.com` using Cyrillic characters looks identical to `apple.com` — which browsers now mitigate by displaying the Punycode form when the label mixes scripts.

لماذا تستخدم محوّل Punycode من FileCrank؟

  • ✓ تحويل نطاقات Unicode إلى Punycode بـ xn-- والعكس.
  • ✓ يتعامل مع النطاقات متعددة التسميات والتسميات المختلطة ASCII/غير ASCII.
  • ✓ مفيد للكشف عن هجمات التصيد الهوموغرافية.
  • ✓ يعمل بالكامل في المتصفح — لا تُرسل بيانات إلى أي خادم.

الميزات والمواصفات

أقصى حجم للملف
حتى 100 ميغابايت
الخصوصية
تُحذف الملفات بعد نحو ساعة
السعر
مجاني، بدون تسجيل
المعالجة
100% على الجهاز
بياناتك لا تغادر متصفحك — كل المعالجة محلية.لا حاجة لحساب أو تسجيل.مجاني بلا حدود للاستخدام.

الأسئلة الشائعة

ما هو Punycode ولماذا يوجد؟

كان نظام DNS يدعم ASCII فقط في الأصل. يسمح Punycode (RFC 3492) بأسماء نطاقات تحتوي على أحرف غير ASCII — عربية وصينية وعبرية ولاتينية مُعلَّمة — بترميزها كسلاسل ASCII تبدأ بـ xn--.

كيف أعرف إذا كان اسم نطاق يستخدم Punycode؟

تبدأ تسميات Punycode بـ xn--. إذا رأيت نطاقًا مثل xn--bcher-kva.example في شهادة أو سجل DNS، فهو IDN مشفر بـ Punycode. فكّ ترميزه بهذه الأداة لرؤية المكافئ Unicode.

هل يمكن استخدام Punycode للتصيد الاحتيالي؟

نعم — هذا هو هجوم الهوموغراف المعروف. الأحرف من نصوص مختلفة تبدو متطابقة تنتج Punycode مختلفًا. تساعدك هذه الأداة في التحقق من أن سلسلة Punycode تُفكَّك إلى النطاق المتوقع.

هل تدعم هذه الأداة جميع نصوص Unicode؟

نعم. تتعامل مع أي نقطة كود Unicode يمكن أن تظهر في اسم نطاق دولي، بما في ذلك العربية والصينية والديفاناغاري والعبرية واليابانية والتايلاندية وجميع أحرف اللاتينية الموسعة.

Punycode Converter vs. Browser Address Bar vs. dig

Modern browsers convert IDNs automatically and can display either the Unicode or Punycode form, but they do not expose the intermediate encoding steps. The `dig` command resolves domain names but does not perform Punycode encoding itself. A dedicated Punycode converter is the right tool when you need to inspect the encoding explicitly — for DNS zone file authoring, IDN debugging, security research into homograph attacks, or verifying that a non-ASCII domain name will resolve correctly.

محوّل Punycode من FileCrank يُرمّد ويُفكّ ترميز أسماء النطاقات الدولية (IDNs) بين Unicode وتنسيق Punycode المتوافق مع ASCII، بالكامل في متصفحك.

Advertisement

Ad