String to Binary
Convert text to binary representation
Features
String to Binary
Converts each character to its 8-bit binary representation
Binary to String
Decodes binary sequences (space-separated bytes) back to text
Switch Input / Output
Swap editor contents with a single click
Copy & Download
Copy the output to clipboard or download as a text file
Text as bits
At the hardware level, every character in a string is stored as a sequence of bits. Binary encoding makes that visible. Each character becomes eight 0s and 1s — its ASCII or Unicode value in binary. The letter A is 01000001, a space is 00100000.
This is mostly used for educational purposes, protocol-level debugging, and the occasional interview question. It's also handy when you're writing documentation or an article that needs to explain character encoding.
Both directions
String to Binary converts each character to its 8-bit binary representation, with groups separated by spaces. Binary to String goes the other way — paste in a space-separated binary sequence and get the decoded text. The Switch button swaps the editors so you can round-trip the conversion without copy-pasting.