Convert between binary, octal, decimal, and hexadecimal instantly
To convert between number bases, type a value into the binary, octal, decimal, or hexadecimal field and the other three update instantly. For unusual bases, use the arbitrary base section to convert between any base from 2 to 36. It runs in your browser and is free with no signup.
A number base (or radix) defines how many unique digits are used to represent numbers. Decimal (base 10) uses digits 0-9, binary (base 2) uses 0-1, octal (base 8) uses 0-7, and hexadecimal (base 16) uses 0-9 and A-F. Converting between bases is a common task in programming, networking, and digital electronics.
This converter keeps all four common bases in sync as you type, and also supports any arbitrary base from 2 to 36 (using digits 0-9 and letters A-Z). For example, decimal 255 equals binary 11111111, octal 377, and hexadecimal FF.