Binary / Hex / Octal converter
Enter a number in any base — binary, octal, decimal, or hex — and see the equivalent in all other bases instantly.
About this tool
Convert between binary, octal, decimal, and hexadecimal instantly. Paste any value and see all four bases at once — browser-based, no signup.
Enter a number in any base — binary, octal, decimal, or hex — and see the equivalent in all other bases instantly.
- 1
Enter a number in any base — decimal, binary, hexadecimal, or octal.
- 2
All other representations update instantly.
- 3
Use it for bitwise operations, memory addresses, color codes, or learning number systems.
Convert a hex colour or memory address to binary for bit-level inspection.
Check octal file permission values (e.g. 755) in binary or decimal.
Translate between bases when reading assembly, low-level code, or network documentation.
Decimal to all bases
255 (decimal)Binary: 11111111 | Hex: FF | Octal: 377Hex to decimal
0xFF255Binary to decimal
101010These answers explain common base converter tasks, expected input formats, and edge cases so both visitors and search engines can understand what this tool does.
What number bases does this tool support?
Binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16). Enter a value in any one and the other three update instantly.
Can I enter hex values with the 0x prefix?
Yes. Common prefixes like 0b (binary), 0o (octal), and 0x (hex) are stripped automatically before conversion.
What is the maximum number supported?
The tool safely handles integers up to 2⁵³ − 1 (Number.MAX_SAFE_INTEGER), which covers all practical use cases including 32-bit and 64-bit values.
How do I convert binary to hexadecimal?
Select Binary as the input base, type your binary number (e.g. 11111111), and the tool instantly shows the hexadecimal equivalent (FF) alongside octal (377) and decimal (255). No manual grouping into nibbles required.
What does the 0x prefix mean in hexadecimal?
0x is a conventional prefix used in programming languages like C, Python, and JavaScript to indicate that a number literal is in base 16 (hexadecimal). For example, 0xFF equals 255 in decimal. This tool accepts values with or without the prefix.