Base Converter
v1.1Type an integer into any field — binary, octal, decimal, or hex — and the others update instantly. Backed by arbitrary-precision math, so it works just as well for a single bit as for a hundred-digit number.
Runs locally — nothing leaves your browser.
Two's complement
The fixed-width bit pattern most languages use for signed integers — distinct from the mathematical, sign-and-magnitude fields above.
Hex
2a
Binary
0010 1010
Bits
Type into any field above — the others convert live. Your value, two's-complement width, and bit-view preference are remembered on this device and never leave the tab.
Converting text instead of numbers? Try Encoding Tools →Need a random identifier instead of a specific number? Try UUID Generator →