Mind | Machine | Art | Cosmos

Main menu

ASCII / HTML Codes

ASCII makes use of a 7-bit representation and includes character codes 0 through 127. Additional 8-bit codes from 128 through 255 are defined within the ISO-8859-1 or Windows-1252 character sets. These extensions are shown lower down. This table also includes names and numeric codes for HTML entities.

Dec

Octal

Hex

Symbol

HTML Number

HTML Name

Description

0

000

00

NUL

Null

1

001

01

SOH

Start of heading

2

002

02

STX

Start of text

3

003

03

ETX

End of text

4

004

04

EOT

End of transmission

5

005

05

ENQ

Enquiry

6

006

06

ACK

Acknowledge

7

007

07

BEL

Bell

8

010

08

BS

Backspace

9

011

09

TAB

Horizontal tab

10

012

0A

LF

Line feed (new line)

11

013

0B

VT

Vertical tab

12

014

0C

FF

Form feed (new page)

13

015

0D

CR

Carriage return

14

016

0E

SO

Shift out

15

017

0F

SI

Shift in

16

020

10

DLE

Data link escape

17

021

11

DC1

Device control 1

18

022

12

DC2

Device control 2

19

023

13

DC3

Device control 3

20

024

14

DC4

Device control 4

21

025

15

NAK

Negative acknowledge

22

026

16

SYN

Synchronous idle

23

027

17

ETB

End of transmission block

24

030

18

CAN

Cancel

25

031

19

EM

End of medium

26

032

1A

SUB

Substitute

27

033

1B

ESC

Escape

28

034

1C

FS

File separator

29

035

1D

GS

Group separator

30

036

1E

RS

Record separator

31

037

1F

US

Unit separator

32

040

20

Space

&#32;

Space

33

041

21

!

&#33;

&excl;

Exclamation mark

34

042

22

“

&#34;

&quot;

Double quotation

35

043

23

#

&#35;

&num;

Number sign

36

044

24

$

&#36;

&dollar;

Dollar sign

37

045

25

%

&#37;

&percnt;

Percent sign

38

046

26

&

&#38;

&amp;

Ampersand

39

047

27

‘

&#39;

&apos;

Apostrophe

40

050

28

(

&#40;

&lpar;

Left parenthesis

41

051

29

)

&#41;

&rpar;

Right parenthesis

42

052

2A

*

&#42;

&ast;

Asterisk

43

053

2B

+

&#43;

&plus;

Plus sign

44

054

2C

,

&#44;

&comma;

Comma

45

055

2D

–

&#45;

&minus;

Minus sign

46

056

2E

.

&#46;

&period;

Period

47

057

2F

/

&#47;

&sol;

Forward slash

48

060

30

0

&#48;

0

49

061

31

1

&#49;

1

50

062

32

2

&#50;

2

51

063

33

3

&#51;

3

52

064

34

4

&#52;

4

53

065

35

5

&#53;

5

54

066

36

6

&#54;

6

55

067

37

7

&#55;

7

56

070

38

8

&#56;

8

57

071

39

9

&#57;

9

58

072

3A

:

&#58;

&colon;

Colon

59

073

3B

;

&#59;

&semi;

Semicolon

60

074

3C

<

&#60;

&lt;

Less-than sign

61

075

3D

=

&#61;

&equals;

Equals sign

62

076

3E

>

&#62;

&gt;

Greater-than sign

63

077

3F

?

&#63;

&quest;

Question mark

64

100

40

@

&#64;

&commat;

At sign

65

101

41

A

&#65;

Uppercase letter

66

102

42

B

&#66;

Uppercase letter

67

103

43

C

&#67;

Uppercase letter

68

104

44

D

&#68;

Uppercase letter

69

105

45

E

&#69;

Uppercase letter

70

106

46

F

&#70;

Uppercase letter

71

107

47

G

&#71;

Uppercase letter

72

110

48

H

&#72;

Uppercase letter

73

111

49

I

&#73;

Uppercase letter

74

112

4A

J

&#74;

Uppercase letter

75

113

4B

K

&#75;

Uppercase letter

76

114

4C

L

&#76;

Uppercase letter

77

115

4D

M

&#77;

Uppercase letter

78

116

4E

N

&#78;

Uppercase letter

79

117

4F

O

&#79;

Uppercase letter

80

120

50

P

&#80;

Uppercase letter

81

121

51

Q

&#81;

Uppercase letter

82

122

52

R

&#82;

Uppercase letter

83

123

53

S

&#83;

Uppercase letter

84

124

54

T

&#84;

Uppercase letter

85

125

55

U

&#85;

Uppercase letter

86

126

56

V

&#86;

Uppercase letter

87

127

57

W

&#87;

Uppercase letter

88

130

58

X

&#88;

Uppercase letter

89

131

59

Y

&#89;

Uppercase letter

90

132

5A

Z

&#90;

Uppercase letter

91

133

5B

[

&#91;

&lsqb;

Left square bracket

92

134

5C

\

&#92;

&bsol;

Backslash

93

135

5D

]

&#93;

&rsqb;

Right square bracket

94

136

5E

^

&#94;

Caret

95

137

5F

_

&#95;

&lowbar;

Underscore

96

140

60

`

&#96;

&grave;

Backward quote

97

141

61

a

&#97;

Lowercase letter

98

142

62

b

&#98;

Lowercase letter

99

143

63

c

&#99;

Lowercase letter

100

144

64

d

&#100;

Lowercase letter

101

145

65

e

&#101;

Lowercase letter

102

146

66

f

&#102;

Lowercase letter

103

147

67

g

&#103;

Lowercase letter

104

150

68

h

&#104;

Lowercase letter

105

151

69

i

&#105;

Lowercase letter

106

152

6A

j

&#106;

Lowercase letter

107

153

6B

k

&#107;

Lowercase letter

108

154

6C

l

&#108;

Lowercase letter

109

155

6D

m

&#109;

Lowercase letter

110

156

6E

n

&#110;

Lowercase letter

111

157

6F

o

&#111;

Lowercase letter

112

160

70

p

&#112;

Lowercase letter

113

161

71

q

&#113;

Lowercase letter

114

162

72

r

&#114;

Lowercase letter

115

163

73

s

&#115;

Lowercase letter

116

164

74

t

&#116;

Lowercase letter

117

165

75

u

&#117;

Lowercase letter

118

166

76

v

&#118;

Lowercase letter

119

167

77

w

&#119;

Lowercase letter

120

170

78

x

&#120;

Lowercase letter

121

171

79

y

&#121;

Lowercase letter

122

172

7A

z

&#122;

Lowercase letter

123

173

7B

{

&#123;

&lcub;

Left curly brace

124

174

7C

|

&#124;

&verbar;

Vertical bar

125

175

7D

}

&#125;

&rcub;

Right curly brace

126

176

7E

~

&#126;

Tilde

127

177

7F

DEL

Delete

ISO-8859-1 / Windows-1252 Extensions

The 8-bit extension of ASCII to character codes 128 through 255 includes two ranges. The range of codes from 160 through 255 is defined by both ISO-8859-1 and Windows-1252, whereas the range from 128 throuh 159 includes characters that are only defined by Windows-1252. Most browsers are able to display the extra Windows characters even if the web page character set is set to ISO-8859-1.