Text to Binary

Convert text to binary, hex, and decimal — or decode binary back to text. Real-time conversion using UTF-8 encoding.

Binary
 
Hexadecimal
 
Decimal
 

How to use

  1. Type or paste text in the "Text → Binary" tab to see the binary, hex, and decimal representations.
  2. Switch to "Binary → Text" and paste space-separated binary bytes to decode binary back to text.
  3. Click Copy to copy any output to your clipboard.

Frequently asked questions

How is text converted to binary?

Each character is first converted to its UTF-8 byte value(s), then each byte is represented as an 8-bit binary number. For example, the letter "A" has UTF-8 value 65, which is 01000001 in binary.

What is the binary representation of a space?

A space character (ASCII 32) in binary is 00100000.

Does this tool support Unicode and emoji?

Yes. The converter uses the TextEncoder API which encodes characters as UTF-8. Multi-byte characters like emoji will produce multiple bytes in the output.

How do I convert binary back to text?

Switch to the Binary → Text tab. Paste space-separated 8-bit binary groups (e.g. 01001000 01101001) and the text output will appear immediately.