Text Tools

How to Convert Between Binary, Hex, and Text: Step-by-Step Guide

Converting Text to Binary or Hex

  1. Select the "Text to Binary" or "Text to Hex" mode.
  2. Type or paste your text.
  3. Read the output — each character becomes one 8-bit binary group, or two hex digits.

Converting Binary or Hex Back to Text

  1. Select "Binary to Text" or "Hex to Text" mode.
  2. Paste your binary or hex code.
  3. Read the decoded text back out.

Telling Binary and Hex Apart at a Glance

Binary uses only the digits 0 and 1. Hexadecimal uses digits 0-9 plus letters A-F. If you see anything beyond 0 and 1 in a code you're trying to decode — a 2, a 7, a letter — you're looking at hex (or some other encoding entirely), not binary, and need to switch modes accordingly.

A Formatting Detail That Matters

Binary output is normally grouped into 8-digit chunks, one per character — 01001000 01101001 for "Hi". If a space between groups gets accidentally deleted or added, the decoder reads the wrong groupings entirely and produces garbled output. When pasting binary in for decoding, make sure the 8-digit groupings are intact.

Ready to try converting your own text?

Try the Binary / Hex Converter