b2KIT

Text to Binary Converter

Convert text to binary representation and decode binary back to readable text instantly.

Tested tool guide Tested browser tools Checked August 16, 2026

What Text to Binary Converter does, with a checked example

Type or paste a sentence and this tool rewrites it as a string of 0s and 1s, one 8-bit byte per character for ordinary text, and reverses the process when you paste the bits back. Each character has a numeric code point; the converter writes that number in base 2, pads it to eight digits, and joins the bytes with spaces. The surprise most users hit: this is not a number converter. The digit 5 becomes 00110101, not 101, because '5' is a character whose code point is 53, and the output always reflects the text's characters, not the value you might read into the string.

Worked example

A concrete input and expected output from the current implementation.

Input

Hi

Expected output

01001000 01101001

H is code point 72, which in 8-bit binary is 01001000 (64 + 8), and i is code point 105, or 01101001 (64 + 32 + 8 + 1). Each byte is padded to eight digits and the two bytes are separated by a space.

How the result is produced

1

One byte per character

Each character in the input has a numeric code point: in the ASCII-compatible range used by UTF-8, 'A' is 65 and 'z' is 122. The converter writes that number in base 2 and pads it with leading zeros to exactly eight digits, one byte. Bytes are emitted in input order, separated by spaces so each group stays countable.

2

Decoding eight bits at a time

To decode, the converter splits the pasted input into 8-bit groups, reads each group as a binary number, and looks up the character with that code point: 01101001 is 105, which is 'i'. The reverse pass is only as good as the forward one. Groups shorter than eight digits, characters other than 0 and 1, or code points not assigned to any character are where decoding fails.

Good uses

  • Obscuring a message in a chat, forum post, or code review comment so it is not readable at a glance, then having the recipient decode it on the same page.
  • Verifying hand-computed homework or self-study answers: convert a word by hand, then paste both the original text and your bit string here to confirm they match.
  • Seeing how a character is actually stored: pasting an accented letter or an emoji reveals the multi-byte pattern that explains why one visible character can occupy several bytes in memory.

Limits and checks

  • This is encoding, not encryption. The bit stream is trivially reversible by anyone who has it, so treat it as visual obfuscation against a glance, never as protection for anything sensitive.
  • Non-ASCII characters inflate the output. In UTF-8, 'é' occupies two bytes and an emoji four, so one typed character can produce 16 or 32 digits, which surprises anyone used to 8 digits per letter.
  • A paste rarely decodes cleanly if the source reformatted the bits. Missing leading zeros, bytes glued together without separators, or stray characters inside the stream break the 8-bit grouping, so the decode fails instead of guessing.

Common questions

Why does 'Hi' come out as 16 digits?

Because every character is one byte and every byte is exactly eight bits: 'H' is 01001000, 'i' is 01101001, and the two sit side by side with a space between. Sixteen digits for two characters is the expected shape, not an error. If you expected fewer digits, you are probably thinking of code points in decimal (72 and 105) or hex (48 and 69).

Is the output ASCII or UTF-8?

For letters, digits, and punctuation the two are identical, which is why results match textbooks. The difference shows with accented characters and emoji: ASCII has no codes for them, so any converter that accepts them is working in UTF-8, where such a character becomes two to four bytes. If your bits came from a different single-byte encoding, decoding them here can produce wrong characters.

References and verification

The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools