ASCII إلى ثنائي

قم بتحويل أحرف ASCII إلى رمز ثنائي بسهولة

أداة

0 characters

أدخل أي أحرف ASCII. ستؤدي الأحرف غير ASCII إلى حدوث خطأ.

حول هذه الأداة

محول ASCII إلى ثنائي هو أداة تحول أحرف ASCII إلى معادلاتها الثنائية. يتم تمثيل كل حرف ASCII برمز ثنائي فريد من نوعه 7 بت أو 8 بت، اعتمادا على ما إذا كان ASCII الموسع مستخدما أم لا.

كيف يعمل

  1. Each character in the input text is checked to ensure it is within the ASCII range (0-127 for standard ASCII, 0-255 for extended ASCII).
  2. يتم تحويل كل حرف ASCII صالح إلى ما يعادله العشري استنادا إلى جدول ASCII.
  3. The decimal value is then converted into an 8-bit binary string (padded with leading zeros if necessary).
  4. The resulting binary strings for all characters are combined (optionally separated by spaces) to form the final output.

الاستخدامات الشائعة

  • لتعليم علوم الكمبيوتر:فهم كيفية تخزين النص في أجهزة الكمبيوتر على المستوى الثنائي.
  • نقل البيانات:تحويل النص إلى ثنائي للإرسال عبر الشبكات التي تتطلب بيانات ثنائية.
  • Cryptography:إعداد البيانات النصية لخوارزميات التشفير التي تعمل على المدخلات الثنائية.
  • البرمجة منخفضة المستوى:العمل مع التمثيلات الثنائية للنص في برمجة الأنظمة.
  • الاتصال الرقمي:فهم أساسيات كيفية تمثيل المعلومات النصية رقميا.

نظام ASCII

The ASCII (American Standard Code for Information Interchange) system uses 7 bits to represent 128 characters, including English letters (both uppercase and lowercase), numbers, and various symbols. Extended ASCII uses 8 bits to represent 256 characters, adding additional characters from various languages and symbols.

الجزئي ASCII إلى جدول

Character العشري Binary (8-bit)
Space 32 00100000
! 33 00100001
" 34 00100010
# 35 00100011
A 65 01000001
B 66 01000010
a 97 01100001
b 98 01100010
0 48 00110000

Related Tools