HTML ASCII Reference manual


ASCII Character sets are used to transfer information between different computers on the Internet .


ASCII character set

ASCII , Its full name is " American Standard Code for information interchange ". It is designed for 60 Early S , It's computers and things like printers 、 Standard character set for hardware devices such as tape drives .

ASCII yes 7 Bit character set , Contains 128 Different character values .

ASCII support 0-9 The number of ,A-Z Upper and lower case English letters , And some special characters .

It is widely used in modern computers 、HTML And the character sets on the Internet are based on ASCII .

The following table lists 128 A ASCII Characters and corresponding HTML Entity code .


ASCII Printable characters

Characters number Describe
  32 Space (space)
! 33 exclamatory mark (exclamation mark)
" 34 Quotation marks (quotation mark)
# 35 Numerical symbols (number sign)
$ 36 Dollar sign (dollar sign)
% 37 Percentage symbol (percent sign)
& 38 & Symbol (ampersand)
' 39 apostrophe (apostrophe)
( 40 Left parenthesis (left parenthesis)
) 41 Right parenthesis (right parenthesis)
* 42 asterisk (asterisk)
+ 43 plus (plus sign)
, 44 comma (comma)
- 45 Hyphens (hyphen)
. 46 Full stop (period)
/ 47 Slash (slash)
0 48 number 0
1 49 number 1
2 50 number 2
3 51 number 3
4 52 number 4
5 53 number 5
6 54 number 6
7 55 number 7
8 56 number 8
9 57 number 9
: 58 colon (colon)
; 59 Semicolon (semicolon)
< 60 The less than sign (less-than)
= 61 be equal to (equals-to)
> 62 The greater than sign (greater-than)
? 63 question mark (question mark)
@ 64 @ Symbol (at sign)
A 65 capital A
B 66 capital B
C 67 capital C
D 68 capital D
E 69 capital E
F 70 capital F
G 71 capital G
H 72 capital H
I 73 capital I
J 74 capital J
K 75 capital K
L 76 capital L
M 77 capital M
N 78 capital N
O 79 capital O
P 80 capital P
Q 81 capital Q
R 82 capital R
S 83 capital S
T 84 capital T
U 85 capital U
V 86 capital V
W 87 capital W
X 88 capital X
Y 89 capital Y
Z 90 capital Z
[ 91 Left square bracket (left square bracket)
\ 92 Backslash (backslash)
] 93 Right square brackets (right square bracket)
^ 94 Caret (caret)
_ 95 Underline (underscore)
` 96 Grave note (grave accent)
a 97 Lowercase letters a
b 98 Lowercase letters b
c 99 Lowercase letters c
d 100 Lowercase letters d
e 101 Lowercase letters e
f 102 Lowercase letters f
g 103 Lowercase letters g
h 104 Lowercase letters h
i 105 Lowercase letters i
j 106 Lowercase letters j
k 107 Lowercase letters k
l 108 Lowercase letters l
m 109 Lowercase letters m
n 110 Lowercase letters n
o 111 Lowercase letters o
p 112 Lowercase letters p
q 113 Lowercase letters q
r 114 Lowercase letters r
s 115 Lowercase letters s
t 116 Lowercase letters t
u 117 Lowercase letters u
v 118 Lowercase letters v
w 119 Lowercase letters w
x 120 Lowercase letters x
y 121 Lowercase letters y
z 122 Lowercase letters z
{ 123 Left curly bracket (left curly brace)
| 124 Vertical line (vertical bar)
} 125 Right curly bracket (right curly brace)
~ 126 Wavy line (tilde)


ASCII Device control character

ASCII Control character (00-31, add 127) Originally designed to control hardware devices such as printers and tape drives .

Control character ( Except for horizontal tabs 、 Line feed 、 Outside the return ) stay HTML It doesn't work in the document .

Characters number Describe
NUL 00 Empty character (null character)
SOH 01 The title begins (start of header)
STX 02 The text begins (start of text)
ETX 03 End of text (end of text)
EOT 04 End of transmission (end of transmission)
ENQ 05 request (enquiry)
ACK 06 Received notice / response (acknowledge)
BEL 07 Ring the bell (bell)
BS 08 Back off (backspace)
HT 09 Horizontal tab (horizontal tab)
LF 10 Line feed (line feed)
VT 11 Vertical tab (vertical tab)
FF 12 Page change (form feed)
CR 13 enter (carriage return)
SO 14 No switching (shift out)
SI 15 Enable toggle (shift in)
DLE 16 Data link escape (data link escape)
DC1 17 Equipment control 1(device control 1)
DC2 18 Equipment control 2(device control 2)
DC3 19 Equipment control 3(device control 3)
DC4 20 Equipment control 4(device control 4)
NAK 21 Reject / No response (negative acknowledge)
SYN 22 Sync idle (synchronize)
ETB 23 End of transmission block (end transmission block)
CAN 24 cancel (cancel)
EM 25 End of media / The media storage is full (end of medium)
SUB 26 Substitute / Replace (substitute)
ESC 27 Overflow / flee / cancel (escape)
FS 28 File separator (file separator)
GS 29 Group separator (group separator)
RS 30 Record separator (record separator)
US 31 Cell separator (unit separator)
     
DEL 127 Delete (delete)

ASCII And 16 Binary conversion cross reference table

Hexadecimal code

MCS Characters or abbreviations

DEC Multi character name

ASCII Control character 1

00

NUL

Empty character

01

SOH

The title starts with (Ctrl/A)

02

STX

Text start (Ctrl/B)

03

ETX

End of text (Ctrl/C)

04

EOT

End of transmission (Ctrl/D)

05

ENQ

Ask (Ctrl/E)

06

ACK

approval (Ctrl/F)

07

BEL

bell (Ctrl/G)

08

BS

Back off (Ctrl/H)

09

HT

Horizontal tab bar (Ctrl/I)

0A

LF

Line feed (Ctrl/J)

0B

VT

Vertical tab bar (Ctrl/K)

0C

FF

Page change (Ctrl/L)

0D

CR

enter (Ctrl/M)

0E

SO

Remove (Ctrl/N)

0F

SI

Move into (Ctrl/O)

10

DLE

Data link missing (Ctrl/P)

11

DC1

Equipment control 1 (Ctrl/Q)

12

DC2

Equipment control 2 (Ctrl/R)

13

DC3

Equipment control 3 (Ctrl/S)

14

DC4

Equipment control 4 (Ctrl/T)

15

NAK

Negative acceptance (Ctrl/U)

16

SYN

Synchronization idle character (Ctrl/V)

17

ETB

End of transmission block (Ctrl/W)

18

CAN

cancel (Ctrl/X)

19

EM

The media is over (Ctrl/Y)

1A

SUB

Replace (Ctrl/Z)

1B

ESC

Escape character

1C

FS

File separator

1D

GS

Group separator

1E

RS

Record separator

1F

US

Unit separator

ASCII Special and numeric characters

20

SP

Space

21

!

exclamatory mark

22

"

Quotation marks ( Double quotes )

23

#

Numerical symbols

24

$

Dollar sign

25

%

Percent sign

26

&

And number

27

"

ellipsis ( Single quotation marks )

28

(

Left parenthesis

29

)

Right parenthesis

2A

*

asterisk

2B

 

plus

2C

,

comma

2D

--

Hyphens or minus signs

2E

.

Period or decimal point

2F

/

Slash

30

0

Fatal Frame

31

1

1

32

2

2

33

3

3

34

4

4

35

5

5

36

6

6

37

7

7

38

8

8

39

9

9

3A

:

colon

3B

;

Semicolon

3C

<

Less than

3D

=

be equal to

3E

>

Greater than

3F

?

question mark

ASCII Alphabetic characters

40

@

Business at Symbol

41

A

capital A

42

B

capital B

43

C

capital C

44

D

capital D

45

E

capital E

46

F

capital F

47

G

capital G

48

H

capital H

49

I

capital I

4A

J

capital J

4B

K

capital K

4C

L

capital L

4D

M

capital M

4E

N

capital N

4F

O

capital O

50

P

capital P

51

Q

capital Q

52

R

capital R

53

S

capital S

54

T

capital T

55

U

capital U

56

V

capital V

57

W

capital W

58

X

capital X

59

Y

capital Y

5A

Z

capital Z

5B

[

Left bracket

5C

\

Backslash

5D

]

Right bracket

5E

^

Tonal symbols

5F

_

Underline

60

`

Grave note

61

a

Lowercase letters a

62

b

Lowercase letters b

63

c

Lowercase letters c

64

d

Lowercase letters d

65

e

Lowercase letters e

66

f

Lowercase letters f

67

g

Lowercase letters g

68

h

Lowercase letters h

69

i

Lowercase letters i

6A

j

Lowercase letters j

6B

k

Lowercase letters k

6C

l

Lowercase letters l

6D

m

Lowercase letters m

6E

n

Lowercase letters n

6F

o

Lowercase letters o

70

p

Lowercase letters p

71

q

Lowercase letters q

72

r

Lowercase letters r

73

s

Lowercase letters s

74

t

Lowercase letters t

75

u

Lowercase letters u

76

v

Lowercase letters v

77

w

Lowercase letters w

78

x

Lowercase letters x

79

y

Lowercase letters y

7A

z

Lowercase letters z

7B

{

Left brace

7C

|

Vertical line

7D

}

Right brace (ALTMODE)

7E

~

Generation font size (ALTMODE)

7F

DEL

Wipe off (DELETE)

Control character

80

 

[ retain ]

81

 

[ retain ]

82

 

[ retain ]

83

 

[ retain ]

84

IND

Indexes

85

NEL

Next line

86

SSA

The selected area starts

87

ESA

End of selected area

88

HTS

Horizontal tab set

89

HTJ

Aligned horizontal tab set

8A

VTS

Vertical tab set

8B

PLD

Part of the line goes down

8C

PLU

Part of the line goes up

8D

RI

Reverse index

8E

SS2

Single move 2

8F

SS3

Single move 3

90

DCS

Device control string

91

PU1

special-purpose 1

92

PU2

special-purpose 2

93

STS

Set transmission status

94

CCH

Cancel character

95

MW

Message waiting

96

SPA

The beginning of the reserve

97

EPA

The reserve is over

98

 

[ retain ]

99

 

[ retain ]

9A

 

[ retain ]

9B

CSI

Control sequence guide

9C

ST

String Terminator

9D

OSC

Operating system commands

9E

PM

Secret news

9F

APC

Applications

Other characters

A0

 

[ retain ] 2

A1

?

Reverse exclamation point

A2

?

Currency separator

A3

?

Pound sign

A4

 

[ retain ] 2

A5

?

RMB symbol

A6

 

[ retain ] 2

A7

§

Chapter symbol

A8

¤

Common currency symbol 2

A9

?

Copyright symbol

AA

?

Negative sequence indicator

AB

?

Open quotation mark

AC

 

[ retain ] 2

AD

 

[ retain ] 2

AE

 

[ retain ] 2

AF

 

[ retain ] 2

B0

°

Temperature symbol

B1

±

Add / minus sign

B2

?

Superscript 2

B3

?

Superscript 3

B4

 

[ retain ] 2

B5

?

Micro symbol

B6

?

Paragraph character ,pilcrow

B7

·

Midpoint

B8

 

[ retain ] 2

B9

?

Superscript 1

BA

?

Positive sequence indicator

BB

?

Closing quotation mark

BC

?

One quarter of the score

BD

?

Half the score

BE

 

[ retain ] 2

BF

?

Reverse question mark

C0

?

Capital letters with accents A

C1

?

Capital letters with sharp accents A

C2

?

Capital letters with tonal symbols A

C3

?

Capital letters with font size A

C4

?

With vowel inflection ( A diacritical symbol ) Capital letters A

C5

?

Capital letters with ringtones A

C6

?

capital AE Double vowels

C7

?

Capital letters with diacritic symbols C

C8

?

Capital letters with accents E

C9

?

Capital letters with sharp accents E

CA

?

Capital letters with tonal symbols E

CB

?

With vowel inflection ( A diacritical symbol ) Capital letters E

CC

?

Capital letters with accents I

CD

?

Capital letters with sharp accents I

CE

?

Capital letters with tonal symbols I

CF

?

With vowel inflection ( A diacritical symbol ) Capital letters I

D0

 

[ retain ] 2

D1

?

Capital letters with font size N

D2

?

Capital letters with accents O

D3

?

Capital letters with sharp accents O

D4

?

Capital letters with tonal symbols O

D5

?

Capital letters with font size O

D6

?

With vowel inflection ( A diacritical symbol ) Capital letters O

D7

OE

capital OE Ligatures 2

D8

?

Capital letters with slashes O

D9

?

Capital letters with accents U

DA

?

Capital letters with sharp accents U

DB

?

Capital letters with tonal symbols U

DC

?

With vowel inflection ( A diacritical symbol ) Capital letters U

DD

Y

With vowel inflection ( A diacritical symbol ) Capital letters Y

DE

 

[ retain ] 2

DF

?

German high-profile small letters s

E0

à

Lowercase letter with accent a

E1

á

Small letters with sharp accent a

E2

?

Lowercase letters with tonal symbols a

E3

?

A small letter with a font size a

E4

?

With vowel inflection ( A diacritical symbol ) Lower case letters a

E5

?

Small letters with ringtones a

E6

?

Lowercase letters ae Double vowels

E7

?

Lowercase letters with diacritics c

E8

è

Lowercase letter with accent e

E9

é

Small letters with sharp accent e

EA

ê

Lowercase letters with tonal symbols e

EB

?

With vowel inflection ( A diacritical symbol ) Lower case letters e

EC

ì

Lowercase letter with accent i

ED

í

Small letters with sharp accent i

EE

?

Lowercase letters with tonal symbols i

EF

?

With vowel inflection ( A diacritical symbol ) Lower case letters i

F0

 

[ retain ] 2

F1

?

A small letter with a font size n

F2

ò

Lowercase letter with accent o

F3

ó

Small letters with sharp accent o

F4

?

Lowercase letters with tonal symbols o

F5

?

A small letter with a font size o

F6

?

With vowel inflection ( A diacritical symbol ) Lower case letters o

F7

oe

Lowercase letters oe Ligatures 2

F8

?

A small letter with a slash o

F9

ù

Lowercase letter with accent u

FA

ú

Small letters with sharp accent u

FB

?

Lowercase letters with tonal symbols u

FC

ü

With vowel inflection ( A diacritical symbol ) Lower case letters u

FD

?

With vowel inflection ( A diacritical symbol ) Lower case letters y 2

FE

 

[ retain ] 2

FF

 

[ retain ] 2