Binatomy
Number Converter

Number Base Converter

Convert numbers between decimal, binary, octal and hexadecimal

Number Base Conversion

FAQ

Frequently Asked Questions

Everything you need to know about number base conversion

What are number bases?

Number bases are numeral systems that use a certain number of digits. Base 10 (decimal) uses digits 0-9 and is the one used daily. Base 2 (binary) uses only 0 and 1 and is the language of computers. Base 8 (octal) uses 0-7, and base 16 (hexadecimal) uses 0-9 and A-F for web colors, memory addresses and programming.

How does base conversion work?

To convert a number from one base to another, you generally go through base 10. For example, binary 1010 equals 1x8 + 0x4 + 1x2 + 0x1 = 10 in decimal, which becomes A in hexadecimal. Each digit represents a power of the base: in binary powers of 2, in octal powers of 8, in hexadecimal powers of 16.

Why is hexadecimal important in programming?

Hexadecimal is fundamental in computing because each hex digit corresponds exactly to 4 binary bits, making conversion immediate. It is used for CSS colors (#FF5733), memory addresses (0x7FFF), RGB values, character encodings (UTF-8) and binary data debugging. It is much more compact than binary: FF is more readable than 11111111.

Which bases does the converter handle?

Decimal, binary with base two, octal with base eight and hexadecimal with base sixteen. Entering a number in any of them fills in the other three at once, so you can read the same value four ways.

Why is hexadecimal used so much in computing?

Because one hexadecimal digit stands for exactly four binary digits, so a byte fits into two characters. It is shorter than binary to write and maps onto it without arithmetic, which is why colours and memory addresses use it.

Which characters are valid in each base?

Binary takes only 0 and 1, octal 0 to 7, decimal 0 to 9 and hexadecimal 0 to 9 plus the letters A to F. A character outside the range for that base makes the number invalid rather than being ignored.

Does my data stay private?

Yes, and not because we promise it: this tool runs entirely inside your browser. What you type or upload never leaves your device, so it never reaches a server of ours and there is nothing we could keep, read or lose. You can check it yourself: open the page, disconnect from the internet, and the tool keeps working.

Do you store what I enter?

No. There is no database behind this tool: we do not store your files, your text or your results. When you close the tab nothing is left — not here with us, because it never arrived, and not anywhere else.

Do you profile me? Are you GDPR compliant?

We do not profile you: there is no account to create, we never ask for your email to use a tool, and we keep no profile of what you do. We are an Italian company and we work under the GDPR and the other European rules, with the privacy notice and the consent request in plain sight. One thing we say in full rather than hiding it behind a slogan: the ads on the page are Google's, and Google may use cookies to personalise them. You decide from the consent banner: if you say no the ads stay, but they are not personalised, and the tool works exactly the same.

If it is free, how do you make money?

From the ads on the page, and that is all. We do not sell your data, there is no hidden paid plan, there is no limit that eventually asks for your card, and you do not have to sign up. The ads pay for the servers and for the time we spend writing the tools: that is how we can keep them open to everyone.