Binary Translator

Translate text to binary and binary to text. Paste characters or space-separated binary groups and convert either way.

Independently verified for accuracy

Calculator by Toolsloft ↗
Binary
01001000 01101001

Convert text to binary and binary back to text. Type a message to see its binary code, or paste space-separated binary groups to read the text they spell out. Everything runs in your browser, so nothing you type is sent anywhere.

How this is calculated

To encode, each character is converted to its Unicode code point and written in base 2, zero-padded to at least eight bits, with a space between characters. To decode, each whitespace-separated group of 0s and 1s is read as a base-2 number and mapped back to its character.

How to use

  1. Choose whether to encode text or decode binary.
  2. Type your text, or paste space-separated binary groups.
  3. Read the converted result below.
  4. Copy the output for your notes, homework, or code.

Examples

  • Encode: "Hi" → 01001000 01101001
  • Decode: 01000001 → A

FAQ

How many bits per character?
Each character is padded to at least eight bits, the standard byte width. Characters with larger code points use as many bits as they need.
What format should decoded binary be in?
Groups of 0s and 1s separated by spaces, such as 01001000 01101001. Each group is treated as one character.

Embed this calculator

Add this free calculator to your own site. Copy the code and paste it where you want it to appear.