HT
Horizontal Tab
ControlASCII 9 | Hex 0x09 | U+0009
HT (code 9) advances the cursor to the next tab stop position. Default tab stops are set every 8 columns, though most editors and terminals allow custom spacing. In source code, the tabs-vs-spaces debate persists because HT characters render at different widths depending on the viewer's settings. Python's PEP 8 recommends 4 spaces, Go mandates tabs via gofmt, and Makefiles require tabs for recipe lines. HTML collapses HT to a single space unless inside a <pre> element.
ASCII Code
Decimal
9
Hexadecimal
0x09
Octal
11
Binary
0000 1001
Unicode
Code Point
U+0009
Escape
\u0009
UTF-8 Hex
0xE2 0x90 0x89
UTF-8 Binary
111000101001000010001001
UTF-16
0x0009
UTF-32
0x00000009
HTML Entities
Numeric
	
Hex
	
Named
	
How to Type
HTML Entity
	
Unicode InputU+0009
Source Code Representations
C / Java
"\u0009"CSS
\0009JavaScript
"\u0009"Perl
\x{0009}Python 2
u"\u0009"Python 3
\u0009Ruby
\u{0009}Frequently Asked Questions
What is ASCII code 9?
ASCII code 9 represents the Horizontal Tab character. In hexadecimal it is 0x09, in binary 0000 1001, and in octal 11. This is a non-printable control character used for device signaling and data transmission control.
How do I type ASCII 9 on a keyboard?
Control characters are typically entered using Ctrl key combinations. For example, Ctrl+I produces ASCII 9 in most terminal emulators. You can also use the HTML entity 	 in web pages.