Number Converter

Bin / Dec / Hex / Oct; two's complement for negative inputs

About this tool

Number converter converts signed integers between binary, octal, decimal and hexadecimal without losing integer precision.

How to use

  • Select the input base and enter an integer. Conversion updates immediately.
  • For a negative input, the additional two’s-complement output shows the bit pattern modulo 2 to the selected bit width.
  • A positive value that exceeds the selected width produces a warning; the ordinary base conversions retain the full value.
  • Long output fields scroll horizontally and can be selected and copied.