Uber Tools

Number Base Converter

Type a whole number in any base, see it in all of them and flip its bits · 0x, 0b and 0o prefixes work in any field

Binary

Base 2

Octal

Base 8

Decimal

Base 10

Hexadecimal

Base 16

Bits

Click a bit to flip it

70

Unsigned

255

Signed (two's complement)

-1

Bit length

8 bits

Bytes

1

1 bits

8

Power of two

No

Character

ÿ U+00FF


How to convert between number bases

  1. Type a whole number in the binary, octal, decimal or hexadecimal field, or in a base from 2 to 36.
  2. See it in all the others at once; prefixes such as 0x, 0b and 0o work in any field.
  3. See its bits in 8, 16, 32 or 64 bits, and click a bit to flip it.
  4. Copy the values, or copy the link to share them.

Questions

How do I convert decimal to binary?

Type the number in the decimal field and read the binary one; 255 is 11111111.

Does it handle very large numbers?

Yes, numbers of any size stay exact.

How are negative numbers shown in binary?

In two's complement, as computers store them, with the number shown both unsigned and signed.

Can I convert to base 36?

Yes, any base from 2 to 36, which uses the digits and the letters A to Z.

Related tools