calc.engineer / General & Math / Hex Converter

Hex Converter v1.0.0

Convert numbers between hexadecimal, binary, decimal, and octal bases. Accepts any base as input (prefix 0x for hex, 0b for binary, 0o for octal, or plain decimal) and returns all four representations simultaneously. Also reports bit width, byte count, ASCII character (if printable), and signed interpretations (8-bit, 16-bit, 32-bit two's complement). Essential for embedded programming, register debugging, network protocol analysis, and color code conversion. Example: 0xFF → decimal 255, binary 0b11111111, octal 0o377, 8 bits, 1 byte.

The number to convert. Prefix with 0x for hex (0xFF), 0b for binary (0b1010), 0o for octal (0o17). Plain numbers are treated as decimal. Supports negative values with leading minus.
Fill in the inputs and Compute to see the structured result.

From an agent (MCP) or the API

curl -X POST https://calc.engineer/api/hex_converter \
  -H "Content-Type: application/json" \
  -d '{"value": …}'

MCP: connect to https://calc.engineer/mcp and call hex_converter.

calc.engineer — free, MCP-native engineering tools.