The ASCII Character Set


Here is the ASCII standard for translating the integer represented by 7 (usually out of 8) bits in memory to a specific character. Most of the integers from 0 through 31 represent special signals to the computer, rather than what you normally consider to be characters.

Decimal  Hexi-     ASCII     Equivalent  Definition
Number   decimal  Character   Control
         value               Character
------------------------------------------------------------
   0       0        nul        Ctrl-@    Null
   1       1        soh        Ctrl-A    Start of heading
   2       2        stx        Ctrl-B    Start of text
   3       3        etx        Ctrl-C    End of text
   4       4        eot        Ctrl-D    End of transmission
   5       5        enq        Ctrl-E    Enquiry
   6       6        ack        Ctrl-F    Acknowledge
   7       7        bel        Ctrl-G    Bell
   8       8         bs        Ctrl-H    Backspace
   9       9         ht        Ctrl-I    Horizontal tab
  10      0a         nl        Ctrl-J    Line feed
  11      0b         vt        Ctrl-K    Vertical tab
  12      0c         ff        Ctrl-L    Form feed
  13      0d         cr        Ctrl-M    Carriage return
  14      0e         so        Ctrl-N    Shift out
  15      0f         si        Ctrl-O    Shift in
  16      10        dle        Ctrl-P    Data link escape
  17      11        dc1        Ctrl-Q    Device control 1
  18      12        dc2        Ctrl-R    Device control 2
  19      13        dc3        Ctrl-S    Device control 3
  20      14        dc4        Ctrl-T    Device control 4
  21      15        nak        Ctrl-U    Negative acknowledge
  22      16        syn        Ctrl-V    Synchronous idle
  23      17        etb        Ctrl-W    End of transmission
  24      18        can        Ctrl-X    Cancel
  25      19         em        Ctrl-Y    End of medium
  26      1a        sub        Ctrl-Z    Substitute
  27      1b        esc        Ctrl-[    Escape
  28      1c         fs        Ctrl-\    File separator
  29      1d         gs        Ctrl-]    Group separator
  30      1e         rs        Ctrl-^    Record separator
  31      1f         us        Ctrl-_    Unit separator
  32      20         sp                  Space
  33      21          !
  34      22          "
  35      23          #
  36      24          $
  37      25          %
  38      26          &
  39      27          '                  Apostrophe
  40      28          (
  41      29          )
  42      2a          *
  43      2b          +
  44      2c          ,                  Comma
  45      2d          -                  Minus
  46      2e          .                  Period
  47      2f          /                  Divide
  48      30          0
  49      31          1
  50      32          2
  51      33          3
  52      34          4
  53      35          5
  54      36          6
  55      37          7
  56      38          8
  57      39          9
  58      3a          :                  Colon
  59      3b          ;                  Semicolon
  60      3c          <
  61      3d          =
  62      3e          >
  63      3f          ?
  64      40          @                  At symbol
  65      41          A
  66      42          B
  67      43          C
  68      44          D
  69      45          E
  70      46          F
  71      47          G
  72      48          H
  73      49          I
  74      4a          J
  75      4b          K
  76      4c          L
  77      4d          M
  78      4e          N
  79      4f          O
  80      50          P
  81      51          Q
  82      52          R
  83      53          S
  84      54          T
  85      55          U
  86      56          V
  87      57          W
  88      58          X
  89      59          Y
  90      5a          Z
  91      5b          [
  92      5c          \                  Backslash
  93      5d          ]
  94      5e          ^                  circumflex
  95      5f          _                  Underline
  96      60          `                  Backward Apostrophe
  97      61          a
  98      62          b
  99      63          c
 100      64          d
 101      65          e
 102      66          f
 103      67          g
 104      68          h
 105      69          i
 106      6a          j
 107      6b          k
 108      6c          l
 109      6d          m
 110      6e          n
 111      6f          o
 112      70          p
 113      71          q
 114      72          r
 115      73          s
 116      74          t
 117      75          u
 118      76          v
 119      77          w
 120      78          x
 121      79          y
 122      7a          z
 123      7b          {
 124      7c          |                  Vertical line
 125      7d          }
 126      7e          ~                  Tilde
 127      7f        del                  Delete

Up one level / Home


Maintained by John Mahaffy : jhm@cac.psu.edu