ASCII Table

Top  Previous  Next

The standard ASCII character set consists of 128 decimal numbers ranging from zero through 127 assigned to letters, numbers, punctuation marks, and the most common special characters. The Extended ASCII Character Set also consists of 128 decimal numbers and ranges from 128 through 255 representing additional special, mathematical, graphic, and foreign characters.

The charts in this section show the default character set for a console application.

To use some of the extended (127-255) or non-printable (0-32) ASCII characters codes inside MMB use CHR(dec) function.

The following table lists 0 - 127.

dec

hex

char

description

dec

hex

char

dec

hex

char

dec

hex

char

0

0

NUL

Null

32

20

space

64

40

@

96

60

`

1

1

SOH

Start of Heading

33

21

!

65

41

A

97

61

a

2

2

STX

Start of Text

34

22

"

66

42

B

98

62

b

3

3

ETX

End of Text

35

23

#

67

43

C

99

63

c

4

4

EOT

End of Transmis.

36

24

$

68

44

D

100

64

d

5

5

ENQ

Enquiry

37

25

%

69

45

E

101

65

e

6

6

ACK

Acknowledge

38

26

&

70

46

F

102

66

f

7

7

BEL

Audible Bell

39

27

'

71

47

G

103

67

g

8

8

BS**

Backspace

40

28

(

72

48

H

104

68

h

9

9

TAB**

Horizontal Tab

41

29

)

73

49

I

105

69

i

10

A

LF**

Line Feed

42

2A

*

74

4A

J

106

6A

j

11

B

VT

Vertical Tab

43

2B

+

75

4B

K

107

6B

k

12

C

FF

Form Feed

44

2C

,

76

4C

L

108

6C

l

13

D

CR**

Carriage Return

45

2D

-

77

4D

M

109

6D

m

14

E

SO

Shift Out

46

2E

.

78

4E

N

110

6E

n

15

F

SI

Shift In

47

2F

/

79

4F

O

111

6F

o

16

10

DLE

Data Link Escape

48

30

0

80

50

P

112

70

p

17

11

DC1

Device Control 1

49

31

1

81

51

Q

113

71

q

18

12

DC2

Device Control 2

50

32

2

82

52

R

114

72

r

19

13

DC3

Device Control 3

51

33

3

83

53

S

115

73

s

20

14

DC4

Device Control 4

52

34

4

84

54

T

116

74

t

21

15

NAK

Negative Acknowl.

53

35

5

85

55

U

117

75

u

22

16

SYN

Synchronous Idle

54

36

6

86

56

V

118

76

v

23

17

ETB

End of Trans. Block

55

37

7

87

57

W

119

77

w

24

18

CAN

Cancel

56

38

8

88

58

X

120

78

x

25

19

EM

End of Medium

57

39

9

89

59

Y

121

79

y

26

1A

SUB

Substitution

58

3A

:

90

5A

Z

122

7A

z

27

1B

ESC

Escape

59

3B

;

91

5B

[

123

7B

{

28

1C

FS

File Separator

60

3C

<

92

5C

\

124

7C

|

29

1D

GS

Group Separator

61

3D

=

93

5D

]

125

7D

}

30

1E

RS

Record Separator

62

3E

>

94

5E

^

126

7E

~

31

1F

US

Unit Separator

63

3F

?

95

5F

_

127

7F



** Values 0-32 and 127 are non-printable characters. They have no graphical representation, but depending on the application, may affect the visual display of text.

The characters that appear in Windows above 127 depend on the selected typeface (i.e. the character code 128=€ or 169=© in Arial font.

The following table lists 128 - 255.

dec

hex

char

cons.

char

win.

dec

hex

char

cons.

char

win.

dec

hex

char

cons.

char

win.

dec

hex

char

cons.

char

win.

128

80

128_159

160

A0

160_191

space

192

C0

192_223

Ŕ

224

E0

224_255

ŕ

129

81

 

161

A1

ˇ

193

C1

Á

225

E1

á

130

82

162

A2

˘

194

C2

Â

226

E2

â

131

83

ƒ

163

A3

Ł

195

C3

Ă

227

E3

ă

132

84

‚‚

164

A4

¤

196

C4

Ä

228

E4

ä

133

85

165

A5

Ą

197

C5

Ĺ

229

E5

ĺ

134

86

166

A6

¦

198

C6

Ć

230

E6

ć

135

87

167

A7

§

199

C7

Ç

231

E7

ç

136

88

ˆ

168

A8

¨

200

C8

Č

232

E8

ç

137

89

169

A9

©

201

C9

É

233

E9

č

138

8A

Š

170

AA

Ş

202

CA

Ę

234

EA

é

139

8B

171

AB

‹‹

203

CB

Ë

235

EB

ę

140

8C

Ś

172

AC

¬

204

CC

Ě

236

EC

ë

141

8D

 

173

AD

 

205

CD

Í

237

ED

ě

142

8E

Ž

174

AE

®

206

CE

Î

238

EE

í

143

8F

 

175

AF

Ż

207

CF

Ď

239

EF

î

144

90

 

176

B0

°

208

D0

Đ

240

F0

ď

145

91

'

177

B1

±

209

D1

Ń

241

F1

đ

146

92

'

178

B2

˛

210

D2

Ň

242

F2

ń

147

93

"

179

B3

ł

211

D3

Ó

243

F3

ň

148

94

"

180

B4

´

212

D4

Ô

244

F4

ó

149

95

·

181

B5

µ

213

D5

Ő

245

F5

ô

150

96

182

B6

214

D6

Ö

246

F6

ő

151

97