About the Number Base Converter
Computers count in binary, memory dumps and colour codes are written in hexadecimal, Unix file permissions use octal and humans use decimal. Converting between them by hand is slow and error prone, so this tool takes a value in any of those bases (or any base up to 36) and shows it in all of them at once, along with how many bits it needs.
Hexadecimal is the most common in day-to-day work because each hex digit maps to exactly four bits: FF is 255, which is one byte at its maximum, and the CSS colour #FF8800 is simply three byte values. Octal survives mainly in file modes, where 755 means read-write-execute for the owner and read-execute for everyone else.
How to use the Number Base Converter
- Type the number you want to convert. Prefixes such as 0x, 0b and 0o are accepted and ignored.
- Choose the base your number is written in and the base you want.
- Read the converted value, plus the decimal, binary, octal and hex forms listed underneath.