Binary code, code used in digital computers, based on a binary number system in which there are only two possible states, off and on, usually symbolized by 0 and 1. A binary code signal is a series of electrical pulses that represent numbers, characters, and operations to be performed.