Updated: July 2026
Binary and Hexadecimal Converter is a free online tool that converts numbers between decimal, binary, octal and hexadecimal simultaneously, and also transforms text into binary and binary into text.
What is it
These four numerical bases appear all the time in programming, networks and electronics: decimal is base 10 that we use in everyday life, binary is base 2 used internally by computers (only with 0 and 1), octal is base 8 and hexadecimal is base 16, widely used to represent colors, memory addresses and codes in general, because it writes large numbers with few characters.
This tool converts between the four bases at the same time: when typing a value in any of the four fields, the other three are updated automatically, without having to press any button. It also has a separate section for transforming ordinary text into binary code (using 8 bits per character, in the ASCII standard) and for doing the opposite, transforming a sequence of zeros and ones back into readable text.
How to use
- Enter a number in any of the four fields (decimal, binary, hexadecimal or octal) and see the other three update instantly.
- Use the "Clear Records" button to clear all fields at once.
- To convert text to binary, type or paste the word or phrase into the text field and copy the result into the block next to it.
- To convert binary to text, paste the sequence of zeros and ones (separated by space) into the corresponding field and watch the decoded text appear.
The 1-byte viewer
Whenever the decimal value entered is between 0 and 255 (the limit of 1 byte, or 8 bits), the tool draws a panel with 8 squares representing each bit. The active bits (value 1) light up green, and below each square appears the corresponding power of two (128, 64, 32, 16, 8, 4, 2 and 1). Adding the powers of the active bits, you arrive at exactly the decimal number entered, which helps you visualize how a processor represents numbers using just two electrical states. Everything is calculated directly in the browser, without registration and for free.