HT

ASCII Code 9

Horizontal Tab

About This Character

ASCII code 9 (0x09) represents the Horizontal Tab (HT) control character. This is a non-printable character defined in the original ASCII standard (1963). It belongs to the format effector group, which controls the layout and positioning of text in output devices like printers and terminals. Control characters occupy codes 0–31 and 127 in the ASCII table and were originally designed for controlling hardware devices, managing communication links, and formatting text output. While many control characters have become obsolete with modern computing, several like LF (Line Feed), CR (Carriage Return), TAB, and ESC remain essential in everyday programming and text processing.

Character Encoding

Decimal 9
Octal 011
Hexadecimal 0x09
Binary 00001001
HTML Code 	
HTML Entity
Unicode U+0009
Unicode Name CHARACTER TABULATION
URL Escape %09
Quoted-Printable \t
UTF-8 (Hex) 09
Category Control — Format Effectors

How to Type in Code

JavaScript
// Using escape sequence
let char = '\t';
// Using String.fromCharCode
let char2 = String.fromCharCode(9);
Python
# Using escape sequence
char = '\t'
# Using chr()
char = chr(9)
HTML
<!-- Using HTML entity -->
&#9;
C#
// Using escape sequence
char c = '\t';
// Using cast
char c2 = (char)9;

See Also

Copied!