Computers store and process everything in binary code, a sequence of 0's and 1's that represent off and on in electrical circuits. Each 0 or 1 is called a bit.

Here's how you count in binary. Click on next number below and notice that you only use the digits 0 and 1 and then switch to the next column:

In regular decimal numbers, we use powers of 10 and the digits 0-9. In binary numbers, we use powers of 2 and just the digits 0 and 1. To convert binary numbers to decimal numbers, you add up the corresponding powers of 2. Try to convert a number below.

ASCII to Binary

When you type in letters and other characters on a keyboard, each one is represented as a number using ASCII or UNICODE encoding. For example, here is the ASCII numbers for common letters:

Each one of these decimal numbers is then saved in binary code.

Binary Tools

Here are some online converters to convert between binary, decimal, and ASCII: