💻 Number Base Converter

🎯
🎯
🔧
Examples: 48 65 (space), \\x48\\x65 (prefix), 4865 (none)
ℹ️
(Base ):
Characters:
Example:
📝
⚡
📤
📊
Input Length:
Output Length:
Values Count:
Value Range: -
Printable: /
Efficiency: x
📋
ASCII: Hi
Binary: 01001000 01101001
Hex: 48 69
Decimal: 72 105
Octal: 110 151
⚠️

ℹ️ About Number Base Converter

Number Base Conversion allows you to convert between different representations of data: ASCII text, binary (base-2), hexadecimal (base-16), decimal (base-10), and octal (base-8). ASCII character assignments are registered as US-ASCII in the IANA character set registry, while modern text commonly uses UTF-8 as defined by RFC 3629.

Supported Formats:

  • ASCII: Human-readable text characters (UTF-8 Unicode)
  • Binary: Base-2 using only 0s and 1s (8-bit bytes)
  • Hexadecimal: Base-16 using 0-9 and A-F (compact representation)
  • Decimal: Base-10 using 0-9 (standard numeric values)
  • Octal: Base-8 using 0-7 (legacy programming format)

Common Use Cases:

  • Programming and debugging (hex dumps, binary data)
  • Network protocol analysis and packet inspection
  • Assembly language and low-level programming
  • Data encoding and representation learning
  • Cryptography and security analysis
  • Digital forensics and reverse engineering

Examples: the letter A is decimal 65, hexadecimal 41, binary 01000001, and octal 101. The text Hi becomes hex 48 69 and binary 01001000 01101001.

Technical note: conversions preserve byte values. UTF-8 characters outside basic ASCII can occupy multiple bytes, so one visible character may produce several binary, hex, decimal, or octal values. Use a dedicated Unicode tool when you need code points rather than encoded bytes.

API Usage Example:

POST /api/tools/conversion/number-base
Content-Type: application/json

{
    "text": "Hello World",
    "from_format": "ascii",
    "to_format": "hex",
    "hex_delimiter": " "
}
Ready