Table of ASCII Characters

This table lists the ASCII characters and their decimal, octal and hexadecimal numbers. Characters which appear as names in parentheses (e.g.(nl)) are non-printing characters. A table of the common non-printing characters appears after this table.

ASCII Name Description C Escape Sequence
nul null byte \0
bel bell character \a
bs backspace \b
ht horizontal tab \t
np formfeed \f
nl newline \n
cr carriage return \r
vt vertical tab
esc escape
sp space