Number Base Converter
Convert numbers between bases — decimal, binary, hexadecimal, octal and any base.
The same number in different bases
A number can be written in any base: everyday decimal is base ten, computers work in binary and hexadecimal, and permissions and older systems use octal. This converts a value between them, so you can see what a decimal number is in binary, decode a hex value, or move between whichever bases you are working with.
Enter a number and its base, and see it in the others.
Why programmers live in hex
Hexadecimal earns its place in computing because it lines up neatly with binary — each hex digit is exactly four binary bits — so it is a compact, readable way to write binary values without endless ones and zeros. That is why colours, memory addresses and byte values are shown in hex. Octal, base eight, survives mainly in file permissions. Understanding that these are all just different ways of writing the same underlying number, with base ten being no more fundamental than the rest, is a small but genuine shift in how you read data.
Number Base Converter FAQ
What bases can it convert between?
Decimal, binary, hexadecimal, octal and other bases you specify.
Why is hexadecimal used so much in computing?
Each hex digit maps to exactly four binary bits, making it a compact, readable way to write binary values.
Is anything uploaded?
No. The conversion happens in your browser.