Updated · Built and checked by the PlinzoTools team, formulas tested against published sources
Convert text to binary, or binary back to text.
01001000 01100101 01101100 01101100 01101111Every character a computer displays is stored internally as a number, and that number can be written in binary (base 2). This tool converts text into its binary representation -- each character shown as a space-separated group of 1s and 0s -- and converts binary back into readable text.
Choose a direction, then paste text (to encode) or space-separated binary groups (to decode). The result updates as you type.
Each character's Unicode code point is converted to its binary representation via codePointAt(0).toString(2). For basic ASCII text (letters, digits, common punctuation), this matches the character's standard 7-8 bit binary code.
The letter "A" (code point 65) converts to 1000001 in binary.
For a hexadecimal representation instead, see the Text to Hex Converter. For each character's exact Unicode code point, use the Unicode Code Point Converter.
Encode the word "Hi". The letter H has code point 72, which is 1001000 in binary, and the letter i has code point 105, which is 1101001. The output is therefore 1001000 1101001, two groups separated by a space. Decoding that string reverses the process: each group is read as a base-2 number, turned into a character, and the characters are joined. Now compare with a digit: the character "7" is code point 55, which is 110111 in binary, only six bits. The tool does not pad short groups to eight bits, so do not be surprised if the results look shorter than the 8-bit ASCII tables you may have seen in textbooks.
Encode: binary group = code point written in base 2, with no leading zeros added. Decode: character = the code point given by reading each group as base 2.
Many tutorials show letters as 8-bit bytes with leading zeros, for example 01001000 for H. This converter shows the shortest representation, 1001000. When decoding, leading zeros do not matter, so you can paste either form and get the same character back. If you need fixed 8-bit output for a class assignment or a puzzle, add zeros to the left of each group until it has eight digits. The value stays the same.
This converter works with Unicode code points, not with the bytes of a specific text encoding. For plain English, that is identical to ASCII. For characters outside ASCII, such as accented letters, non-Latin scripts and emoji, the output is the code point number in binary, not the multi-byte UTF-8 sequence that a file or network packet would contain. A byte-level view of the same text would look different, with several 8-bit groups per character. Use this tool for learning, puzzles and code point inspection, and use a byte-oriented tool when you must match exact stored bytes.
Try encoding a lowercase letter and its uppercase twin. Their binary values differ in a single bit position, which is why letter case can be flipped so cheaply in low-level code. Comparing the two outputs is a quick, concrete way to see how character sets are organised.
Because different characters have different code point values -- "A" (65) needs 7 bits while an emoji's code point can need 17+ bits. Padding to a fixed width is a display choice, not a requirement.
Yes -- the conversion is based on each character's Unicode code point, so any character with a defined code point converts correctly.
For standard English letters, digits, and punctuation, yes -- those characters' Unicode code points match their classic ASCII values exactly.
The tool does not pad with leading zeros. The digit 7 has code point 55, which needs only six binary digits.
Not reliably. Groups need to be separated by spaces, otherwise the tool reads the whole string as a single number.
Only for basic ASCII characters. For other characters, UTF-8 uses several bytes, while this tool shows the code point value in binary.
Reference: MDN Web Docs