Atbash Cipher - Ancient Encryption Tool
Text Encoding Tool

Binary Encoder

Convert text to binary code and decode binary back to text. Instant, free, and works entirely in your browser.

How Binary Encoding Works

Binary encoding converts text characters into sequences of 0s and 1s. Each character is first converted to its ASCII (or UTF-8) code number, then that number is expressed in binary (base-2) format.

Conversion Steps:

  1. Take each character in your text
  2. Look up its ASCII code (e.g., 'H' = 72)
  3. Convert that number to binary (72 = 1001000)
  4. Pad with leading zeros to make 8 bits (01001000)
  5. Repeat for all characters

Example: "Hi" in Binary

'H' β†’ ASCII 72 β†’ 01001000

'i' β†’ ASCII 105 β†’ 01101001

Result: 01001000 01101001

ASCII to Binary Reference

CharacterASCII CodeBinary
A6501000001
B6601000010
Z9001011010
a9701100001
z12201111010
04800110000
95700111001
(space)3200100000

Full ASCII table has 128 standard characters (0-127) and 256 extended characters.

Understanding Binary Numbers

Binary is a base-2 number system, using only 0 and 1. Each position represents a power of 2, just like decimal positions represent powers of 10.

Position values (8-bit):

128 | 64 | 32 | 16 | 8 | 4 | 2 | 1

Example: 01001000 = 0+64+0+0+8+0+0+0 = 72 = 'H'

This positional system makes binary perfect for computers: each bit can be stored as an electrical on/off state, making data storage incredibly reliable.

Frequently Asked Questions

Tool Features

Instant Conversion

Real-time encoding and decoding as you type.

8-bit Format

Standard 8-bit binary with proper padding.

Privacy Focused

All processing happens in your browser. No data sent to servers.

Free Forever

No registration, no limits, completely free to use.