Pular para o conteúdo
Tool

Binary and Hexadecimal Converter

Convert numbers between binary, octal, hexadecimal and decimal and transform text into binary instantly, for free.

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.

Perguntas frequentes

How to convert binary to decimal?

Just type the binary number (only 0 and 1) in the binary field and the decimal value appears automatically. The tool does the math in real time, without needing to click a button or install anything.

How to transform text into binary?

Choose text mode and type the desired word or phrase. Each character is converted to a group of bits, and you can also paste a sequence of zeros and ones to recover the original text.

What is the difference between binary, octal and hexadecimal?

There are different ways of writing the same number: binary uses base 2 (0 and 1), octal uses base 8 (0 to 7) and hexadecimal uses base 16 (0 to 9 and A to F). Hexadecimal is popular because it makes long numbers shorter and easier to read.

Is the tool free and does it require registration?

Yes, it is completely free and does not require registration or login. You can make as many conversions as you want, and everything is processed in your own browser.

Why is my number not being converted?

There is probably an invalid symbol for that base. Binary only accepts 0 and 1, octal goes from 0 to 7 and hexadecimal uses 0 to 9 and A to F. Check the characters entered and the result will appear again.

Sobre este conteúdo

Escrito por:
Equipe Ferramenta Grátis

Ferramentas relacionadas

Free Online Binary and Hexadecimal Converter