Convert between binary, decimal, hexadecimal, octal, and text formats. Free number base converter with instant results.
Convert between binary, decimal, hex, and octal.
Convert text to binary and other number formats.
Real-time conversion as you type.
One-click copy for all conversion results.
Binary is a base-2 number system using only 0s and 1s. It's fundamental to computing because digital circuits can easily represent these two states (on/off, high/low voltage). All computer data is ultimately stored and processed in binary.
To convert decimal to binary, repeatedly divide by 2 and track remainders. For example, 13 ÷ 2 = 6 remainder 1, 6 ÷ 2 = 3 remainder 0, 3 ÷ 2 = 1 remainder 1, 1 ÷ 2 = 0 remainder 1. Reading remainders bottom-up: 1101.
Decimal uses base 10 (digits 0-9), while hexadecimal uses base 16 (digits 0-9 and letters A-F). Hex is commonly used in programming because it's more compact than binary and easier to read than long binary strings.
Yes! Each character has an ASCII code (decimal number), which can be converted to binary. For example, 'A' has ASCII code 65, which is 01000001 in binary. Our tool handles this conversion automatically.
Octal (base 8) is used in Unix file permissions, some programming contexts, and legacy computer systems. It's less common than binary, decimal, or hex, but still important for certain technical applications.