Home โ€บ Converters โ€บ Binary & Hex Converter

๐Ÿ’ป Binary & Hex Converter

Convert a number between binary, octal, decimal and hexadecimal bases.

About this Binary & Hex Converter

Computers store everything in binary, programmers read memory in hexadecimal, and people count in decimal. This converter takes a value in any of the four bases - binary, octal, decimal or hexadecimal - validates its digits, and shows the same number in all four systems at once. It is handy for programming, electronics, networking and computer science coursework.

How to use it

  1. Enter the value you want to convert.
  2. Select the base of the value you typed.
  3. Press Convert.
  4. Read the equivalent in binary, octal, decimal and hexadecimal.

Example

Decimal 255 converts to binary 11111111, octal 377 and hexadecimal FF.

Frequently asked questions

Why does hex use letters A-F?

Hexadecimal needs sixteen digits, so after 9 it continues with A=10, B=11, C=12, D=13, E=14 and F=15.

Can I enter a hex value starting with 0x?

Yes, a leading 0x is accepted and ignored for hexadecimal input.

Does it accept negative numbers?

No, it converts non-negative whole numbers only.

More Converters