ASCII Characters Entity Code Full Reference Table
ASCII (American Standard Code for Information Interchange) is a character encoding standard for electronic communication. ASCII codes represent text in computers, telecommunications equipment, and other devices. Most modern character-encoding schemes are based on ASCII, although they support many additional characters.
ASCII is the traditional name for the encoding system; the Internet Assigned Numbers Authority (IANA) prefers the updated name US-ASCII, which clarifies that this system was developed in the US and based on the typographical symbols predominantly in use there
For a webmaster, writing characters in ASCII format can help some minor task for example avoiding which character is part of HTML tag or not. If you don't want a character to be parsed by the browser, then you can write it on one of ASCII format for example in the form of HTML ASCII format, for example: < instead <.
Control characters ASCII code table
Character | Decimal | Hex | Octal |
---|---|---|---|
NUL (null) | 0 | 0 | 000 |
SOH (start of heading) | 1 | 1 | 001 |
STX (start of text) | 2 | 2 | 002 |
ETX (end of text) | 3 | 3 | 003 |
EOT (end of transmission) | 4 | 4 | 004 |
END (enquiry) | 5 | 5 | 005 |
ACK (acknowledge) | 6 | 6 | 006 |
BEL (bell) | 7 | 7 | 007 |
BS (backspace) | 8 | 8 | 010 |
TAB (horizontal tab) | 9 | 9 | 011 |
LF (new line feed, newline) | 10 | A | 012 |
VT (vertical tab) | 11 | B | 013 |
FF (NP form feed, new page) | 12 | C | 014 |
CR (carriage return) | 13 | D | 015 |
SO (shift out) | 14 | E | 016 |
SI (shift in) | 15 | F | 017 |
DLE (data link escape) | 16 | 10 | 020 |
DC1 (device control 1) | 17 | 11 | 021 |
DC2 (device control 2) | 18 | 12 | 022 |
DC3 (device control 3) | 19 | 13 | 023 |
DC4 (device control 4) | 20 | 14 | 024 |
NAK (negative acknowledge) | 21 | 15 | 025 |
SYN (synchronous idle) | 22 | 16 | 026 |
ETB (end of trans, block) | 23 | 17 | 027 |
CAN (cancel) | 24 | 18 | 030 |
EM (end of medium) | 25 | 19 | 031 |
SUB (substitute) | 26 | 1A | 032 |
ESC (escape) | 27 | 1B | 033 |
FS (file separator) | 28 | 1C | 034 |
GS (group separator) | 29 | 1D | 035 |
RS (record separator) | 30 | 1E | 036 |
US (unit separator) | 31 | 1F | 037 |
Printable ASCII characters code table
Character | Name | Decimal | Hex | Octal | HTML |
---|---|---|---|---|---|
Space | space | 32 | 20 | 040 |   |
! | exclamation | 33 | 21 | 041 | ! |
" | double quote | 34 | 22 | 042 | " |
# | hash | 35 | 23 | 043 | # |
$ | dollar | 36 | 24 | 044 | $ |
% | percent | 37 | 25 | 045 | % |
& | ampersand | 38 | 26 | 046 | & |
' | single quote | 39 | 27 | 047 | ' |
( | left bracket | 40 | 28 | 050 | ( |
) | right bracket | 41 | 29 | 051 | ) |
* | star | 42 | 2A | 052 | * |
+ | plus | 43 | 2B | 053 | + |
, | comma | 44 | 2C | 054 | , |
- | hyphen | 45 | 2D | 055 | - |
. | dot | 46 | 2E | 056 | . |
/ | slash | 47 | 2F | 057 | / |
0 | number zero | 48 | 30 | 060 | 0 |
1 | number one | 49 | 31 | 061 | 1 |
2 | number two | 50 | 32 | 062 | 2 |
3 | number three | 51 | 33 | 063 | 3 |
4 | number four | 52 | 34 | 064 | 4 |
5 | number five | 53 | 35 | 065 | 5 |
6 | number six | 54 | 36 | 066 | 6 |
7 | number seven | 55 | 37 | 067 | 7 |
8 | number eight | 56 | 38 | 070 | 8 |
9 | number nine | 57 | 39 | 071 | 9 |
: | colon | 58 | 3A | 072 | : |
; | semi colon | 59 | 3B | 073 | ; |
< | less than | 60 | 3C | 074 | < |
= | equals | 61 | 3D | 075 | = |
> | greater than | 62 | 3E | 076 | > |
? | question | 63 | 3F | 077 | ? |
@ | at | 64 | 40 | 100 | @ |
A | uppercase letter a | 65 | 41 | 101 | A |
B | uppercase letter b | 66 | 42 | 102 | B |
C | uppercase letter c | 67 | 43 | 103 | C |
D | uppercase letter d | 68 | 44 | 104 | D |
E | uppercase letter e | 69 | 45 | 105 | E |
F | uppercase letter f | 70 | 46 | 106 | F |
G | uppercase letter g | 71 | 47 | 107 | G |
H | uppercase letter h | 72 | 48 | 110 | H |
I | uppercase letter i | 73 | 49 | 111 | I |
J | uppercase letter j | 74 | 4A | 112 | J |
K | uppercase letter k | 75 | 4B | 113 | K |
L | uppercase letter l | 76 | 4C | 114 | L |
M | uppercase letter m | 77 | 4D | 115 | M |
N | uppercase letter n | 78 | 4E | 116 | N |
O | uppercase letter o | 79 | 4F | 117 | O |
P | uppercase letter p | 80 | 50 | 120 | P |
Q | uppercase letter q | 81 | 51 | 121 | Q |
R | uppercase letter r | 82 | 52 | 122 | R |
S | uppercase letter s | 83 | 53 | 123 | S |
T | uppercase letter t | 84 | 54 | 124 | T |
U | uppercase letter u | 85 | 55 | 125 | U |
V | uppercase letter v | 86 | 56 | 126 | V |
W | uppercase letter w | 87 | 57 | 127 | W |
X | uppercase letter x | 88 | 58 | 130 | X |
Y | uppercase letter y | 89 | 59 | 131 | Y |
Z | uppercase letter z | 90 | 5A | 132 | Z |
[ | left square bracket | 91 | 5B | 133 | [ |
\ | backslash | 92 | 5C | 134 | \ |
] | right square bracket | 93 | 5D | 135 | ] |
^ | epaulet | 94 | 5E | 136 | ^ |
_ | underscore | 95 | 5F | 137 | _ |
` | grave accent | 96 | 60 | 140 | ` |
a | lowercase letter a | 97 | 61 | 141 | a |
b | lowercase letter b | 98 | 62 | 142 | b |
c | lowercase letter c | 99 | 63 | 143 | c |
d | lowercase letter d | 100 | 64 | 144 | d |
e | lowercase letter e | 101 | 65 | 145 | e |
f | lowercase letter f | 102 | 66 | 146 | f |
g | lowercase letter g | 103 | 67 | 147 | g |
h | lowercase letter h | 104 | 68 | 150 | h |
i | lowercase letter i | 105 | 69 | 151 | i |
j | lowercase letter j | 106 | 6A | 152 | j |
k | lowercase letter k | 107 | 6B | 153 | k |
l | lowercase letter l | 108 | 6C | 154 | l |
m | lowercase letter m | 109 | 6D | 155 | m |
n | lowercase letter n | 110 | 6E | 156 | n |
o | lowercase letter o | 111 | 6F | 157 | o |
p | lowercase letter p | 112 | 70 | 160 | p |
q | lowercase letter q | 113 | 71 | 161 | q |
r | lowercase letter r | 114 | 72 | 162 | r |
s | lowercase letter s | 115 | 73 | 163 | s |
t | lowercase letter t | 116 | 74 | 164 | t |
u | lowercase letter u | 117 | 75 | 165 | u |
v | lowercase letter v | 118 | 76 | 166 | v |
w | lowercase letter w | 119 | 77 | 167 | w |
x | lowercase letter x | 120 | 78 | 170 | x |
y | lowercase letter y | 121 | 79 | 171 | y |
z | lowercase letter z | 122 | 7A | 172 | z |
{ | left curly bracket | 123 | 7B | 173 | { |
| | pipeline | 124 | 7C | 174 | | |
} | right curly bracket | 125 | 7D | 175 | } |
~ | tilde | 126 | 7E | 176 | ~ |
DEL | delete | 127 | 7F | 177 |  |