Conversor de Binário para Texto
Converta código binário para texto e texto para binário.
Como usar Conversor de Binário para Texto
Digite o Código Binário
Digite o código binário que você deseja converter para texto no campo de entrada fornecido
Escolha o Tipo de Conversão
Selecione se deseja converter binary para text ou text para binary usando as opções disponíveis
Obter Resultado
Clique no botão convert para obter o resultado, que será exibido no campo de saída
Ferramentas Relacionadas
Binary to text converter online: decode binary to readable text
Binary to text converter online: decode binary to readable text
Convert binary code to readable text instantly with the binary to text converter at ToolHQ. Paste a sequence of binary (base-2) numbers representing character codes and get the decoded text. Converts in both directions: binary to text and text to binary. Processed entirely in your browser.
Binary-to-text conversion in this context means decoding sequences of 8-bit binary numbers (strings of 0s and 1s) into the ASCII or Unicode characters they represent. Each group of 8 bits encodes a number between 0 and 255, and that number maps to a specific character in the ASCII table. For example, 01001000 01100101 01101100 01101100 01101111 decodes to "Hello". This type of encoding is widely used in computer science education, cryptography challenges (CTF), and obfuscated text puzzles.
Key Takeaways
- Binary-to-text converts 8-bit binary groups to their ASCII character equivalents
- Each 8-bit group represents a decimal number (0-255) that maps to an ASCII character
- The ASCII table maps numbers to characters: A=65, B=66, space=32, and so on
- Converts both ways: binary to text and text to binary
- Processed entirely in your browser, your text is never sent anywhere
How binary-to-text conversion works
Every text character has a numeric code. The ASCII standard, established in 1963, defines 128 characters (printable and control characters) with codes from 0 to 127. Extended ASCII and Unicode extend this to cover every character in every writing system.
When text is stored or transmitted as binary, each character's numeric code is written in base 2 (using only 0s and 1s). In an 8-bit (one byte) encoding:
- The letter A has ASCII code 65. In 8-bit binary:
01000001 - The letter B has ASCII code 66. In 8-bit binary:
01000010 - A space has ASCII code 32. In 8-bit binary:
00100000 - The digit 0 has ASCII code 48. In 8-bit binary:
00110000
To convert binary to text:
- Split the binary string into 8-character groups (each group is one byte = one character)
- Convert each 8-bit group from base 2 to a decimal number
- Look up the decimal number in the ASCII table to find the character
- Concatenate all the characters to get the text
Working through an example: 01001000 01100101 01101100 01101100 01101111
01001000= 72 = H01100101= 101 = e01101100= 108 = l01101100= 108 = l01101111= 111 = o
Result: "Hello"
Common ASCII values in binary
Understanding which characters correspond to which binary patterns helps when working with binary-encoded text:
| Character | Decimal | 8-bit binary |
|---|---|---|
| Space | 32 | 00100000 |
| 0 | 48 | 00110000 |
| A | 65 | 01000001 |
| B | 66 | 01000010 |
| Z | 90 | 01011010 |
| a | 97 | 01100001 |
| b | 98 | 01100010 |
| z | 122 | 01111010 |
| ! | 33 | 00100001 |
| . | 46 | 00101110 |
Notice that lowercase letters (a=97) have codes exactly 32 higher than their uppercase equivalents (A=65). In binary, this means lowercase letters differ from uppercase letters only in bit 6 (the third most significant bit). This pattern was intentional in the ASCII design and is still used by low-level character operations in programming.
Text to binary: the reverse direction
Converting text to binary works in the reverse order:
- For each character in the text, find its ASCII code
- Convert that decimal number to 8-bit binary (padding with leading zeros if necessary)
- Concatenate the binary groups, separated by spaces for readability
The text "Hi" converts as follows:
- H = 72 =
01001000 - i = 105 =
01101001 - Result:
01001000 01101001
ToolHQ's converter handles both directions with the same tool. Enter binary to get text; enter text to get binary.
Use cases for binary-to-text conversion
Computer science education: Binary encoding of text is a foundational concept in computing. Understanding how characters are represented as numbers, and numbers as binary, builds the mental model for understanding how computers store and process all data. Students and self-taught programmers use binary-to-text converters to check their understanding and verify manual calculations.
Capture the Flag (CTF) challenges: CTF competitions are cybersecurity puzzles where participants decode obfuscated messages to find hidden "flags". Binary-encoded text is a common encoding in CTF puzzles, typically at the beginner level. Participants paste binary strings into a converter to quickly decode them and continue with the challenge.
Teaching and demonstration: Binary encoding is a classic teaching example for showing how computers represent text. A teacher can type a word, convert it to binary, and show students how computers see that word as a string of 0s and 1s.
Decoding obfuscated or encoded content: Some tools and systems output text in binary encoding as a simple obfuscation technique. The binary is not cryptographically secure but does make the content non-immediately-readable. A quick binary-to-text conversion decodes it instantly.
Understanding file formats: Low-level file inspection and network protocol analysis sometimes involves reading binary representations of data fields that contain text. Converting specific byte sequences to text helps interpret what the data contains.
Mini-story: A computer science student was completing an online course module on character encoding. The module included an exercise: given a binary string, identify the message. She spent several minutes working through the first few bytes by hand before using ToolHQ's binary-to-text converter to check her work. The converter confirmed her manual calculations were correct, and she used the remaining exercises as checks on her understanding rather than grinding through each one manually. She understood the concept; the converter helped her verify it efficiently.
How to use the binary to text converter
- Open the tool. Visit ToolHQ's binary to text converter.
- Enter binary. Paste your binary string. Groups of 8 bits should be separated by spaces. For example:
01001000 01101001. - Convert. Click "Convert" or the tool converts automatically. Each 8-bit group is decoded to its ASCII character.
- Read the output. The decoded text appears in the output field.
- Reverse direction. To convert text to binary, enter text in the input field and get binary output. The tool works in both directions.
Note on spacing: Binary strings entered without spaces are interpreted by grouping bits into sets of 8 from left to right. If the total number of bits is not divisible by 8, the conversion may produce unexpected results. Always use space-separated 8-bit groups for clarity.
Frequently asked questions
What if the binary string contains only 0s and 1s but produces unreadable output? If the decoded characters are non-printable or garbled, check whether the binary input uses 8-bit groups. If each character uses a different number of bits (7-bit ASCII, for example), or if the groups are not separated correctly, the conversion will produce incorrect output. Also verify that the binary encodes ASCII text rather than another data type.
Can this tool decode binary files? No. Binary-to-text conversion for text characters is different from reading binary file formats (like images, audio files, or executables). This tool converts binary representations of ASCII/Unicode character codes to their text equivalents. Binary file data requires file-type-specific parsing.
Is this the same as the text to binary tool? ToolHQ has a separate text to binary tool that converts text to binary. The binary to text tool works in the reverse direction but is also available in the same interface.
What is the difference between binary and hexadecimal representation?
Both binary (base 2) and hexadecimal (base 16) are ways to represent the same underlying numbers. A single hexadecimal digit represents exactly 4 bits, so 8-bit binary 01001000 = hexadecimal 48 = decimal 72 = 'H'. Hexadecimal is more compact; binary is more explicit. For hexadecimal-to-text conversion, see ToolHQ's hex to text tool.
The short version
Binary-to-text conversion decodes sequences of 8-bit binary numbers into the ASCII characters they represent. Each 8-bit group maps to a decimal number (0-255), which maps to a character in the ASCII table. The process reverses cleanly: text to binary converts each character to its 8-bit binary code. This conversion is a fundamental concept in computing, a common element in CTF challenges, and a useful educational tool for understanding how text is stored and processed at the bit level. ToolHQ's binary to text converter processes both directions entirely in your browser.
Convert binary to text at ToolHQ.
Related tools: Text to binary | Hex to text | Number base converter | Base64 encoder