Binary Converter
Binary Converter writes each character as eight bits, using its character code, padded with leading zeros. It does not turn a binary string back into text.
Hi01001000 01101001Processing: runs in your browser, nothing uploaded
About Binary Converter
Eight bits from the character code
The box walks the paste one character at a time. Each character becomes its JavaScript character code, then that code is written in binary and padded on the left until it is eight digits. Groups are separated by a space. H is code 72, so it prints 01001000. The letter i is code 105, so it prints 01101001. The word Hi is therefore 01001000 01101001. A space is code 32 and prints 00100000, which means a gap in the sentence is its own group. There is no switch for 7-bit ASCII, UTF-8 byte width, or 16-bit groups. An emoji can take two code units, and each unit gets eight bits. A line break is a character, so it becomes a group too.
Text in, bits out
This job starts from letters, not from a bit string. Pasting 1101 does not produce the number 13. The digits are characters, so you get four eight-bit groups for the characters 1, 1, 0, and 1. Binary to Decimal is the page that reads 0 and 1 as a number. Decimal to Binary starts from a base-10 value. Hex to Decimal and Decimal to Hex speak base 16. Base64 Encoder uses a different alphabet and will not match these groups. Number Base Converter sends visitors here, but this box has no base menu and no octal path. An empty paste has no characters, so the result is empty.
Why a textbook can disagree
Some lessons print 7 bits and drop the leading zero. This tool always prints eight. Some lessons list remainders from the last division first, which can look reversed next to the usual binary order used here. The order here is the one from toString(2), then padStart so the group is eight digits. A character outside the basic Latin set still uses the UTF-16 code unit, not a UTF-8 byte sequence. If you need code points written as U+0048, that is a different tool. Copy the groups into your notes after you check one letter by hand. If the first letter is wrong, the rest of the line is the same rule applied again.
What to open instead
Use Binary to Decimal when the homework says convert 1101 to base 10. Use Decimal to Binary when you have 13 and want 1101. Use Hex to Decimal when the value looks like FF. None of those pages expand a sentence into bits. This page will not decode a bit string back into Hi. There is no second box for the reverse direction. If a character looks like a box or a question mark, the paste already lost the original letter before the bits were made. Fix the text first, then run it again.
How to use
- 1
Paste the text you want as bits.
- 2
Run the conversion.
- 3
Copy the eight-bit groups. Check the first letter before you trust the line.
Privacy
Character codes are read in this browser, and the paste is not uploaded.
Frequently asked questions
Does Binary Converter turn bits back into text?
No. It only expands each character into eight bits. Binary to Decimal reads 0 and 1 as a number, and it does not rebuild letters either.
Why is Hi two groups?
H is character code 72, printed as 01001000. i is 105, printed as 01101001. A space would be a third group.
Can I choose 7-bit or UTF-8 width?
No. Every code unit is padded to eight bits. An emoji can become two groups because it uses two code units.
What happens if I paste 1101?
Those are characters, not a binary value. You get four eight-bit groups, not the number 13.
Is the paste uploaded?
No. The character codes are read in the browser.
Related tools
Binary to Decimal
Decimal to Binary
Ip to Binary
Morse Encoder
Number to Words
Base64 Decoder
Caesar Cipher
Percentage Change Calculator
Browse all Text Tools · Sitemap