Number base converter
Programmers, electronics students and anyone studying computer science regularly switch betweenbinary, octal, decimal and hexadecimal. This converter shows a number in all four at once — plus any base you choose — and handles very large integers exactly. Paste values like 0xFF or0b1010 directly.
How to use it
- Type the number and choose the base it's written in.
- Read it in binary, octal, decimal and hexadecimal; tap a value to copy it.
Example
The decimal number 255 is 11111111 in binary (eight 1s — one byte), 377 in octal and FF in hexadecimal, which is why the brightest red in web colours is #FF0000. Unix permission 755 (octal) is 111 101 101 in binary: read-write-execute for the owner and read-execute for others. Need Roman numerals instead? Try the Roman numerals converter.