Binary/Hex/Decimal Converter

Convert numbers instantly between binary, decimal, hexadecimal, and octal - all four update together as you type.

▼ Enter a number in any base — the others update automatically

Converting Between Number Bases

Convert numbers between decimal (base 10), binary (base 2), hexadecimal (base 16), and octal (base 8) — the number systems most commonly used in programming, computer science, and digital electronics.

Example: decimal 255 is 11111111 in binary, FF in hexadecimal, and 377 in octal — enter a value in any base and the rest convert automatically.

What Are Number Bases?

A number base (or radix) determines how many unique digits are used before carrying over. Decimal (base 10) is what we use daily. Binary (base 2) uses only 0 and 1, and is the foundation of digital computing. Hexadecimal (base 16) uses 0-9 and A-F, commonly used in programming for compact byte representation. Octal (base 8) uses digits 0-7.

Frequently Asked Questions

A number base (or radix) determines how many unique digits are used before carrying over.

Binary (base 2) uses only 0 and 1, and is the foundation of digital computing.

Hexadecimal (base 16) uses 0-9 and A-F, and is commonly used in programming for compact byte representation.

Octal (base 8) uses digits 0-7.

Yes — binary, octal, decimal, and hexadecimal are all shown at once, and editing any one of them instantly recalculates the other three to match.

Feedback
Was this tool helpful?
Share
How would you rate this tool?