Converters
Number Base Converter
Convert numbers between binary, octal, decimal, and hexadecimal. Enter in any base and see all four representations instantly.
Binary (Base 2)
0b11111111
Octal (Base 8)
0o377
Decimal (Base 10)
255
Hexadecimal (Base 16)
0xFF
Related Tools
More free utilities you might find useful
Frequently Asked Questions
Quick answers to common questions
What number bases are supported?+
Binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16).
How do I convert binary to decimal?+
Enter your binary number, select base 2 as input, and read the decimal result.
What characters are valid in hex?+
0-9 and A-F (case insensitive).
Is there a limit on number size?+
JavaScript integers are safe up to 2^53 - 1. Very large numbers may lose precision.
