Number Base Converter
Convert numbers between binary (base 2), octal (base 8), decimal (base 10) and hexadecimal (base 16). Instant bidirectional conversion.
Number bases
Every numeral system leans on a base to represent values. Decimal (base 10) works with the digits 0–9, while binary (base 2) gets by with just 0 and 1. Octal (base 8) runs 0–7, and hexadecimal (base 16) pairs 0–9 with A–F.
You will run into hexadecimal and binary all over the place: programming, memory addressing, CSS colors (like #FF5733) and network protocols.
Convert between number bases
Programming and electronics keep hopping between bases: everyday decimal, the machine's binary, the hexadecimal of colours, the octal of permissions. This tool converts a number between bases 2, 8, 10 and 16 and shows the equivalent in all of them.
Type the value in any of the bases and the others fill themselves in. Instead of doing successive division on paper or opening the scientific calculator, you see every representation at once, which helps with programming, studying computing or tinkering with digital electronics.
The conversion happens in your own browser. Use it as a quick reference for moving between bases without calculating by hand.
Read more on this
Related Tools
Numeric Bases Converter
Convert numbers between binary (base 2), decimal (base 10), hexadecimal (base 16) and octal (base 8). Type in any field for instant conversion in the others.
Text ↔ Decimal Converter
Convert ASCII text to decimal codes and vice versa. Each character is represented by its decimal value in the ASCII table.
Binary ↔ Hexadecimal Converter
Convert numbers between binary and hexadecimal without going through decimal. Shows nibble (4-bit) grouping.