محوّل Hex
حوّل سلاسل hex إلى نص وعشري وثنائي — أو رمّد النص إلى hex — في متصفحك.
Hexadecimal is the lingua franca of low-level computing. Memory addresses, colour values, byte sequences in network packets, cryptographic hashes, and file magic numbers are all conventionally written in hex. Understanding what a hex string actually contains — as text, as a decimal number, or as a binary sequence — is a daily task for systems programmers, security researchers, and anyone debugging at the byte level.
This tool converts hex input to text, decimal, and binary simultaneously. Paste a hex dump from Wireshark, a colour code from a design file, a hash value from a certificate, or a raw byte sequence from a protocol specification, and immediately see what it contains in every useful representation — without writing a one-liner in Python or opening a calculator.
كيف تستخدم محوّل Hex على الإنترنت
- 1
الصق سلسلة hex أو نصًا
الصق سلسلة hex لفك ترميزها كنص UTF-8 وعشري وثنائي. أو اكتب نصًا عاديًا لرؤية تمثيل بايته المُرمَّد بـ hex.
- 2
إزالة تلقائية للفواصل
تُزيل الأداة تلقائيًا بادئات 0x والمسافات والنقطتين وتُظهر إشعارًا لتعلم أن الإدخال جُنِّح.
- 3
انسخ أي إخراج
تتحدث جميع التمثيلات في آنٍ واحد أثناء الكتابة. انسخ أيًّا من المخرجات التي تحتاجها.
How Hexadecimal Representation Works
Hexadecimal is base 16, using the digits 0–9 and letters A–F (or a–f). Each hex digit represents exactly four bits (a nibble), and two hex digits represent one byte — making hex a compact, human-readable way to display binary data where every byte maps to a predictable two-character group. This alignment with byte boundaries is why hex is preferred over decimal for raw binary inspection: `0xFF` is immediately recognisable as a fully set byte, while its decimal equivalent 255 gives no immediate visual clue.
Converting hex to text interprets each pair of hex digits as a byte value and maps it through an encoding — typically ASCII or UTF-8. Converting to decimal treats the entire hex string as a big-endian integer and computes its decimal value. Converting to binary expands each hex digit to its four-bit binary equivalent.
لماذا تستخدم محوّل Hex من FileCrank؟
- ✓ إزالة تلقائية لبادئات 0x والمسافات والنقطتين من إدخال hex.
- ✓ عرض مخرجات النص والعشري والثنائي في آنٍ واحد.
- ✓ يتعامل مع فك ترميز UTF-8 مع أحرف استبدال للبايتات غير الصالحة.
- ✓ يعمل بالكامل في المتصفح — لا تُرسل بيانات إلى أي خادم.
الميزات والمواصفات
الأسئلة الشائعة
ما الأحرف الصالحة في سلسلة hex؟
الأرقام 0–9 والحروف A–F فقط (غير حساسة لحالة الأحرف). تُزال المسافات وبادئات 0x والنقطتين تلقائيًا. أي حرف آخر يُوضَّح كغير صالح.
لماذا يُنتج فك ترميز سلسلة hex أحرفًا غير مقروءة؟
بايتات hex تُمثّل بيانات غير قابلة للطباعة أو غير UTF-8. تُنتج الملفات الثنائية والبيانات المشفرة والترميزات المعينة hex لا يمكن فك ترميزه كنص UTF-8 مقروء.
ما الفرق بين هذه الأداة وbin2hex؟
تعمل هذه الأداة على سلاسل النص المقروءة للبشر والقيم الرقمية. يعمل bin2hex على مستوى البايت الخام — الصق حمولة ثنائية كبايتات مُرمَّدة بـ hex وشاهد تفريغ hex.
هل يمكنني تحويل رمز لون hex إلى قيم RGB هنا؟
ليس مباشرةً — تُحوّل هذه الأداة سلاسل hex إلى نص وأعداد عشرية. لكن يمكنك تفسير الأزواج الثلاثة للبايت يدويًا: FF0000 = أحمر 255، أخضر 0، أزرق 0.
Hex Converter vs. xxd vs. Python bytes.fromhex()
The `xxd` command-line tool is excellent for hex dumping files but requires terminal access and produces a canonical dump format rather than a targeted conversion. Python's `bytes.fromhex()` and `int(..., 16)` are concise but require a REPL. A browser-based hex converter is faster for interactive inspection of a hex value pasted from documentation, a debugger, or a chat message — especially when you want multiple output formats at the same time.
أدوات ذات صلة
محوّل الثنائي
حوّل الثنائي إلى نص وعشري وسداسي — أو رمّد النص إلى ثنائي — مع إخراج فوري.
محوّل ASCII
ابحث عن رموز ASCII بالحرف أو العشري أو السداسي أو الثنائي أو الثماني — شاهد جميع التمثيلات دفعة واحدة.
bin2hex
حوّل البيانات الثنائية إلى سلاسل hex والعكس على مستوى البايت — مثل دالتي PHP bin2hex() وhex2bin().
محوّل Hex من FileCrank يُفكّك سلاسل hex إلى نص UTF-8 وعشري وثنائي، ويُرمّد النص إلى hex، مع إزالة تلقائية للفواصل، بالكامل في متصفحك.
Advertisement