Security & devFree
Free text to binary converter. Encode text to 8-bit binary or decode binary back to text in your browser.
Last updated 4 October 2026
Text to Binary is a free online utility on QuikUtil. Free text to binary converter. Encode text to 8-bit binary or decode binary back to text in your browser.
Bits and text are not the same kind of thing, and this page now says so rather than guessing. Decoding reads the bits into bytes first. If those bytes are valid UTF-8 and a text box can hold them unchanged, you get text. If they are not, you get the bytes in hex and a line saying why, rather than a string of replacement characters under a green status.
Decoding the first four bytes of a PNG file · measured in a browser, 4 October 2026
Until 4 October 2026 that paste returned �PNG, whose bytes are ef bf bd 50 4e 47: six bytes where there had been four. The first byte of a PNG is 0x89, which is not a legal start to a UTF-8 sequence, and the browser’s decoder replaces what it cannot read instead of refusing. Converting that back to binary then returned different bits than went in.
Line endings are the same fault in ordinary text. A textarea normalises a carriage return to a line feed, so text copied from a Windows-authored file or a PEM block arrives with its carriage returns already gone, and encoding it produces the binary of a different byte sequence. Measured on this page: a and b on two lines gave three groups where the file holds four. The Line endings control asks for CRLF explicitly, and Input is accepts hex bytes, which skips the text box altogether.
UTF-8 bytes, shown as 8-bit groups. Set Input is to hex bytes to convert an exact byte sequence instead of text.
The binary output groups one byte per space-separated block of eight bits, so you can count bytes by eye. Decoding ignores the spaces.
0s and 1s, with spaces optional. The number of bits must be a multiple of eight, because a byte is eight bits and a partial byte has no value.
You get the bytes in hex and a note saying they are not valid UTF-8. The same happens when the bytes are text but hold a carriage return, which a text box cannot display without changing it.
No. The conversion is a few lines of JavaScript on this page, with no server call and no upload.