ASCII or EBCDIC
When technology complements business   Translation Tables
Copyright © 1987-2008  SimoTime Enterprises, LLC  All Rights Reserved http://www.simotime.com

  Introduction
  The ASCII and EBCDIC Tables
 
  Decimal:  0-31  |  32-63  |  64-95  |  96-127  |  128-159  |  160-191  |  192-223  |  224-255 
  Hexadecimal:   00-1F  |  20-3F  |  40-5F  |   60-7F   |   80-9F   |   A0-BF   |   C0-DF   |   E0-FF  
  Alternate Codes, Grave, Acute, Circumflex, Umlaut and Tilde
  Alternate Codes, Currency and Additional Symbols
  Summary
 
  Copyrights, Trademarks and Disclaimers
  Links to Similar Pages of Interest
  Glossary of Terms
  Comments or Suggestions
  About SimoTime
 
 Quick Connects 
The Assembler Connection
The COBOL Connection
The JCL Connection
The Numbers Connection
The SQL Connection
The VSAM-QSAM-SORT Connection
 References
ASCII / EBCDIC Tables
Data Management
File Status Codes
File Transfer Protocol
Glossary of Terms
Search Engines and Links
Training and Self Study
Help Desk for SimoTime

Introduction
(Next) (Previous) (Table-of-Contents)

The following conversion table is provided as a reference for ASCII and EBCDIC translation. When moving information (files or data buffers) between EBCDIC machines and ASCII machines it is quite often necessary to convert the information. If the data strings contain only display or printable characters then it is a straightforward, byte for byte conversion. However, in the real world the actual conversion of data strings between the ASCII and EBCDIC encoding schemas is usually more complicated than a simple byte for byte conversion. For example, if the data strings contain packed or binary data or control information then the data conversion becomes content sensitive. For more information about the automated or programmatic conversion between EBCDIC and ASCII refer to the Links to Similar Pages of Interest at the end of this document.

The ASCII and EBCDIC Tables
(Next) (Previous) (Table-of-Contents)

The following is the ASCII and EBCDIC translation tables. In addition to the ASCII and EBCDIC values the following tables include the decimal, hexadecimal and binary values.

 
(Next) (Previous) (Table-of-Contents) ( Decimal 000-031 ) ( Hexadecimal 00-1F )
DEC  HEX  EBCDIC  ASCII  BINARY   DEC  HEX  EBCDIC  ASCII  BINARY
000 00 NUL NUL 0000 0000   016 10 DLE DLE 0001 0000
001 01 SOH SOH 0000 0001   017 11 DC1 DC1 0001 0001
002 02 STX STX 0000 0010   018 12 DC2 DC2 0001 0010
003 03 ETX ETX 0000 0011   019 13 DC3 DC3 0001 0011
004 04 SEL EOT 0000 0100   020 14 RES/ENP DC4 0001 0100
005 05 TAB ENQ 0000 0101   021 15 NL NAK 0001 0101
006 06 RNL ACK 0000 0110   022 16 BS SYN 0001 0110
007 07 DEL BEL 0000 0111   023 17 POC ETB 0001 0111
008 08 GE BS 0000 1000   024 18 CAN CAN 0001 1000
009 09 SPS TAB 0000 1001   025 19 EM EM 0001 1001
010 0A RPT LF 0000 1010   026 1A UBS SUB 0001 1010
011 0B VT VT 0000 1011   027 1B CU1 ESC 0001 1011
012 0C FF FF 0000 1100   028 1C IFS FS 0001 1100
013 0D CR CR 0000 1101   029 1D IGS GS 0001 1101
014 0E SO SO 0000 1110   030 1E IRS RS 0001 1110
015 0F SI SI 0000 1111   031 1F ITB/IUS US 0001 1111
 
(Next) (Previous) (Table-of-Contents) ( Decimal 032-063 ) ( Hexadecimal 20-3F )
DEC  HEX  EBCDIC  ASCII  BINARY   DEC  HEX  EBCDIC  ASCII  BINARY
032 20 Space 0010 0000   048 30   0 0011 0000
033 21 SOS ! 0010 0001   049 31   1 0011 0001
034 22 FS " 0010 0010   050 32 SYN 2 0011 0010
035 23 WUS # 0010 0011   051 33 IR 3 0011 0011
036 24 BYP/INP $ 0010 0100   052 34 PP 4 0011 0100
037 25 LF % 0010 0101   053 35 TRN 5 0011 0101
038 26 ETB & 0010 0110   054 36 NBS 6 0011 0110
039 27 ESC ' 0010 0111   055 37 EOT 7 0011 0111
040 28 SA ( 0010 1000   056 38 SBS 8 0011 1000
041 29 SFE ) 0010 1001   057 39 IT 9 0011 1001
042 2A SM/SW * 0010 1010   058 3A RFF : 0011 1010
043 2B CSP + 0010 1011   059 3B CU3 ; 0011 1011
044 2C MFA , 0010 1100   060 3C DC4 < 0011 1100
045 2D ENQ - 0010 1101   061 3D NAK = 0011 1101
046 2E ACK . 0010 1110   062 3E   > 0011 1110
047 2F BEL / 0010 1111   063 3F SUB ? 0011 1111
 
(Next) (Previous) (Table-of-Contents) ( Decimal 064-095 ) ( Hexadecimal 40-5F )
DEC  HEX  EBCDIC  ASCII  BINARY   DEC  HEX  EBCDIC  ASCII  BINARY
064 40 Space @ 0100 0000   080 50 & p 0101 0000
065 41 RSP A 0100 0001   081 51 é Q 0101 0001
066 42 â B 0100 0010   082 52 ê R 0101 0010
067 43 ä C 0100 0011   083 53 ë S 0101 0011
068 44 à D 0100 0100   084 54 è T 0101 0100
069 45 á E 0100 0101   085 55 í U 0101 0101
070 46 ã F 0100 0110   086 56 î V 0101 0110
071 47 å G 0100 0111   087 57 ï W 0101 0111
072 48 ç H 0100 1000   088 58 ì X 0101 1000
073 49 ñ I 0100 1001   089 59 ß Y 0101 1001
074 4A   J 0100 1010   090 5A ! Z 0101 1010
075 4B . K 0100 1011   091 5B $ [ 0101 1011
076 4C < L 0100 1100   092 5C * \ 0101 1100
077 4D ( M 0100 1101   093 5D ) ] 0101 1101
078 4E + N 0100 1110   094 5E ; ^ 0101 1110
079 4F | O 0100 1111   095 5F ¬ _ 0101 1111
 
(Next) (Previous) (Table-of-Contents) ( Decimal 096-127 ) ( Hexadecimal 60-7F )
DEC  HEX  EBCDIC  ASCII  BINARY   DEC  HEX  EBCDIC  ASCII  BINARY
096 60 - ` 0110 0000   112 70 ø p 0111 0000
097 61 / a 0110 0001   113 71 É q 0111 0001
098 62 Â b 0110 0010   114 72 Ê r 0111 0010
099 63 Ä c 0110 0011   115 73 Ë s 0111 0011
100 64 À d 0110 0100   116 74 È t 0111 0100
101 65 Á e 0110 0101   117 75 Í u 0111 0101
102 66 Ã f 0110 0110   118 76 Î v 0111 0110
103 67 Å g 0110 0111   119 77 Ï w 0111 0111
104 68 Ç h 0110 1000   120 78 Ì x 0111 1000
105 69 Ñ i 0110 1001   121 79 ` y 0111 1001
106 6A   j 0110 1010   122 7A : z 0111 1010
107 6B , (comma) k 0110 1011   123 7B # { 0111 1011
108 6C % l 0110 1100   124 7C @ | 0111 1100
109 6D _ m 0110 1101   125 7D ' } 0111 1101
110 6E > n 0110 1110   126 7E = ~ 0111 1110
111 6F ? o 0110 1111   127 7F " DEL 0111 1111
 
(Next) (Previous) (Table-of-Contents) ( Decimal 128-159 ) ( Hexadecimal 80-9F )
DEC  HEX  EBCDIC  ASCII  BINARY   DEC  HEX  EBCDIC  ASCII  BINARY
128 80 Ø 1000 0000   144 90 DLE   1001 0000
129 81 a   1000 0001   145 91 j   1001 0001
130 82 b   1000 0010   146 92 k   1001 0010
131 83 c   1000 0011   147 93 l   1001 0011
132 84 d   1000 0100   148 94 m   1001 0100
133 85 e   1000 0101   149 95 n   1001 0101
134 86 f   1000 0110   150 96 0   1001 0110
135 87 g   1000 0111   151 97 p   1001 0111
136 88 h   1000 1000   152 98 q   1001 1000
137 89 i   1000 1001   153 99 r   1001 1001
138 8A     1000 1010   154 9A     1001 1010
139 8B     1000 1011   155 9B     1001 1011
140 8C     1000 1100   156 9C æ   1001 1100
141 8D ý   1000 1101   157 9D     1001 1101
142 8E     1000 1110   158 9E Æ   1001 1110
143 8F     1000 1111   159 9F   Ÿ 1001 1111
 
(Next) (Previous) (Table-of-Contents) ( Decimal 160-191 ) ( Hexadecimal A0-BF )
DEC  HEX  EBCDIC  ASCII  BINARY   DEC  HEX  EBCDIC  ASCII  BINARY
160 A0     1010 0000   176 B0 ^   1011 0000
161 A1 ~   1010 0001   177 B1 £