²

U+00B2 SUPERSCRIPT TWO

Latin-1 Supplement · Other number

NameSUPERSCRIPT TWO
Code pointU+00B2
Decimal178
BlockLatin-1 Supplement
CategoryOther number (No)
UTF-8C2 B2
UTF-1600B2
UTF-32000000B2
HTML² ² ²
CSS\00B2
JavaScript\u00B2
Python\u00b2
URL-encoded%C2%B2
Decomposition<super> 0032
Numeric value2

Frequently asked questions

What is the character U+00B2?

U+00B2 ² is officially named SUPERSCRIPT TWO. It belongs to the Latin-1 Supplement block and the category Other number.

How do I type ²?

Windows (Word, WordPad): type 00B2, then press Alt+X. Linux (GTK/IBus): Ctrl+Shift+U 00b2, then Space. macOS: enable the “Unicode Hex Input” keyboard, hold Option and type 00B2. Or simply copy it from this page. On Windows, Alt+0178 on the numeric keypad also works.

How do I write ² in HTML?

As a numeric character reference &#178; (decimal) or &#x00B2; (hexadecimal). In UTF-8 documents you can also insert the character directly. There is also the named entity &sup2;.

How is ² encoded in UTF-8?

In UTF-8 the character takes 2 bytes: C2 B2. In UTF-16: 00B2.

Nearby entries