How to type Superscript Eight
To type Superscript Eight (⁸), press Alt + 8312 on Windows, holding Alt while typing the digits on the numeric keypad, or write ⁸ in HTML. On any system you can copy it from this page, or enter its codepoint U+2078 directly: Ctrl+Shift+U then 2078 on Linux, or 2078 then Alt+X in Microsoft Word.
Superscript Eight
- Copy it
- Unicode
- U+2078
- Windows
- Alt + 8312 needs regedit
| Where | Shortcut | How |
|---|---|---|
| Windows | Alt + 8312 | Above 255, so Windows will not accept it as typed. Copy the character instead. |
| Mac | N/A | Press the keys together. |
| HTML | ⁸ | Paste this into HTML source. |
| Unicode | U+2078 | SUPERSCRIPT EIGHT |
Other math symbols
⁸ lives in the Superscripts and Subscripts block (U+2070-U+209F), raised and lowered digits and letters. Within Unicode it is classified as No, a number that is not a digit. Fractions and superscript digits sit here. Its bidirectional class makes it a European number.
What happens to ⁸ in a search box
⁸ is a superscript form: Unicode says it can be rewritten as 8, one character. Anything that normalises text to NFKC before comparing it does exactly that, which is why ⁸ pasted into a search field, a URL slug or a username can come back as 8 and match text that never contained ⁸ at all. NFC, the form this site uses, leaves it alone. Unicode also records its numeric value as 8, so software that asks a character what number it is gets 8 rather than an error.
How Superscript Eight behaves in software
⁸ takes one column in a terminal.
Every way to write Superscript Eight
| Form | Value |
|---|---|
| Codepoint | U+2078 |
| Decimal | 8312 |
| UTF-8 bytes | E2 81 B8 |
| UTF-16 bytes | 20 78 |
| HTML entity | ⁸ |
| HTML numeric | ⁸ or ⁸ |
| CSS | \2078 |
| JavaScript | \u2078 |
| Python | \u2078 |
| URL-encoded | %E2%81%B8 |
| SVG | 2078.svg · (SIL Open Font License) |
If ⁸ arrives as â�¸
Its three UTF-8 bytes E2 81 B8 are being read one at a time as Windows-1252. The text is undamaged; the reader has to be told it is UTF-8.