Number Base Converter
Convert numbers between binary, octal, decimal, hexadecimal, and any base from 2 to 36. All fields update live as you type.
Common Bases
Custom Base
Features
How to Use
1. Type a number into any of the base fields (binary, decimal, hex, etc.).
2. All other bases update automatically.
3. Click any value to copy it.
About this tool
Computers count in binary, programmers read memory addresses and colours in hexadecimal, Unix permissions use octal, and people think in decimal. This converter keeps all four in sync: type a value in any field and the others update immediately, with an extra field for any base from 2 to 36 using digits 0–9 and letters A–Z. It checks that every character is valid for the chosen base, so an 8 typed into the binary field is flagged instead of producing a wrong answer. Values are whole numbers up to JavaScript's safe integer limit of 9,007,199,254,740,991 (2^53 − 1). It is useful for bit flags, colour codes, file permissions, network masks and computer science homework.