0️⃣

Text to Binary Converter

Convert text to binary, hexadecimal, or octal — or decode any of those back to readable text. Works entirely in your browser.

Base:
Binary Output
Output will appear here…
Advertisement
How to use
  1. Choose a direction — Text → Code (encode) or Code → Text (decode).
  2. Pick a base: Binary, Hex, Octal, or plain ASCII decimal codes.
  3. Type or paste input — the result updates instantly. Hit Copy to grab the output, or Swap to reverse direction.
FAQ

Each character is mapped to its ASCII or Unicode code point, then that number is expressed in binary (base 2). For example, 'A' = 65 = 01000001 in binary. Values are space-separated for readability.

Each binary group is padded to 8 bits (one byte) with leading zeros. This makes it easy to align and decode multi-character strings consistently.

Yes. Switch to "Code → Text", paste space-separated binary groups (e.g. 01001000 01101001), and the tool decodes them to text instantly.