Number Converter
Bin / Dec / Hex / Oct; two's complement for negative inputs
About this tool
Convert numbers between binary, octal, decimal and hexadecimal, with optional bit width and two's-complement display. The right-hand panel generates a range table.
How to use
- Type a value in any base. Other bases update live.
- Set the bit width to truncate / sign-extend (8, 16, 32, 64, 128).
- For negative inputs the two's complement bit pattern is shown.
- Use Range table to dump
from..toin stepstepacross all bases.
Examples
0x2A→0b101010,052,42-5, width 8 → two's complement11111011