I used to have a Microsoft DOS 6.0 manual laying on my desk for the sole purpose of having an ASCII reference table. I mean literally only for that purpose.
As I started dabbling in HTML, back in the day, I created a small table on the old WeetHet website for HTML codes, only to find that I every now and then run into the limitations of that table when I’m coding …
So here, for those who care for it, a table showing all 256 ASCII (DOS) characters and their HTML counter parts … including the decimal value, hexadecimal value, HTML numerical code, HTML alpha code, display as HTML character, display as DOS character, and te descriptions that go with it …
Ad Blocking Detected Please consider disabling your ad blocker for our website.
We rely on these ads to be able to run our website.
You can of course support us in other ways (see Support Us on the left).
ASCII HTML Table – The differences
First of all, you’ll need to be aware that there is a difference of the displayed character when we’re comparing HTML and ASCII, specially when it comes to the extended characters (> 127). HTML also knows a few special characters that don’t even appear to have a numerical counter part.
ASCII/DOS Characters >127, or the extended character set, are not the same as in HTML.
In the table below you will find the HTML counterpart for the DOS characters > 127 (2 extra columns).
This includes the box drawing characters that were very often used in DOS.
For URL encoding, you can write any character as a percent symbol followed by it’s hexadecimal number.
For example a space is character 32 (decimal), with 20 being its hexadecimal number. URL encoded a space would then be %20.
Hover over the colored characters to read the character explanation/meaning.
HTML vs ASCII Characters
DEC |
HEX |
Esc |
HTML Entities |
DOS/ASCII |
|
DEC |
HEX |
HTML Entities |
DOS/ASCII |
Numeric |
Alpha |
CHAR |
|
Numeric |
Alpha |
CHAR |
CHAR |
DOS2HTML |
0 |
00 |
\0 |
|
|
NULL |
|
128 |
80 |
€ |
€ |
€ |
Ç |
Ç |
1 |
01 |
|
|
|
SOH |
|
129 |
81 |
|
|
|
ü |
ü |
2 |
02 |
|
|
|
STX |
|
130 |
82 |
‚ |
‚ |
‚ |
é |
é |
3 |
03 |
|
|
|
ETX |
|
131 |
83 |
ƒ |
ƒ |
ƒ |
â |
â |
4 |
04 |
|
|
|
EOT |
|
132 |
84 |
„ |
„ |
„ |
ä |
ä |
5 |
05 |
|
|
|
ENQ |
|
133 |
85 |
… |
… |
… |
à |
à |
6 |
06 |
|
|
|
ACK |
|
134 |
86 |
† |
† |
† |
å |
å |
7 |
07 |
\a |
|
|
BELL |
|
135 |
87 |
‡ |
‡ |
‡ |
ç |
ç |
8 |
08 |
\b |
|
|
BS |
|
136 |
88 |
ˆ |
ˆ |
ˆ |
ê |
ê |
9 |
09 |
\t |
|
|
TAB |
|
137 |
89 |
‰ |
‰ |
‰ |
ë |
ë |
10 |
0A |
\n |
|
|
LF |
|
138 |
8A |
Š |
Š |
Š |
è |
è |
11 |
0B |
\v |
|
|
VT |
|
139 |
8B |
‹ |
‹ |
‹ |
ï |
ï |
12 |
0C |
\f |
|
|
FF |
|
140 |
8C |
Œ |
Œ |
Œ |
î |
î |
13 |
0D |
\r |
|
|
CR |
|
141 |
8D |
|
|
|
ì |
ì |
14 |
0E |
|
|
|
SO |
|
142 |
8E |
Ž |
Ž |
Ž |
Ä |
Ä |
15 |
0F |
|
|
|
SI |
|
143 |
8F |
|
|
|
Å |
Å |
16 |
10 |
|
|
|
DLE |
|
144 |
90 |
|
|
|
É |
É |
17 |
11 |
|
|
|
DC1 |
|
145 |
91 |
‘ |
‘ |
‘ |
æ |
æ |
18 |
12 |
|
|
|
DC2 |
|
146 |
92 |
’ |
’ |
’ |
Æ |
Æ |
19 |
13 |
|
|
|
DC3 |
|
147 |
93 |
“ |
“ |
“ |
ô |
ô |
20 |
14 |
|
|
|
DC4 |
|
148 |
94 |
” |
” |
” |
ö |
ö |
21 |
15 |
|
|
|
NAK |
|
149 |
95 |
• |
• |
• |
ò |
ò |
22 |
16 |
|
|
|
SYN |
|
150 |
96 |
– |
– |
– |
û |
û |
23 |
17 |
|
|
|
ETB |
|
151 |
97 |
— |
— |
— |
ù |
ù |
24 |
18 |
|
|
|
CAN |
|
152 |
98 |
˜ |
˜ |
˜ |
ÿ |
ÿ |
25 |
19 |
|
|
|
EM |
|
153 |
99 |
™ |
™ |
™ |
Ö |
Ö |
26 |
1A |
|
|
|
SUB |
|
154 |
9A |
š |
š |
š |
Ü |
Ü |
27 |
1B |
\e |
|
|
ESC |
|
155 |
9B |
› |
› |
› |
¢ |
¢ |
28 |
1C |
|
|
|
FS |
|
156 |
9C |
œ |
œ |
œ |
£ |
£ |
29 |
1D |
|
|
|
GS |
|
157 |
9D |
|
|
|
¥ |
¥ |
30 |
1E |
|
|
|
RS |
|
158 |
9E |
ž |
ž |
ž |
₧ |
₧ |
31 |
1F |
|
|
|
US |
|
159 |
9F |
Ÿ |
Ÿ |
Ÿ |
ƒ |
ƒ |
32 |
20 |
\s |
  |
|
Space |
|
160 |
A0 |
  |
|
|
á |
á |
33 |
21 |
|
! |
|
! |
|
161 |
A1 |
¡ |
¡ |
¡ |
í |
í |
34 |
22 |
\” |
" |
" |
“ |
|
162 |
A2 |
¢ |
¢ |
¢ |
ó |
ó |
35 |
23 |
|
# |
|
# |
|
163 |
A3 |
£ |
£ |
£ |
ú |
ú |
36 |
24 |
|
$ |
|
$ |
|
164 |
A4 |
¤ |
¤ |
¤ |
ñ |
ñ |
37 |
25 |
|
% |
|
% |
|
165 |
A5 |
¥ |
¥ |
¥ |
Ñ |
Ñ |
38 |
26 |
|
& |
& |
& |
|
166 |
A6 |
¦ |
¦ |
¦ |
ª |
ª |
39 |
27 |
\’ |
' |
|
‘ |
|
167 |
A7 |
§ |
§ |
§ |
º |
º |
40 |
28 |
|
( |
|
( |
|
168 |
A8 |
¨ |
¨ |
¨ |
¿ |
¿ |
41 |
29 |
|
) |
|
) |
|
169 |
A9 |
© |
© |
© |
⌐ |
⌐ |
42 |
2A |
|
* |
|
* |
|
170 |
AA |
ª |
ª |
ª |
¬ |
¬ |
43 |
2B |
|
+ |
|
+ |
|
171 |
AB |
« |
« |
« |
½ |
½ |
44 |
2C |
|
, |
|
, |
|
172 |
AC |
¬ |
¬ |
¬ |
¼ |
¼ |
45 |
2D |
|
- |
|
– |
|
173 |
AD |
­ |
­ |
|
¡ |
¡ |
46 |
2E |
|
. |
|
. |
|
174 |
AE |
® |
® |
® |
« |
« |
47 |
2F |
|
/ |
⁄ |
/ |
|
175 |
AF |
¯ |
¯ |
¯ |
» |
» |
48 |
30 |
|
0 |
|
0 |
|
176 |
B0 |
° |
° |
° |
░ |
░ |
49 |
31 |
|
1 |
|
1 |
|
177 |
B1 |
± |
± |
± |
▒ |
▒ |
50 |
32 |
|
2 |
|
2 |
|
178 |
B2 |
² |
² |
² |
▓ |
▓ |
51 |
33 |
|
3 |
|
3 |
|
179 |
B3 |
³ |
³ |
³ |
│ |
│ |
52 |
34 |
|
4 |
|
4 |
|
180 |
B4 |
´ |
´ |
´ |
┤ |
┤ |
53 |
35 |
|
5 |
|
5 |
|
181 |
B5 |
µ |
µ |
µ |
╡ |
╡ |
54 |
36 |
|
6 |
|
6 |
|
182 |
B6 |
¶ |
¶ |
¶ |
╢ |
╢ |
55 |
37 |
|
7 |
|
7 |
|
183 |
B7 |
· |
· |
· |
╖ |
╖ |
56 |
38 |
|
8 |
|
8 |
|
184 |
B8 |
¸ |
¸ |
¸ |
╕ |
╕ |
57 |
39 |
|
9 |
|
9 |
|
185 |
B9 |
¹ |
¹ |
¹ |
╣ |
╣ |
58 |
3A |
|
: |
|
: |
|
186 |
BA |
º |
º |
º |
║ |
║ |
59 |
3B |
|
; |
|
; |
|
187 |
BB |
» |
» |
» |
╗ |
╗ |
60 |
3C |
|
< |
< |
< |
|
188 |
BC |
¼ |
¼ |
¼ |
╝ |
╝ |
61 |
3D |
|
= |
|
= |
|
189 |
BD |
½ |
½ |
½ |
╜ |
╜ |
62 |
3E |
|
> |
> |
> |
|
190 |
BE |
¾ |
¾ |
¾ |
╛ |
╛ |
63 |
3F |
|
? |
|
? |
|
191 |
BF |
¿ |
¿ |
¿ |
┐ |
┐ |
64 |
40 |
|
@ |
|
@ |
|
192 |
C0 |
À |
À |
À |
└ |
└ |
65 |
41 |
|
A |
|
A |
|
193 |
C1 |
Á |
Á |
Á |
┴ |
┴ |
66 |
42 |
|
B |
|
B |
|
194 |
C2 |
 |
 |
 |
┬ |
┬ |
67 |
43 |
|
C |
|
C |
|
195 |
C3 |
à |
à |
à |
├ |
├ |
68 |
44 |
|
D |
|
D |
|
196 |
C4 |
Ä |
Ä |
Ä |
─ |
─ |
69 |
45 |
|
E |
|
E |
|
197 |
C5 |
Å |
Å |
Å |
┼ |
┼ |
70 |
46 |
|
F |
|
F |
|
198 |
C6 |
Æ |
Æ |
Æ |
╞ |
╞ |
71 |
47 |
|
G |
|
G |
|
199 |
C7 |
Ç |
Ç |
Ç |
╟ |
╟ |
72 |
48 |
|
H |
|
H |
|
200 |
C8 |
È |
È |
È |
╚ |
╚ |
73 |
49 |
|
I |
|
I |
|
201 |
C9 |
É |
É |
É |
╔ |
╔ |
74 |
4A |
|
J |
|
J |
|
202 |
CA |
Ê |
Ê |
Ê |
╩ |
╩ |
75 |
4B |
|
K |
|
K |
|
203 |
CB |
Ë |
Ë |
Ë |
╦ |
╦ |
76 |
4C |
|
L |
|
L |
|
204 |
CC |
Ì |
Ì |
Ì |
╠ |
╠ |
77 |
4D |
|
M |
|
M |
|
205 |
CD |
Í |
Í |
Í |
═ |
═ |
78 |
4E |
|
N |
|
N |
|
206 |
CE |
Î |
Î |
Î |
╬ |
╬ |
79 |
4F |
|
O |
|
O |
|
207 |
CF |
Ï |
Ï |
Ï |
╧ |
╧ |
80 |
50 |
|
P |
|
P |
|
208 |
D0 |
Ð |
Ð |
Ð |
╨ |
╨ |
81 |
51 |
|
Q |
|
Q |
|
209 |
D1 |
Ñ |
Ñ |
Ñ |
╤ |
╤ |
82 |
52 |
|
R |
|
R |
|
210 |
D2 |
Ò |
Ò |
Ò |
╥ |
╥ |
83 |
53 |
|
S |
|
S |
|
211 |
D3 |
Ó |
Ó |
Ó |
╙ |
╙ |
84 |
54 |
|
T |
|
T |
|
212 |
D4 |
Ô |
Ô |
Ô |
╘ |
╘ |
85 |
55 |
|
U |
|
U |
|
213 |
D5 |
Õ |
Õ |
Õ |
╒ |
╒ |
86 |
56 |
|
V |
|
V |
|
214 |
D6 |
Ö |
Ö |
Ö |
╓ |
╓ |
87 |
57 |
|
W |
|
W |
|
215 |
D7 |
× |
× |
× |
╫ |
╫ |
88 |
58 |
|
X |
|
X |
|
216 |
D8 |
Ø |
Ø |
Ø |
╪ |
╪ |
89 |
59 |
|
Y |
|
Y |
|
217 |
D9 |
Ù |
Ù |
Ù |
┘ |
┘ |
90 |
5A |
|
Z |
|
Z |
|
218 |
DA |
Ú |
Ú |
Ú |
┌ |
┌ |
91 |
5B |
|
[ |
|
[ |
|
219 |
DB |
Û |
Û |
Û |
█ |
█ |
92 |
5C |
\\ |
\ |
|
\ |
|
220 |
DC |
Ü |
Ü |
Ü |
▄ |
▄ |
93 |
5D |
|
] |
|
] |
|
221 |
DD |
Ý |
Ý |
Ý |
▌ |
▌ |
94 |
5E |
|
^ |
|
^ |
|
222 |
DE |
Þ |
Þ |
Þ |
▐ |
▐ |
95 |
5F |
|
_ |
|
_ |
|
223 |
DF |
ß |
ß |
ß |
▀ |
▀ |
96 |
60 |
|
` |
|
` |
|
224 |
E0 |
à |
à |
à |
α |
α |
97 |
61 |
|
a |
|
a |
|
225 |
E1 |
á |
á |
á |
β |
β |
98 |
62 |
|
b |
|
b |
|
226 |
E2 |
â |
â |
â |
γ |
γ |
99 |
63 |
|
c |
|
c |
|
227 |
E3 |
ã |
ã |
ã |
π |
π |
100 |
64 |
|
d |
|
d |
|
228 |
E4 |
ä |
ä |
ä |
Σ |
Σ |
101 |
65 |
|
e |
|
e |
|
229 |
E5 |
å |
å |
å |
σ |
σ |
102 |
66 |
|
f |
|
f |
|
230 |
E6 |
æ |
æ |
æ |
µ |
µ |
103 |
67 |
|
g |
|
g |
|
231 |
E7 |
ç |
ç |
ç |
τ |
τ |
104 |
68 |
|
h |
|
h |
|
232 |
E8 |
è |
è |
è |
Φ |
Φ |
105 |
69 |
|
i |
|
i |
|
233 |
E9 |
é |
é |
é |
θ |
θ |
106 |
6A |
|
j |
|
j |
|
234 |
EA |
ê |
ê |
ê |
Ω |
Ω |
107 |
6B |
|
k |
|
k |
|
235 |
EB |
ë |
ë |
ë |
δ |
δ |
108 |
6C |
|
l |
|
l |
|
236 |
EC |
ì |
ì |
ì |
∞ |
∞ |
109 |
6D |
|
m |
|
m |
|
237 |
ED |
í |
í |
í |
φ |
φ |
110 |
6E |
|
n |
|
n |
|
238 |
EE |
î |
î |
î |
ε |
ε |
111 |
6F |
|
o |
|
o |
|
239 |
EF |
ï |
ï |
ï |
∩ |
∩ |
112 |
70 |
|
p |
|
p |
|
240 |
F0 |
ð |
ð |
ð |
≡ |
≡ |
113 |
71 |
|
q |
|
q |
|
241 |
F1 |
ñ |
ñ |
ñ |
± |
± |
114 |
72 |
|
r |
|
r |
|
242 |
F2 |
ò |
ò |
ò |
≥ |
≥ |
115 |
73 |
|
s |
|
s |
|
243 |
F3 |
ó |
ó |
ó |
≤ |
≤ |
116 |
74 |
|
t |
|
t |
|
244 |
F4 |
ô |
ô |
ô |
⌠ |
⌠ |
117 |
75 |
|
u |
|
u |
|
245 |
F5 |
õ |
õ |
õ |
⌡ |
⌡ |
118 |
76 |
|
v |
|
v |
|
246 |
F6 |
ö |
ö |
ö |
÷ |
÷ |
119 |
77 |
|
w |
|
w |
|
247 |
F7 |
÷ |
÷ |
÷ |
≈ |
≈ |
120 |
78 |
|
x |
|
x |
|
248 |
F8 |
ø |
ø |
ø |
° |
° |
121 |
79 |
|
y |
|
y |
|
249 |
F9 |
ù |
ù |
ù |
∙ |
∙ |
122 |
7A |
|
z |
|
z |
|
250 |
FA |
ú |
ú |
ú |
· |
· |
123 |
7B |
|
{ |
|
{ |
|
251 |
FB |
û |
û |
û |
√ |
√ |
124 |
7C |
|
| |
|
| |
|
252 |
FC |
ü |
ü |
ü |
ⁿ |
ⁿ |
125 |
7D |
|
} |
|
} |
|
253 |
FD |
ý |
ý |
ý |
² |
² |
126 |
7E |
|
~ |
|
~ |
|
254 |
FE |
þ |
þ |
þ |
■ |
■ |
127 |
7F |
|
|
|
DEL |
|
255 |
FF |
ÿ |
ÿ |
ÿ |
|
|
Your support is very much appreciated, and can be as easy as sharing a link to my website with others, or on social media.
Support can also be done by sponsoring me, and even that can be free (e.g. shop at Amazon).
Any funds received from your support will be used for web-hosting expenses, project hardware and software, coffee, etc.
Thank you very much for those that have shown support already!
It's truly amazing to see that folks like my articles and small applications.
Please note that clicking affiliate links, like the ones from Amazon, may result in a small commission for us - which we highly appreciate as well.
Comments
There is only one comment, you can read it below.
You can post your own comments by using the form below, or reply to existing comments by using the "Reply" button.
[…] een wordt vervangen door een %20, wat staat voor hex 20, wat decimaal 32 is, en in ASCII code staat voor en […]