Base & Unit Converter

Base & Unit Converter

Convert numbers between binary, octal, decimal, and hex — plus data sizes and temperatures.
All conversion math runs in this tab.
Value
base 10
Value is in base
Conversions
Binary (base 2)
11111111
Octal (base 8)
377
Decimal (base 10)
255
Hexadecimal (base 16)
ff
Arbitrary precision — values beyond 64 bits still convert exactly. Prefixes (0x, 0b, 0o) are accepted in their matching base.