Toolman

ASCII 9

ASCII 9 is Horizontal Tab — the control character HT.

Every representation

CharacterHT (not printable)
NameHorizontal Tab
Decimal9
Hexadecimal0x09
Octal0011
Binary00001001
HTML entity	
Escape sequence\\t
UnicodeU+0009
KeyboardCtrl+I
GroupControl character

What it is for

Advances to the next tab stop. The width of a tab is a display convention rather than a property of the character, which is the entire reason tabs-versus-spaces is an argument.

Where the number comes from

Codes 0 to 31 were reserved for control: instructions to a teleprinter rather than characters to print. Code 9 is Ctrl+I because the Ctrl key was originally wired to clear the top two bits of whatever you typed, mapping the letter I at 73 down to 9.

Frequently asked questions

What is ASCII 9?

Horizontal Tab (HT), a control character. In hexadecimal it is 0x09, in octal 0011, and in binary 00001001.

How do I type ASCII 9?

Press Ctrl+I in a terminal. In a string literal you can write it as \\t or \\x09 in most languages.

Is ASCII 9 printable?

No. Codes 0 to 31 and 127 are control characters — they were instructions to a teleprinter rather than marks on paper, and most terminals show nothing for them.

Nearby codes

Full ASCII table · Text to binary converter · Number base converter