²
U+00B2 SUPERSCRIPT TWO
Latin-1 Supplement · Other number
| Name | SUPERSCRIPT TWO |
|---|---|
| Code point | U+00B2 |
| Decimal | 178 |
| Block | Latin-1 Supplement |
| Category | Other number (No) |
| UTF-8 | C2 B2 |
| UTF-16 | 00B2 |
| UTF-32 | 000000B2 |
| HTML | ² ² ² |
| CSS | \00B2 |
| JavaScript | \u00B2 |
| Python | \u00b2 |
| URL-encoded | %C2%B2 |
| Decomposition | <super> 0032 |
| Numeric value | 2 |
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 ² (decimal) or ² (hexadecimal). In UTF-8 documents you can also insert the character directly. There is also the named entity ².
How is ² encoded in UTF-8?
In UTF-8 the character takes 2 bytes: C2 B2. In UTF-16: 00B2.