Skip to main content
Premier SEO Services

Binary converters

ASCII to Binary Converter

Convert ASCII characters or their decimal codes (such as 72 101 108) to 7-bit or 8-bit binary, and search the complete 0–127 ASCII table with decimal, hex and binary values.

  • Runs in your browser
  • Free, no sign-up
  • Unlimited use
  • Updated 30 September 2026

ASCII to Binary Converter

Paste your text — the result updates as you type

  • Only codes 0–127 are ASCII. For accented letters and emoji use the UTF-8 text to binary converter.

How to use the ASCII to binary converter

  1. 1Choose Input: Characters to type text, or Decimal codes to enter numbers such as 72 101 108.
  2. 2Set Bits per code to 8 bits (one byte per character) or 7 bits (strict ASCII).
  3. 3Copy the binary from the Binary box, or read each character's values in the breakdown table.
  4. 4Search the ASCII table (0–127) with Find a character or code: a character, a decimal or hex code, 8 bits, or a name such as “tab”.

Example

Input
Cat
Output
01000011 01100001 01110100

C = 67, a = 97, t = 116. With Bits per code set to 7 bits, “OK” becomes 1001111 1001011.

ASCII codes and binary

ASCII gives each of 128 characters a number from 0 to 127. Converting a character to binary means writing its code in base 2:

CharacterDecimalHex8-bit binary
space322000100000
0483000110000
A654101000001
Z905A01011010
a976101100001
z1227A01111010

The layout is deliberate: digits 0–9 are 48–57, so subtracting 48 gives the digit's value, and lower-case letters are exactly 32 above their capitals.

7-bit vs 8-bit output

ASCII was designed as a 7-bit code, so every value fits in seven bits and the highest code, 127, is 1111111. Computers store characters in 8-bit bytes, so most tools, including this one by default, add a leading 0: 01000001 rather than 1000001.

Use 7 bits when a textbook or exercise asks for “7-bit ASCII”, or when you are working with serial protocols and old systems that transmit seven data bits. The values are the same; only the leading zero changes.

ASCII table (0-127)

The searchable table under the converter lists all 128 codes with decimal, hex and 8-bit binary values. Type a single character to find its code, a number (decimal or hex such as 0x41) to find its character, a full byte such as 01000001, or part of a control character's name (“escape”, “line feed”).

Printable characters run from 32 (space) to 126 (~). The rest are control characters.

Control characters

Codes 0–31 and 127 are not printable; they were instructions for teleprinters and terminals. A few are still used every day:

CodeBinaryNameUsed for
900001001TABTab key, tab-separated files
1000001010LFNew line on Linux and macOS
1300001101CRWindows new line is CR + LF
2700011011ESCTerminal colour codes
000000000NULEnd of a string in C

Typing a tab or new line in the input converts it like any other character, and the breakdown names it.

ASCII vs Unicode

Unicode includes ASCII as its first 128 code points, so A is 65 in both. Beyond 127 they diverge: “extended ASCII” is not one standard but many code pages (Windows-1252, ISO 8859-1 and others) that assign 128–255 differently. Modern text uses Unicode, stored as UTF-8. This converter rejects characters above 127 and tells you which ones; convert those with text to binary (UTF-8) or look up their code points in the Unicode converter.

Is my text private?

This tool runs entirely in your browser. Your text is not uploaded to our servers.

Sources

Questions about the ASCII to binary converter

What is the ASCII code for A in binary?

Capital A is 65, which is 01000001 in 8-bit binary or 1000001 in 7 bits. Lower-case a is 97, 01100001.

Why do some tools show 7 bits?

Standard ASCII only needs seven bits, because its largest code is 127. Tools that show 8 bits add a leading zero so each character fills one byte, which is how it is stored in memory.

Are extended ASCII characters supported?

Not here, because codes 128–255 mean different characters in different code pages. Use the binary to text decoder with Character set set to Latin-1 to read old 8-bit data, or text to binary for UTF-8.

Last updated 30 September 2026Maintained by Premier SEO Services

Report a problem