Number Tools
Convert numbers between binary, hex, octal and decimal.
Input
Conversions
Binary
11111111Octal
377Decimal
255Hexadecimal
FFBase 36
73Bit length: 8 ยท Bytes: 1
Good to know
- Pick the input base first, then read every other representation.
- Hex is base 16 (0-9, A-F); binary is base 2 (0 and 1 only).
- Values are limited to safe JavaScript integers.
- Bit length helps size database columns and bitmasks.