Superscript Three HTML entity ³

³ is the HTML entity for Superscript Three ³ (U+00B3). Copy the decimal ³ and hex ³ codes plus CSS, JavaScript, Python and URL escapes.

Entity
³
Legacy form
&sup3 (no semicolon)
Code point
U+00B3
Unicode name
SUPERSCRIPT THREE
Block
Latin-1 Supplement
Category
Other number (No)
Since
Unicode 1.1
Defined in
HTML 4.01 and 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: "\B3";In a stylesheet, for ::before and ::after.
JavaScript"\u00B3"Also valid in JSON.
Python"\u00b3"Python 3 string literal.
Python by name"\N{SUPERSCRIPT THREE}"Readable alternative using the Unicode name.
URL%C2%B3Percent-encoded UTF-8 bytes, for a path or query value.
UTF-8 bytesC2 B32 bytes.
UTF-1600B31 code unit, which is what JavaScript length counts.

When to use it

Superscript three for cubes: m³, cm³. It sits in Latin-1, so it has worked since HTML 4.

The name dates from HTML 4, so it works in every browser and in old email clients.

Browsers also accept the legacy form &sup3 without a semicolon, for compatibility with old pages; new HTML should always end the reference with a semicolon.

More letterlike symbols, numbers and fractions

All letterlike symbols, numbers and fractions · 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).