Interactive Bit Inspector • Toggle Individual Bits

Byte & Bit Visualization Tool

Inspect hexadecimal bytes and click individual binary bits to toggle them on or off. Watch hexadecimal, unsigned decimal, signed decimal, octal, and set-bit count update live.

Click any bit below to flip between 0 and 1 (numbered from MSB on left to bit 0 on right):

Hexadecimal
0x02AF
Unsigned Decimal
687
Signed Decimal (Two's Comp.)
687
Octal (Base 8)
1257
Binary Representation
0000 0010 1010 1111
7Bits Set to 1 (Popcount)
10 / 16Active / Total Bits
2Byte Count

Practical Uses for Interactive Bit Visualization

  • Embedded & Firmware Registers: Toggle control-register flags and immediately copy the exact 0x hex bitmask for C, C++, or Rust code.
  • Network Headers & Bitfields: Inspect IPv4/TCP flags, subnet masks, and byte boundaries visually.
  • Learning Binary Place Values: Click bit 0 (1), bit 3 (8), or bit 7 (128) to build intuition for how individual bits combine into bytes and hex digits.