Tab Character HTML entity 	

	 is the HTML entity for Tab Character (U+0009). Copy the decimal 	 and hex 	 codes plus CSS, JavaScript, Python and URL escapes.

Entity
	
Code point
U+0009
Unicode name
CHARACTER TABULATION
Block
Basic Latin
Category
Control (Cc)
Since
Unicode 1.1
Defined in
HTML5

Codes to copy

HTML named	Works in HTML; in XML only & < > " ' are predefined.
HTML decimal	Works in HTML and XML.
HTML hex	Works in HTML and XML.
CSScontent: "\9";In a stylesheet, for ::before and ::after.
JavaScript"\u0009"Also valid in JSON.
Python"\u0009"Python 3 string literal.
URL%09Percent-encoded UTF-8 bytes, for a path or query value.
UTF-8 bytes091 byte.
UTF-1600091 code unit, which is what JavaScript length counts.

When to use it

&Tab; is the tab (U+0009). In normal HTML text it collapses into a single space like any whitespace; it only shows as a tab inside <pre>, <textarea> or with CSS white-space: pre, where tab-size sets its width (8 by default).

The name comes from the HTML5 list (much of it shared with MathML), so it works in every current browser but not in XML or XHTML served as XML, where the numeric reference is the safe choice.

It has no visible shape of its own, which is why the box above shows it with a tinted background.

More spaces and invisible characters

All spaces and invisible characters · Every HTML entity · Encode or decode text

Source: the WHATWG HTML Standard list of named character references and the Unicode Character Database (Unicode 18.0).