ASCII Table

Complete ASCII reference (0-255). Click any row to copy the character. Search, filter, and explore.

Showing 256 characters
DecHexOctBinaryCharHTMLDescription

Common Escape Sequences

SequenceNameASCIIDescription
\\nNewline10 (0x0A)Line feed, moves cursor to next line
\\rCarriage Return13 (0x0D)Moves cursor to beginning of line
\\tTab9 (0x09)Horizontal tab
\\0Null0 (0x00)Null character, string terminator in C
\\\\Backslash92 (0x5C)Literal backslash
\\'Single Quote39 (0x27)Literal single quote
\\"Double Quote34 (0x22)Literal double quote
\\aBell7 (0x07)Alert/bell sound
\\bBackspace8 (0x08)Moves cursor back one position
\\fForm Feed12 (0x0C)Page break
\\vVertical Tab11 (0x0B)Vertical tab
\\eEscape27 (0x1B)Escape character (not in all languages)

Control Characters (0-31, 127)

Control characters are non-printable characters used for text formatting and device control. They originate from early teleprinter protocols. Characters 0-31 and 127 (DEL) are control characters. Many are obsolete but some like NUL (0), TAB (9), LF (10), and CR (13) remain essential in modern computing. In terminals, ESC (27) initiates escape sequences for colors and cursor control.

Copied!