Number Base Converter — Binary, octal, decimal and hexadecimal side by side
Enter a number in binary, octal, decimal or hexadecimal and see it in the other three at once, with click-to-copy. For bit manipulation, IT certification study and reading register values.
Hex-to-decimal and back comes up constantly when working with memory addresses and IP addresses.
Loading...
Base Converter: tips and things to know
- An IPv4 address is four decimal numbers, but underneath it is a 32-bit binary value.
- Each RGB channel from 0 to 255 is two hexadecimal digits.
- The 755 in chmod 755 is octal.
How to use the Base Converter
Choose the input base
Pick binary, octal, decimal or hexadecimal.
Enter the value
Type the number.
Read the results
All four bases are shown at once. Click one to copy it.
Base Converter FAQ
Which bases are supported?
Binary, octal, decimal and hexadecimal.
How large a number can it convert?
Anything within JavaScript's safe integer range, about 9 quadrillion.
Can I copy a result?
Yes. Click any result to copy it.