0% found this document useful (0 votes)
102 views6 pages

Dec Hex Ascii Ebcdic Dec Hex Ascii Ebcdic

This document provides a conversion table between ASCII and EBCDIC codes. It lists the decimal and hexadecimal values for each character code, along with the corresponding character in each encoding standard. Some codes are reserved or have control functions like carriage return, line feed, etc. The table shows character mappings for codes 0 through 191 in both encodings.

Uploaded by

pedjamik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
102 views6 pages

Dec Hex Ascii Ebcdic Dec Hex Ascii Ebcdic

This document provides a conversion table between ASCII and EBCDIC codes. It lists the decimal and hexadecimal values for each character code, along with the corresponding character in each encoding standard. Some codes are reserved or have control functions like carriage return, line feed, etc. The table shows character mappings for codes 0 through 191 in both encodings.

Uploaded by

pedjamik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLS, PDF, TXT or read online on Scribd
You are on page 1/ 6

ASCII to EBCDIC conversion table 538347695.

xls

Dec Hex ASCII EBCDIC Dec Hex ASCII EBCDIC


0 00 NUL Null NUL Null 128 80   Reserved    
1 01 SOH Start of Heading (CC) SOH Start of Heading 129 81   Reserved a a
2 02 STX Start of Text (CC) STX Start of Text 130 82   Reserved b b
3 03 ETX End of Text (CC) ETX End of Text 131 83   Reserved c c

4 04 EOT End of Transmission (CC) PF Punch Off 132 84 IND Index (FE) d d
5 05 ENQ Enquiry (CC) HT Horizontal Tab 133 85 NEL Next Line (FE) e e
6 06 ACK Acknowledge (CC) LC Lower Case 134 86 SSA Start of Selected Area f f
7 07 BEL Bell DEL Delete 135 87 ESA End of Selected Area g g
Horizontal Tabulation Set
8 08 BS Backspace (FE)     136 88 HTS (FE) h h
Horizontal Tabulation with
9 09 HT Horizontal Tabulation (FE)     137 89 HTJ Justification (FE) i i
Vertical Tabulation Set
10 0A LF Line Feed (FE) SMM Start of Manual Message 138 8A VTS (FE)    
11 0B VT Vertical Tabulation (FE) VT Vertical Tab 139 8B PLD Partial Line Down (FE)    
12 0C FF Form Feed (FE) FF Form Feed 140 8C PLU Partial Line Up (FE)    
13 0D CR Carriage Return (FE) CR Carriage Return 141 8D RI Reverse Index (FE)    
14 0E SO Shift Out SO Shift Out 142 8E SS2 Single Shift Two (1)    
15 0F SI Shift In SI Shift In 143 8F SS3 Single Shift Three (1)    
16 10 DLE Data Link Escape (CC) DLE Data Link Escape 144 90 DCS Device Control String (2)    
17 11 DC1 Device Control 1 DC1 Device Control 1 145 91 PU1 Private Use One j j
18 12 DC2 Device Control 2 DC2 Device Control 2 146 92 PU2 Private Use Two k k
19 13 DC3 Device Control 3 TM Tape Mark 147 93 STS Set Transmit State l l
20 14 DC4 Device Control 4 RES Restore 148 94 CCH Cancel Character m m
Negative Acknowledge
21 15 NAK (CC) NL New Line 149 95 MW Message Waiting n n
22 16 SYN Synchronous Idle (CC) BS Backspace 150 96 SPA Start of Protected Area o o
End of Transmission Block
23 17 ETB (CC) IL Idle 151 97 EPA End of Protected Area p p
24 18 CAN Cancel CAN Cancel 152 98   Reserved q q
25 19 EM End of Medium EM End of Medium 153 99   Reserved r r
26 1A SUB Substitute CC Cursor Control 154 9A   Reserved    

08/26/2021 Alaric Systems Ltd Page 1 of 6


ASCII to EBCDIC conversion table 538347695.xls

Dec Hex ASCII EBCDIC Dec Hex ASCII EBCDIC


Control Sequence
27 1B ESC Escape CU1 Customer Use 1 155 9B CSI Introducer (1)    

28 1C FS File Separator (IS) IFS Interchange File Separator 156 9C ST String Terminator (2)    
Interchange Group Operating System
29 1D GS Group Separator (IS) IGS Separator 157 9D OSC Command (2)    
Interchange Record
30 1E RS Record Separator (IS) IRS Separator 158 9E PM Privacy Message (2)    
Application Program
31 1F US Unit Separator (IS) IUS Interchange Unit Separator 159 9F APC Command (2)    
32 20 SP Space DS Digit Select 160 A0        
33 21 ! Exclamation Point SOS Start of Significance 161 A1        
34 22 " Quotation Mark FS Field Separator 162 A2     s s
Number Sign, Octothorp,
35 23 # "pound"     163 A3     t t
36 24 $ Dollar Sign BYP Bypass 164 A4     u u
37 25 % Percent LF Line Feed 165 A5     v v

38 26 & Ampersand ETB End of Transmission Block 166 A6     w w


39 27 ' Apostrophe, Prime ESC Escape 167 A7     x x
40 28 ( Left Parenthesis     168 A8     y y
41 29 ) Right Parenthesis     169 A9     z z
42 2A * Asterisk, "star" SM Set Mode 170 AA        
43 2B + Plus Sign CU2 Customer Use 2 171 AB        
44 2C , Comma     172 AC        
45 2D - Hyphen, Minus Sign ENQ Enquiry 173 AD        
Period, Decimal Point,
46 2E . "dot" ACK Acknowledge 174 AE        
47 2F / Slash, Virgule BEL Bell 175 AF        
48 30 0 0     176 B0        
49 31 1 1     177 B1        
50 32 2 2 SYN Synchronous Idle 178 B2        
51 33 3 3     179 B3        
52 34 4 4 PN Punch On 180 B4        

08/26/2021 Alaric Systems Ltd Page 2 of 6


ASCII to EBCDIC conversion table 538347695.xls

Dec Hex ASCII EBCDIC Dec Hex ASCII EBCDIC


53 35 5 5 RS Reader Stop 181 B5        
54 36 6 6 UC Upper Case 182 B6        
55 37 7 7 EOT End of Transmission 183 B7        
56 38 8 8     184 B8        
57 39 9 9     185 B9     ` Grave Accent
58 3A : Colon     186 BA        
59 3B ; Semicolon CU3 Customer Use 3 187 BB        
60 3C < Less-than Sign DC4 Device Control 4 188 BC        
61 3D = Equal Sign NAK Negative Acknowledge 189 BD        
62 3E > Greater-than Sign     190 BE        
63 3F ? Question Mark SUB Substitute 191 BF        
64 40 @ At Sign SP Space 192 C0        
65 41 A A     193 C1     A A
66 42 B B     194 C2     B B
67 43 C C     195 C3     C C
68 44 D D     196 C4     D D
69 45 E E     197 C5     E E
70 46 F F     198 C6     F F
71 47 G G     199 C7     G G
72 48 H H     200 C8     H H
73 49 I I     201 C9     I I
74 4A J J ¢ Cent Sign 202 CA        
Period, Decimal Point,
75 4B K K . "dot" 203 CB        
76 4C L L < Less-than Sign 204 CC        
77 4D M M ( Left Parenthesis 205 CD        
78 4E N N + Plus Sign 206 CE        
79 4F O O | Logical OR 207 CF        
80 50 P P & Ampersand 208 D0        
81 51 Q Q     209 D1     J J
82 52 R R     210 D2     K K
83 53 S S     211 D3     L L
84 54 T T     212 D4     M M
85 55 U U     213 D5     N N

08/26/2021 Alaric Systems Ltd Page 3 of 6


ASCII to EBCDIC conversion table 538347695.xls

Dec Hex ASCII EBCDIC Dec Hex ASCII EBCDIC


86 56 V V     214 D6     O O
87 57 W W     215 D7     P P
88 58 X X     216 D8     Q Q
89 59 Y Y     217 D9     R R
90 5A Z Z ! Exclamation Point 218 DA        
91 5B [ Opening Bracket $ Dollar Sign 219 DB        
92 5C \ Reverse Slant * Asterisk, "star" 220 DC        
93 5D ] Closing Bracket ) Right Parenthesis 221 DD        
94 5E ^ Circumflex, Caret ; Semicolon 222 DE        
95 5F _ Underline, Underscore ¬ Logical NOT 223 DF        
96 60 ` Grave Accent - Hyphen, Minus Sign 224 E0        
97 61 a a / Slash, Virgule 225 E1        
98 62 b b     226 E2     S S
99 63 c c     227 E3     T T
100 64 d d     228 E4     U U
101 65 e e     229 E5     V V
102 66 f f     230 E6     W W
103 67 g g     231 E7     X X
104 68 h h     232 E8     Y Y
105 69 i i     233 E9     Z Z
106 6A j j     234 EA        
107 6B k k , Comma 235 EB        
108 6C l l % Percent 236 EC        
109 6D m m _ Underline, Underscore 237 ED        
110 6E n n > Greater-than Sign 238 EE        
111 6F o o ? Question Mark 239 EF        
112 70 p p     240 F0     0 0
113 71 q q     241 F1     1 1
114 72 r r     242 F2     2 2
115 73 s s     243 F3     3 3
116 74 t t     244 F4     4 4
117 75 u u     245 F5     5 5
118 76 v v     246 F6     6 6
119 77 w w     247 F7     7 7

08/26/2021 Alaric Systems Ltd Page 4 of 6


ASCII to EBCDIC conversion table 538347695.xls

Dec Hex ASCII EBCDIC Dec Hex ASCII EBCDIC


120 78 x x     248 F8     8 8
121 79 y y     249 F9     9 9
122 7A z z : Colon 250 FA        
Number Sign, Octothorp,
123 7B { Opening Brace # "pound" 251 FB        
124 7C | Vertical Line @ At Sign 252 FC        
125 7D } Closing Brace ' Apostrophe, Prime 253 FD        
126 7E ~ Tilde = Equal Sign 254 FE        
127 7F DEL Delete " Quotation Mark 255 FF        
NOTES:
(1) Introducer
(2) String Delimiter
(CC) Communication Control
(FE) Format effector
(IS) Information Separator

08/26/2021 Alaric Systems Ltd Page 5 of 6


Problem characters when converting between ASCII EBCDIC 538347695.xls

EBCDIC ASCII
Hex Hex Used by Used by
Symbol Name Code Iss Code GPG geoGPG. Comments
&rprime. rev. quote 79 V 60      
| vertical bar 4F V       change to ¦
¦ split bar 6A V 7C     replaces |
@ commercial at sign 7C V 40      
# number sign 7B V 23      
$ dollar sign 5B V 24 &check. &check. widely used
% percent sign 6C 25 &check. &check. message I/O fields
¬ logical not 5F V   &check.   change to ^
^ caret 71 V 5E   &check. replaces ¬
& ampersand 50 26 &check. &check.  
* asterisk 5C 2A &check. &check.  
( left paren 4D 28 &check. &check.  
) right paren 5D 29 &check. &check.  
- hyphen 60 2D &check. &check.  
_ underscore 6D 5F &check. &check.  
+ plus sign 4E 2B &check. &check.  
= equals 7E 3D &check. &check.  
¢ US cent 4A V       change to ~
~ tilde A1 V 7E     replaces ¢
! bang 5A V 21 &check. &check. REPORT[L]. CTITLE
\ back slash E0 V 5C      
; semicolon 5E 3B &check. &check.  
: colon 7A 3A      
' single quote 7D 27 &check. &check.  
" double quote 7F V 22 &check. &check. menu code
{ left brace C0 V 7B      
} right brace D0 V 7D      
[ left bracket AD V 5B      
] right bracket BD V 5D      
, comma 6B 2C &check. &check.  
. period 4B 2E &check. &check.  
/ slash 61 2F &check. &check.  
? question mark 6F 3F      

08/26/2021 Alaric Systems Ltd Page 6 of 6

You might also like