Преобразование текста в двоичный код
Tool guide
This is the opposite direction: you type an ordinary phrase and get a row of eight-digit bytes separated by spaces. Handy for showing a student how a string sits in memory, for a nerdy print on a shirt or a card, for a hidden line in a profile bio, or for building a worksheet. The encoding happens on the page itself — the phrase you type is never uploaded and is gone when the tab closes. See also: decode those binary digits back to text, see the hex codes for each character, spell the phrase out in Morse code.
The string is encoded as UTF-8, where a Cyrillic character occupies two bytes. A five-letter Russian word therefore becomes ten eight-digit groups rather than five. That is not a quirk of the page — it is how the string actually sits in memory and travels over the wire. For one byte per letter you would need a single-byte encoding such as CP1251 first.
Usually four, so thirty-two digits, and composite emoji with skin-tone modifiers or a zero-width joiner can run to eight bytes or more. That is why a short phrase with smileys expands into a surprisingly long strip of ones and zeros. Keep the input to Latin letters and digits if you need a compact result.
A newline is encoded as its own byte, 00001010, so a multi-line text keeps its structure in the data even though the output is printed as one continuous space-separated run. Decode it back and the breaks return, as long as those bytes survive the copy and paste.
Use the Binary to Text tool in the same section — it expects exactly the format this page produces, eight-digit bytes separated by single spaces. Hit Copy here, open the decoder, paste and press Convert.
The page always inserts a space between groups, because an undivided strip is close to unreadable by eye. If you need it solid, strip the spaces with a find-and-replace in any editor. Just remember that decoding it later will then require splitting it into eights by hand.
There is no separate cap, but keep the growth in mind: each Latin character becomes nine output characters once the space is counted. A page of text expands to roughly twenty thousand characters of binary, which any browser handles comfortably. A whole book will noticeably stall the tab.
Before: Hi
After: 01001000 01101001
Before: A B
After: 01000001 00100000 01000010
Your rating and feedback help decide what to improve next.