محوّل النص إلى ثنائي (UTF-8)، ومن الثنائي إلى نص
حوّل النص إلى بايتات ثنائية أو سداسية عشرية أو عشرية باستخدام UTF-8 لتعمل الأحرف ذات العلامات والرموز التعبيرية، أو فكّ ترميز البايتات الثنائية أو السداسية العشرية أو العشرية وأعدها نصًا مقروءًا.
المدخلات
تلميح: اضغط Ctrl + Enter للتشغيل
الإعدادات المحفوظة
المساعدة المفصلة أدناه متاحة بالإنجليزية فقط حاليًا.
حول هذه الأداة
Computers store text as bytes, and this converter shows exactly which ones. Type text to see its UTF-8 bytes in binary, hexadecimal and decimal, or paste bytes in any of those formats to turn them back into readable text. It handles accents, other alphabets and emoji, which take more than one byte each.
طريقة الاستخدام
- Choose Text → bytes or Bytes → text.
- Pick the byte format to copy or decode: binary, hexadecimal or decimal.
- Type the text, or paste the bytes separated by spaces (binary can also be one continuous string).
- Run it to read the result and the byte count, then copy or download it.
كيف يعمل الحساب
Encoding uses UTF-8, the standard encoding of the web: ASCII characters take one byte, most accented Latin, Greek, Cyrillic, Arabic and Hebrew letters two, most Chinese characters three, and emoji four. Each byte is shown as 8 binary digits, 2 hexadecimal digits and a decimal number from 0 to 255. Decoding checks that the bytes form valid UTF-8 and reports an error if they do not.
UTF-8 encoding: each character becomes 1 to 4 bytes; each byte is written as 8 bits, 2 hex digits or a number from 0 to 255مثال تطبيقي
The word Hi is two bytes: 01001000 01101001 in binary, 48 69 in hexadecimal and 72 105 in decimal. The accented letter é takes two bytes, 11000011 10101001 (C3 A9), and pasting C3 A9 back in as hexadecimal returns é.
مثال على الإدخال والنتيجة
Hi = 01001000 01101001 = 48 69 = 72 105
القيود
- UTF-8 only.
- Up to 20,000 characters of text or 200,000 characters of byte input.
- Decoding fails on bytes that are not valid UTF-8, such as text saved in another encoding.
آخر تحديث:
الأسئلة الشائعة
لماذا يشغل الحرف é بايتين؟
يخزّن UTF-8 الحروف الإنجليزية الأساسية في بايت واحد والأحرف الأخرى في بايتين إلى أربعة. الحرف é هو 11000011 10101001، ومعظم الرموز التعبيرية تشغل أربعة بايتات.
هل يمكنني لصق ثنائي دون مسافات؟
نعم، ما دام العدد الكلي للأرقام من مضاعفات 8، بحيث يمكن تقسيمه إلى بايتات كاملة.
الأسئلة الشائعة
What is the difference between binary and hexadecimal?
They are two ways of writing the same byte: 8 binary digits or 2 hexadecimal digits. 01001000 and 48 are both the letter H.
Why is my binary different from another website?
Some converters use ASCII only or older encodings such as Windows-1252 or UTF-16, which give different bytes for anything beyond basic English letters.
Can I convert a number to binary?
This tool converts text characters. To turn the number 255 into 11111111, use the number base converter.
استكشاف الأخطاء وإصلاحها
It says the bytes could not be read.
Use groups of exactly 8 binary digits, pairs of hex digits or numbers from 0 to 255, separated by spaces, and choose the matching format.
It says the bytes are not valid UTF-8.
Part of a multi-byte character may be missing, or the bytes come from another encoding.
الخصوصية & مجاني
هل تُخزَّن مدخلاتي؟
تبقى مدخلاتك في علامة التبويب هذه. لا نتلقى ملفاتك أو النصوص الملصقة أو قيم الحسابات.
هل هذه الأداة مجانية؟
نعم. لا يلزم تسجيل أو دفع.
انظر أيضًا
خطوات تالية مفيدة
عدّاد الكلمات والأحرف
عُدّ الكلمات والأحرف الظاهرة والفقرات والأسطر محليًا، مع تقسيم يراعي اللغة.
النصوص والكتابةمحوّل حالة الأحرف
بدّل بين الأحرف الكبيرة والصغيرة وحالة العنوان وحالة الجملة في أداة واحدة.
النصوص والكتابةإزالة الأسطر المكررة
يحتفظ بأول ظهور لكل سطر مطابق ويحافظ على الترتيب الأصلي.
النصوص والكتابة