Text to Binary Converter

Convert text to binary code and binary back to text instantly. Also shows hexadecimal and decimal representations. Works entirely in your browser.

Separator:
sort_by_alpha0 Characters
segment0 Words
sort_by_alpha0 Characters
segment0 Words

Binary Reference Chart

CharacterBinaryHexadecimalDecimal
A010000014165
B010000104266
C010000114367
a011000016197
b011000106298
c011000116399
0001100003048
1001100013149
SPACE001000002032
!001000012133
@010000004064
#001000112335

Common Use Cases

Computer Science Learning

Understand how computers store and process text at the lowest level — every character is just a sequence of 0s and 1s.

Data Encoding

Encode messages in binary for puzzles, CTF challenges, steganography, or simple obfuscation in projects.

Debugging & Inspection

Inspect the exact binary, hex, and decimal representation of any character to debug encoding issues in code.

How It Works

Every character on your keyboard has a numeric code (ASCII or Unicode code point). Binary representation converts that number into base-2 — a sequence of 0s and 1s padded to 8 bits.

Text → Binary:

  • Each character is looked up by its Unicode code point
  • The code point is converted to base-2 and padded to 8 bits
  • Groups are joined with your chosen separator (space, dash, newline, or none)

Binary → Text:

  • The binary string is split on spaces, dashes, or every 8 characters
  • Each 8-bit chunk is parsed back to a decimal number
  • That number is converted back to the corresponding character
swap_horiz

Bidirectional

Convert text to binary or decode binary back to readable text. Switch modes with one click — output becomes input automatically.

tag

Multi-Format Output

Alongside binary you also get hexadecimal and decimal (ASCII/Unicode) representations of every character in your text.

lock

100% Private

All conversions happen directly in your browser. Nothing is sent to any server — your data never leaves your device.