ASCII to binary converter
Convert ASCII text to binary using 7 or 8 bits per character, with configurable separators. Also shows decimal and hexadecimal codes.
ASCII to Binary Calculator Online (Text to Bits)
Convert ASCII text to binary in one click. Supports 7 or 8 bits per character, configurable separators, and shows decimal and hex codes. Same clean layout as the binary-decimal calculator.
Binary
—
Normalized binary
—
Decimal codes
—
Hex per char
—
Length
—
Character breakdown
Each character is converted to its ASCII code (decimal) and then to padded binary.
| # | Character | Decimal | Binary |
|---|
How to convert ASCII to binary
We take each character, get its ASCII code (0–255), and convert it to binary with padding based on the chosen width.
- Type or paste text. Works with extended ASCII: letters, symbols, and common accents.
- Choose 7 or 8 bits. 7 bits covers basic ASCII; 8 bits includes Ñ, accents, and extended characters consistently.
- Apply the separator. Space, comma, underscore, or no separation between bytes.
- Review the codes. We show decimal and hex per character alongside normalized binary ready to copy.
Example with Hello (8 bits): 72 → 01001000, 101 → 01100101, 108 → 01101100, 108 → 01101100, 111 → 01101111. Combined result: 01001000 01100101 01101100 01101100 01101111.
FAQ
We work with codes 0–255 (extended ASCII). If you enter characters outside that range, they will appear as “?” to keep the output consistent.
With 7 bits you get classic ASCII. With 8 bits we add extra padding to show accents and extended characters consistently.
Each card has a copy button. You can also toggle the separator to get the exact format you need before copying.