ASCII

The 95 graphic ASCII characters, numbered 32 to 126 (decimal)

ASCII (pronounced "az-kee", "ass-key" if American), is a table of characters for computers. It is binary code used by electronic equipment to handle text using the English alphabet, numbers, and other common symbols. ASCII is an abbreviation for American Standard Code for Information Interchange.[1] ASCII was developed in the 1960s and was based on earlier codes used by telegraph systems.

The code includes definitions for 128 characters, which are assigned numbers from 0 to 127. Numbers 32 to 126 stand for letters, numbers and symbols such as abc, ABC, 123, and ?&!. Numbers 0 to 31 and the number 127 stand for characters that control how text is processed and are not printed.

ASCII uses 7 binary digits (bits) to represent characters. The bits 1000001 (65 in normal base-10 numbers) represent the upper-case letter A, 1000010 represents B, 1000011 represents C, and so on. Using the table below, you can look up a number in the Decimal column and see the character it represents in the Char column. Programmers often use hexadecimal (base-16 numbers), and you can look that up in the Hex column.

An ASCII computer file uses one byte for each character. A byte has 8 bits, so can hold an ASCII character with one bit spare. In the past, the spare bit was sometimes used as a parity bit to help check if the data had been corrupted.

ASCII has no formatting control (for bold or Italics, etc.) [2] Sometimes someone talks about a file or document in ASCII, meaning it is in plain text.

Standard ASCII is still commonly used, particularly in computer software and HTML files. Until 2010 it was the standard for URLs. Often a web site that has fields for entering text will only take ASCII text. Any special markups for bold or centered text, etc. will show up incorrectly.


ASCII-Table-wide

  1. "ASCII Character Set". Robelle. Retrieved 5 April 2013.
  2. "ASCII table & description". ASCIITable. Retrieved 5 April 2013.

Developed by StudentB