💾 Archived View for tilde.club › ~filip › tech › cheatsheet › ascii.gmi captured on 2022-07-16 at 13:46:10. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

ASCII Characters

 Dec   Hex   Oct       Bin  ASCII  Description
-------------------------------------------------------------
   0     0     0         0   NUL   null
   1     1     1         1   SOH   start of header
   2     2     2        10   STX   start of text
   3     3     3        11   ETX   end of text
   4     4     4       100   EOT   end of transmission
   5     5     5       101   ENQ   enquire
   6     6     6       110   ACK   acknowledge
   7     7     7       111   BEL   bell
   8     8    10      1000   BS    backspace
   9     9    11      1001   TAB   horizontal tab
  10     A    12      1010   LF    linefeed
  11     B    13      1011   VT    vertical tab
  12     C    14      1100   FF    form feed
  13     D    15      1101   CR    carriage return
  14     E    16      1110   SO    shift out
  15     F    17      1111   SI    shift in
  16    10    20     10000   DLE   data link escape
  17    11    21     10001   DC1   device control 1/Xon
  18    12    22     10010   DC2   device control 2
  19    13    23     10011   DC3   device control 3/Xoff
  20    14    24     10100   DC4   device control 4
  21    15    25     10101   NAK   negative acknowledge
  22    16    26     10110   SYN   synchronous idle
  23    17    27     10111   ETB   end of transmission block
  24    18    30     11000   CAN   cancel
  25    19    31     11001   EM    end of medium
  26    1A    32     11010   SUB   end of file/ substitute
  27    1B    33     11011   ESC   escape
  28    1C    34     11100   FS    file separator
  29    1D    35     11101   GS    group separator
  30    1E    36     11110   RS    record separator
  31    1F    37     11111   US    unit separator
  32    20    40    100000         space
  33    21    41    100001    !    exclamation mark
  34    22    42    100010    "    double quote
  35    23    43    100011    #    number
  36    24    44    100100    $    dollar
  37    25    45    100101    %    percent
  38    26    46    100110    &    ampersand
  39    27    47    100111    '    single quote
  40    28    50    101000    (    left parenthesis
  41    29    51    101001    )    right parenthesis
  42    2A    52    101010    *    asterisk
  43    2B    53    101011    +    plus
  44    2C    54    101100    ,    comma
  45    2D    55    101101    -    minus
  46    2E    56    101110    .    period
  47    2F    57    101111    /    slash
  48    30    60    110000    0    zero
  49    31    61    110001    1    one
  50    32    62    110010    2    two
  51    33    63    110011    3    three
  52    34    64    110100    4    four
  53    35    65    110101    5    five
  54    36    66    110110    6    six
  55    37    67    110111    7    seven
  56    38    70    111000    8    eight
  57    39    71    111001    9    nine
  58    3A    72    111010    :    colon
  59    3B    73    111011    ;    semicolon
  60    3C    74    111100    <    less than
  61    3D    75    111101    =    equality sign
  62    3E    76    111110    >    greater than
  63    3F    77    111111    ?    question mark
  64    40   100   1000000    @    at sign
  65    41   101   1000001    A
  66    42   102   1000010    B
  67    43   103   1000011    C
  68    44   104   1000100    D
  69    45   105   1000101    E
  70    46   106   1000110    F
  71    47   107   1000111    G
  72    48   110   1001000    H
  73    49   111   1001001    I
  74    4A   112   1001010    J
  75    4B   113   1001011    K
  76    4C   114   1001100    L
  77    4D   115   1001101    M
  78    4E   116   1001110    N
  79    4F   117   1001111    O
  80    50   120   1010000    P
  81    51   121   1010001    Q
  82    52   122   1010010    R
  83    53   123   1010011    S
  84    54   124   1010100    T
  85    55   125   1010101    U
  86    56   126   1010110    V
  87    57   127   1010111    W
  88    58   130   1011000    X
  89    59   131   1011001    Y
  90    5A   132   1011010    Z
  91    5B   133   1011011    [    left square bracket
  92    5C   134   1011100    \    backslash
  93    5D   135   1011101    ]    right square bracket
  94    5E   136   1011110    ^    caret / circumflex
  95    5F   137   1011111    _    underscore
  96    60   140   1100000    `    grave / accent
  97    61   141   1100001    a
  98    62   142   1100010    b
  99    63   143   1100011    c
 100    64   144   1100100    d
 101    65   145   1100101    e
 102    66   146   1100110    f
 103    67   147   1100111    g
 104    68   150   1101000    h
 105    69   151   1101001    i
 106    6A   152   1101010    j
 107    6B   153   1101011    k
 108    6C   154   1101100    l
 109    6D   155   1101101    m
 110    6E   156   1101110    n
 111    6F   157   1101111    o
 112    70   160   1110000    p
 113    71   161   1110001    q
 114    72   162   1110010    r
 115    73   163   1110011    s
 116    74   164   1110100    t
 117    75   165   1110101    u
 118    76   166   1110110    v
 119    77   167   1110111    w
 120    78   170   1111000    x
 121    79   171   1111001    y
 122    7A   172   1111010    z
 123    7B   173   1111011    {    left curly bracket
 124    7C   174   1111100    |    vertical bar
 125    7D   175   1111101    }    right curly bracket
 126    7E   176   1111110    ~    tilde
 127    7F   177   1111111   DEL   delete