Tradutor Binário

Converta binário para texto ou texto para binário em ambas as direções, com suporte UTF-8, e copie o resultado para codificação, aprendizado e quebra‑cabeças.

Text to binary, binary to text, decimal and hex - all at once

Choose the format your input is already in - plain text, binary digits, decimal byte values or hexadecimal - and this translator instantly shows the same data in all four formats side by side. It works as a text to binary converter and as a binary to text decoder in one place, so you never need to switch tools or flip a mode button. It is handy for checking what a mysterious binary or hex string actually says, or for generating the binary form of a word for a worksheet, a puzzle or a programming reference.

Why all four formats update together

Text, binary, decimal and hex are different ways of writing exactly the same bytes. Text characters are stored as numbers (via UTF-8 encoding), and binary, decimal and hex are three number bases for writing those numbers. Converting between them loses nothing in either direction, as long as the bytes form valid text.

How to convert text to binary

Set the input type to Text and type your words. Each character becomes one byte, shown as eight binary digits, for example H is 01001000 and i is 01101001. Copy the binary card to use it elsewhere. Characters outside basic English, such as accented letters, Bengali, Arabic or emoji, take two to four bytes each, so one visible character can produce several eight-digit groups. That is normal UTF-8 behaviour, not an error.

How to convert binary to text

Set the input type to Binary and paste your groups of zeros and ones separated by single spaces. The Text card shows the decoded message. If your binary is one long unbroken string, cut it into groups of eight digits first. Groups shorter than eight digits are accepted if each is a valid byte, but a mix of odd lengths usually means the original was split in the wrong place.

Decoding a byte by hand

To check the answer yourself, write the place values 128, 64, 32, 16, 8, 4, 2, 1 under the eight digits, add the values that sit under a one, and look the total up in an ASCII table. 01001000 gives 64 plus 8, which is 72, the capital letter H. Doing one or two by hand is a good way to build intuition, and the tool lets you confirm each result instantly.

Input formatting that matters

Binary input should be groups of up to eight digits separated by spaces. Decimal input should be byte values from 0 to 255 separated by commas or spaces, because anything outside that range cannot be one byte. Hex input accepts pairs of hex digits with or without spaces, so 48656C6C6F and 48 65 6C 6C 6F both work. Remove stray characters such as commas inside binary, line numbers or prefixes like 0x before converting.

Binary, decimal and hexadecimal side by side

The capital letter H is 01001000 in binary, 72 in decimal and 48 in hex. Programmers like hexadecimal because two characters describe a whole byte, while binary shows every individual bit, which is useful when working with flags, masks and network data. Seeing all three together makes it easier to move between them when reading documentation or debugging.

When the decoded text shows "(not printable)"

Real encoded text always decodes to readable characters. If you enter values that do not form valid UTF-8, which happens easily with random numbers, the Text card shows "(not printable)" instead of garbled symbols. Check that you picked the right input type, that every group is a complete byte, and that the data really came from text rather than from an image or compressed file.

Where this is genuinely useful

Students use it for computer science homework on number systems and character encoding. Developers use it to debug encoding problems and inspect raw bytes. Teachers and puzzle makers use it to create or decode binary messages. It also helps when a CTF challenge, a log line or a sample from documentation gives you bytes and you want to know what they spell.

Perguntas frequentes

How do I convert text to binary?

Choose Text as the input type and type your words. Every character is shown as one or more eight-digit binary groups, for example Hi becomes 01001000 01101001.

How do I convert binary to text?

Choose Binary as the input type and paste your groups of zeros and ones separated by spaces. The Text card shows the decoded message.

What separators should I use between binary or hex groups?

Separate binary bytes with spaces (for example 01001000 01101001). Hex can be entered with or without spaces; 48656C6C6F and 48 65 6C 6C 6F both work.

Why does my decoded text show "(not printable)"?

The bytes you entered do not form valid readable UTF-8 text. This often happens with random values or with data that was never text, such as part of an image.

Why does decimal input need values between 0 and 255?

One byte holds 256 possible values, 0 to 255, so any decimal number outside that range cannot be a single byte and is rejected.

Can this handle non-English characters and emoji?

Yes. It uses standard UTF-8, so accented letters, Bengali, Arabic and emoji convert correctly, though they appear as two to four byte groups instead of one.

Will binary with no spaces between bytes convert?

Split it into groups of eight digits first and put a space between each group, then paste it in.

Why is a byte made of eight bits?

Eight bits give 256 values, enough for letters, digits and punctuation, so eight bits became the standard unit for computer memory and text.

Is this useful beyond curiosity or puzzles?

Yes. It is a practical reference for programming, debugging encoding issues and understanding what a sequence of binary or hex represents as text.

Mais em Conversores & Utilitários