About Binary Encoding

What is binary?

Binary is the base-2 number system that computers use to store and process all data. Every piece of information — text, images, audio — is ultimately represented as sequences of 0s and 1s called bits. Eight bits form one byte, which can represent 256 different values (0–255).

How text becomes binary

Each character in a text string is mapped to a numeric code using a character encoding standard. The most common is ASCII, which assigns codes 0–127 to English letters, digits, punctuation, and control characters. For example, the letter A is code 65, which in binary is 01000001.

UTF-8 and beyond ASCII

UTF-8 extends ASCII to support every character in Unicode — from accented letters and CJK characters to emoji. It uses 1 to 4 bytes per character: standard ASCII characters use 1 byte, while characters outside the ASCII range use multiple bytes. This converter handles standard ASCII characters (codes 0–127), showing the binary representation of each character's code point.

Common use cases

  • Computer science education — understanding how computers represent text at the hardware level
  • Debugging — inspecting the exact byte values of strings when troubleshooting encoding issues
  • Encoded messages — converting messages to binary for puzzles, games, or creative projects
  • Data analysis — examining hex or binary dumps of network packets and file formats

About this tool

This converter runs entirely in your browser — no data is ever sent to a server. It converts text to binary, hexadecimal, and decimal representations in real-time with visual byte grouping that makes it easy to see character boundaries. An interactive ASCII reference table is included for quick lookups.