Number Base Converter
Convert between binary, octal, decimal and hexadecimal.
About the Number Base Converter
The Number Base Converter translates a value between binary, octal, decimal and hexadecimal and shows all four at once. It is a staple for programming, debugging and working with colour codes, permissions or low-level data.
Frequently asked questions
Binary is the raw language of computers, hex is a compact way to write binary that appears in colour codes and memory addresses, and octal shows up in file permissions. Each is just a different way of writing the same number.
Each base only allows certain digits — binary uses 0 and 1, octal 0 to 7, and hex 0 to 9 plus A to F. Entering a digit outside the chosen base's range triggers the warning.