Loading tool…
Convert a number between binary, octal, decimal and hexadecimal. Enter a value, pick its base, and see all four at once.
Loading tool…
Privacy: this tool runs entirely in your browser. Your input is never sent to, received by, or stored on any server — there are no uploads and no tracking of what you enter.
Binary (base 2) uses 0-1, octal (base 8) uses 0-7, decimal (base 10) is everyday numbers, and hexadecimal (base 16) uses 0-9 and A-F. Programmers switch between them constantly.
Hex is a compact way to write binary — each hex digit is exactly 4 bits. Colors, memory addresses and byte values are usually shown in hex.
Type your number, choose the base it is currently in, and the tool shows the binary, octal, decimal and hex equivalents.