How to type Superscript Seven
To type Superscript Seven (⁷), press Alt + 8311 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+2077 directly: Ctrl+Shift+U then 2077 on Linux, or 2077 then Alt+X in Microsoft Word.
Superscript Seven
- Copy it
- Unicode
- U+2077
- Windows
- Alt + 8311 needs regedit
| Where | Shortcut | How |
|---|---|---|
| Windows | Alt + 8311 | 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+2077 | SUPERSCRIPT SEVEN |
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 7, 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 7 and match text that never contained ⁷ at all. NFC, the form this site uses, leaves it alone. Unicode also records its numeric value as 7, so software that asks a character what number it is gets 7 rather than an error.
How Superscript Seven behaves in software
⁷ takes one column in a terminal.
Every way to write Superscript Seven
| Form | Value |
|---|---|
| Codepoint | U+2077 |
| Decimal | 8311 |
| UTF-8 bytes | E2 81 B7 |
| UTF-16 bytes | 20 77 |
| HTML entity | ⁷ |
| HTML numeric | ⁷ or ⁷ |
| CSS | \2077 |
| JavaScript | \u2077 |
| Python | \u2077 |
| URL-encoded | %E2%81%B7 |
| SVG | 2077.svg · (SIL Open Font License) |
If ⁷ arrives as â�·
Its three UTF-8 bytes E2 81 B7 are being read one at a time as Windows-1252. The text is undamaged; the reader has to be told it is UTF-8.