Number Base Converter
Type in any base, read all of them. Bases 2 to 36 supported, with 32-bit and 64-bit views for bit-level work.
—
—
Worked example
255 is 11111111 in binary, 377 in octal and FF in hex. In the 8-bit grouping it is one full byte — which is why 255 is the mask for a single octet.
Base conversion is exact for integers and lossy for fractions, which is why this page does not accept a decimal point. Floating-point bases are a different problem with a different answer, and pretending otherwise produces quietly wrong values.
Where each base shows up
Binary for bitmasks and permissions, octal for Unix file modes, hex for colours, memory addresses and byte literals, base-36 for short URL identifiers. The grouping by eight bits is there because byte boundaries are what matter at the level where these conversions get used.