Binary code

Convert text to sequences of 0s and 1s, and back again.

Codes

Turn text into readable binary bytes, or decode a sequence of bits into text with customizable separators.

Settings

Conversion direction

Byte separator

Text

0 source char.

Result

Add text or binary code.

Quick explanation

Choose the conversion direction, paste your text or bits, then adjust the byte separator. The result updates automatically.

Try this too

Need to view decimal character values?

Use the ASCII code tool to display numerical character code points or rebuild text from decimal values.

Try this tool

Additional information

Understanding binary code

Binary code represents information with only two symbols: 0 and 1. Each symbol is a bit. In everyday text encoding, these bits are grouped into bytes, meaning groups of 8 bits.

Text to binary

The tool turns the text into UTF-8 bytes, then displays each byte as 8 bits. The letter A, for example, becomes 01000001.

Binary to text

In the other direction, bits are read in groups of 8 to rebuild the text. Separators are only there for readability; they do not change the bit values.

Accents and special characters

Because the tool uses UTF-8, an accented character can use several bytes. That is expected and helps preserve multilingual text correctly.

CharacterBinary codeNote
A01000001A simple uppercase letter fits in one byte.
a01100001Letter case changes the code: A and a are different.
000110000This is the character “0”, not the numeric value zero.
Space00100000A space is also an encoded character.

Example: Hi becomes 01001000 01101001. If you paste a continuous stream of bits, the tool automatically reads it in 8-bit groups during decoding.

Learn more

Binary is the foundation of digital data representation: text, images, audio, and programs are ultimately stored as bits. To learn more, see the Wikipedia page about binary code.

Limits and reuse

AppErgo tools are provided free of charge for practical and informational purposes. Although care is taken in their design, a result may be incomplete, unexpected or incorrect. Before relying on a result for any important use, check it using an appropriate method.

To report a bug in the tool, you can use the dedicated bug report form.

Results produced by AppErgo tools may be copied and reused freely. When publicly reusing a result, a method or an AppErgo page, a link to the relevant page is appreciated.

Unless otherwise stated, AppErgo texts, images, visual elements, scripts, templates and internal components remain the property of AppErgo.

For any other request, you can contact the webmaster.