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

محوّل الثنائي

حوّل الثنائي إلى نص وعشري وسداسي — أو رمّد النص إلى ثنائي — مع إخراج فوري.

Input
0 chars | 0 bytes
Output
Decimal
Binary
Octal
Hexadecimal

Binary is the native language of computers, but reading long strings of ones and zeros requires training and practice. Whether you're studying computer architecture, debugging bit flags in an embedded system, following along with a networking textbook, or working through a bitwise operation by hand, having an instant converter that maps between binary and its human-readable equivalents is invaluable.

This tool converts a binary string to text (via ASCII/UTF-8), to decimal, and to hexadecimal simultaneously. Enter any sequence of 0s and 1s and see all representations update in real time. Useful for verifying bitmasks, understanding character encoding at the bit level, and checking the output of bitwise operations in code.

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

  1. 1

    أدخل الثنائي أو النص

    اكتب سلسلة ثنائية (صفرات وآحاد) أو الصق نصًا عاديًا. تُقبَل المسافات بين مجموعات البايتات.

  2. 2

    شاهد جميع المخرجات

    تتحدث مخرجات نص UTF-8 والعشري والسداسي في الوقت الفعلي. الأحرف غير الصالحة (غير الصفر والواحد) تُبرز مباشرةً.

  3. 3

    انسخ النتيجة

    انسخ التمثيل الذي تحتاجه. كل الحسابات تعمل محليًا في المتصفح.

How Binary Representation Works

Binary is base 2 — each digit (bit) is either 0 or 1. A sequence of 8 bits forms a byte, which can represent 256 distinct values (0–255). The decimal value of a binary number is computed as a sum of powers of 2: the rightmost bit is 2^0, the next is 2^1, and so on. `10110011` in binary equals 128 + 32 + 16 + 2 + 1 = 179 in decimal and `0xB3` in hex.

Converting binary to text groups the bits into 8-bit bytes and maps each byte to the corresponding ASCII or UTF-8 character. For multi-byte UTF-8 characters, the bit pattern follows a specific structure: the leading byte begins with as many 1-bits as there are bytes in the sequence, followed by a 0-bit, while continuation bytes start with `10`. This structured bit pattern allows a parser to unambiguously identify character boundaries.

لماذا تستخدم محوّل الثنائي من FileCrank؟

  • ✓ تحويل الثنائي إلى نص وعشري وسداسي في آنٍ واحد.
  • ✓ يقبل سلاسل ثنائية بمسافات بين مجموعات البايتات.
  • ✓ يُبرز الأحرف غير الصالحة (غير 0/1) مباشرةً مع خطأ.
  • ✓ يعمل بالكامل في المتصفح — لا تُرسل بيانات إلى أي خادم.

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

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

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

كيف يُمثّل الثنائي النص؟

لكل حرف نقطة كود رقمية. يعرض محوّل الثنائي التمثيل الثنائي لنقاط الكود تلك كمجموعات 8-بت (بايتات). للحرف A نقطة كود 65 وهي 01000001 ثنائيًا بـ 8 بتات.

سلسلتي الثنائية فيها مسافات بين المجموعات — هل يعمل ذلك؟

نعم. تقبل الأداة سلاسل ثنائية بمسافات تفصل بين مجموعات البايتات (مثل 01000001 01000010). تُزال المسافات قبل المعالجة. يُتوقع أن تكون المجموعات 8 بتات (بايت واحد).

لماذا يعرض إخراج النص أحرف استبدال لبعض الإدخالات الثنائية؟

قد لا تُشكّل بايتات الثنائي تسلسلات UTF-8 صالحة. يُرمّد UTF-8 بعض الأحرف كتسلسلات متعددة البايتات بأنماط بت محددة. البيانات الثنائية العشوائية أو غير UTF-8 ستُنتج تسلسلات غير صالحة تُعرض كأحرف استبدال.

هل يمكنني تحويل العشري أو السداسي إلى ثنائي هنا؟

لا — أدخل القيمة العشرية أو السداسية في محوّل الأنظمة العددية لذلك. هذه الأداة مخصصة لسلاسل ثنائية تحديدًا.

Browser Converter vs. Python bin() vs. Programmer Calculator

Python's `bin()` function converts integers to binary strings but does not handle text or show multiple bases simultaneously. A programmer calculator covers binary but is typically limited to fixed-width integers (8, 16, 32, 64 bits). A browser-based converter works on arbitrary-length bit strings, shows all useful representations at once, and requires no local tools — making it the fastest option for quick educational lookups and debugging checks.

محوّل الثنائي من FileCrank يُحوّل السلاسل الثنائية إلى نص UTF-8 وعشري وسداسي مع إخراج فوري وتمييز الأخطاء مباشرةً، بالكامل في متصفحك.

Advertisement

Ad