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
- Enter the value you want to convert.
- Select the base of the value you typed.
- Press Convert.
- 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
Unit Converter
Convert length, weight, temperature, area, volume, speed and time units instantly.
Color Converter
Convert a HEX colour to RGB, HSL, HSV and CMYK, with a live picker and swatch.
Currency Converter
Convert between USD, EUR, GBP, PKR, INR, AED and more using approximate rates.
Roman Numeral Converter
Convert numbers (1-3999) to Roman numerals and Roman numerals back to numbers.
Number to Words Converter
Turn any integer up to 999,999,999 into English words, for cheques and documents.
Timestamp Converter
Convert Unix timestamps to readable dates and dates back to timestamps.