HTML ASCII Reference

Last updated: August 26, 2026.

ASCII defines 128 code points. The printable range is decimal 32 through 126; HTML documents normally use Unicode, whose first 128 code points match ASCII.

Printable ASCII characters

DecimalHexCharacterHTML form
320x20Spacespace
330x21!!
340x22""
350x23##
360x24$$
370x25%%
380x26&&
390x27''
400x28((
410x29))
420x2A**
430x2B++
440x2C,,
450x2D--
460x2E..
470x2F//
480x3000
490x3111
500x3222
510x3333
520x3444
530x3555
540x3666
550x3777
560x3888
570x3999
580x3A::
590x3B;&#59;
600x3C<&lt;
610x3D=&#61;
620x3E>&gt;
630x3F?&#63;
640x40@&#64;
650x41A&#65;
660x42B&#66;
670x43C&#67;
680x44D&#68;
690x45E&#69;
700x46F&#70;
710x47G&#71;
720x48H&#72;
730x49I&#73;
740x4AJ&#74;
750x4BK&#75;
760x4CL&#76;
770x4DM&#77;
780x4EN&#78;
790x4FO&#79;
800x50P&#80;
810x51Q&#81;
820x52R&#82;
830x53S&#83;
840x54T&#84;
850x55U&#85;
860x56V&#86;
870x57W&#87;
880x58X&#88;
890x59Y&#89;
900x5AZ&#90;
910x5B[&#91;
920x5C\&#92;
930x5D]&#93;
940x5E^&#94;
950x5F_&#95;
960x60`&#96;
970x61a&#97;
980x62b&#98;
990x63c&#99;
1000x64d&#100;
1010x65e&#101;
1020x66f&#102;
1030x67g&#103;
1040x68h&#104;
1050x69i&#105;
1060x6Aj&#106;
1070x6Bk&#107;
1080x6Cl&#108;
1090x6Dm&#109;
1100x6En&#110;
1110x6Fo&#111;
1120x70p&#112;
1130x71q&#113;
1140x72r&#114;
1150x73s&#115;
1160x74t&#116;
1170x75u&#117;
1180x76v&#118;
1190x77w&#119;
1200x78x&#120;
1210x79y&#121;
1220x7Az&#122;
1230x7B{&#123;
1240x7C|&#124;
1250x7D}&#125;
1260x7E~&#126;

Characters that require attention in HTML

<p title="A &amp; B">Use &lt;, &gt;, &amp;, &quot;, and &#39; when markup context requires them.</p>

Always declare UTF-8 with <meta charset="utf-8">. Use character references when a character would otherwise be parsed as markup or when an invisible character must be made explicit.

admin

admin

One thought on “HTML ASCII Reference

Leave a Reply

Your email address will not be published.