> encode | decode | hex <

// ترميز Base16 لتمثيل البيانات الثنائية المدمج

[SIMPLE]

Easy to Use

Simple interface for instant Base16 encoding and decoding. No technical knowledge required.

[SECURE]

Local Processing

All conversions happen in your browser. Your data never leaves your device.

[FAST]

Instant Results

Real-time conversion with no delays. Perfect for debugging and development.

// حول ترميز BASE16

كيف يعمل Base16:

Base16 (السادس عشري) يستخدم 16 حرفاً (0-9، A-F) لتمثيل البيانات. كل بايت يتم تمثيله بحرفين سادس عشريين، مما يجعله مناسباً لتمثيل البيانات الثنائية.

مثال:

"مرحبا" → 4865726C6C6F

لماذا استخدم Base16:

  • >تمثيل مدمج للبيانات الثنائية
  • >يستخدم على نطاق واسع في البرمجة
  • >سهل القراءة والفهم
  • >مثالي لعرض القيم الثنائية
  • >متوافق مع أنظمة العد السادس عشري

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

What is Base16 encoding?

Base16, also known as hexadecimal, is a numeral system that uses 16 symbols (0-9 and A-F) to represent binary data in a human-readable format.

When should I use Base16?

Base16 is ideal for representing binary data, color codes, memory addresses, and debugging purposes. It's commonly used in programming and system administration.

Is Base16 the same as hexadecimal?

Yes, Base16 and hexadecimal are the same. Hexadecimal is the more common name for the base-16 numeral system.

Can I decode any Base16 string?

You can decode any valid Base16 string that contains only the characters 0-9 and A-F (case insensitive). Invalid characters will result in an error.

// مقارنة Base16

الترميزالبتات لكل حرفزيادة الحجم
Base164100%
Base32560%
Base64633%

// Base16 في الشيفرة

Linux/macOS  echo -n Hello | xxd -p          # 48656c6c6f
             echo 48656c6c6f | xxd -r -p      # Hello
Python       'Hello'.encode().hex()           # '48656c6c6f'
             bytes.fromhex('48656c6c6f')
Node.js      Buffer.from('Hello').toString('hex')
             Buffer.from('48656c6c6f', 'hex').toString()

>> المزيد من الأسئلة

س: لماذا يضاعف Base16 حجم البيانات؟

ج: كل بايت يصبح حرفين، أي زيادة بنسبة 100%. بينما يضيف Base64 نحو 33% فقط، لكن Base16 أسهل قراءة وتنقيحاً.

س: ما الفرق بين Base16 وسلسلة سداسية عشرية فيها 0x أو مسافات؟

ج: Base16 وفق RFC 4648 هو تسلسل الأرقام 0–9 وA–F فقط دون بادئة أو فواصل. البادئات مثل 0x أو المسافات بين البايتات اصطلاحات عرض يجب إزالتها قبل فك الترميز.

س: لماذا يجب أن يكون طول سلسلة Base16 الصحيحة زوجياً؟

ج: كل بايت يتكون من رقمين بالضبط. الطول الفردي يعني نقص حرف أو حذف صفر بادئ (مثل F بدل 0F).

Base16 Encoder Decoder — Base64.sh

مشفر فك تشفير Base16 | أداة تحويل سادس عشري مجانية عبر الإنترنت

مشفر وفك تشفير Base16 (سادس عشري) مجاني عبر الإنترنت. تحويل النص والأرقام والبيانات إلى تنسيق Base16 فورياً.

مشاركة:

X Facebook LinkedIn Reddit

المراجع

كيف نتحقق من النتائج

نتحقق من هذه الأداة بالاختبارات الآلية المرتبطة أدناه. تُعرض أسماء الأمثلة بلغتها الأصلية.

Verification method
Compare the radix representation of each UTF-8 byte and decoded text, including non-ASCII input.
Comparison reference
Byte and radix strings produced by Node.js Buffer; Hex-to-text also checks malformed UTF-8.
Verification scope
These samples and boundaries do not prove correctness for every input.
Test source and cases (select a file to read it)

تغطي الاختبارات الأمثلة والحدود المذكورة، وليس كل المدخلات الممكنة. التحويل ذهاباً وإياباً أو استخدام المكتبة نفسها ليس تحققاً مستقلاً.