Binary Converter: Text, Decimal and Hex
Translate text to binary code, or convert numbers between decimal, hexadecimal, octal, and binary formats.
Text to Binary
Which binary conversion mode should I use?
Choose text mode for basic character-code examples or a number mode for decimal, binary, and hexadecimal values. Use a supported base when converting numbers. Do not assume the current text converter handles every Unicode character or arbitrary encoded file data.
Try this toolRelated Tools
View AllBandwidth Calculator
Estimate file transfer time from file size and connection speed. Convert bandwidth units, including Mbps and bytes, to compare download scenarios.
IP Subnet Calculator
Calculate network addresses and host ranges from an IP address and CIDR prefix. View IPv4 subnet masks, wildcard masks, and supported IPv6 ranges.
Salary Calculator
Estimate US take-home pay from hourly, monthly, or annual salary. See federal tax, FICA, and adjustable state tax deductions with 2026 assumptions.
How to use this calculator
Understanding Binary
Binary is a base-2 number system that uses only two symbols: 0 (zero) and 1 (one). It is the fundamental language of computers, where 0 represents "off" and 1 represents "on".
Text to Binary: Computers store text as numbers. Using ASCII or Unicode standards, each character is assigned a unique number. For example, the letter 'A' is 65 in decimal, which is `01000001` in 8-bit binary.
Number Systems: We commonly use Decimal (base-10). Hexadecimal (base-16) is often used in programming because it's a compact way to represent binary data. Octal (base-8) uses digits 0-7 and is historically significant in computing.
Reference Table (ASCII)
| Character | Decimal | Binary | Hex |
|---|---|---|---|
| A | 65 | 01000001 | 41 |
| B | 66 | 01000010 | 42 |
| C | 67 | 01000011 | 43 |
| Space | 32 | 00100000 | 20 |