In ASCII, a control character is a non-printable character that is used to control certain aspects of the output or behavior of a computer system. Control characters in ASCII have codes in the range 0 to 31 and 127.