Superscript Two
Superscript two is Unicode code point U+00B2, written ². Copy it with the button below and paste it anywhere text goes; the code table further down covers HTML, CSS, JavaScript and, where one exists, a Windows alt code.
| Symbol | ² | |
|---|---|---|
| Unicode | U+00B2 | |
| Name | Superscript Two | |
| HTML (decimal) | ² | |
| HTML (hex) | ² | |
| CSS content | \00B2 | |
| JavaScript / JSON | \u00B2 | |
| UTF-8 bytes | 0xC2 0xB2 | |
| UTF-16 units | 0x00B2 | |
| Windows alt code | Alt 0178 or Alt 253 |
How to type the superscript two symbol
- Copy and paste: click the ² at the top of this page, then paste with Ctrl+V (Windows) or Cmd+V (Mac). This is the fastest route on any device.
- Windows alt code: hold Alt and type
0178on the numeric keypad, then release Alt. - HTML: write
²in your markup. - CSS: use
content: "\00B2"in a::beforeor::afterrule. - JavaScript: the escape
\u00B2produces this character in a string.
Frequently asked questions
How do I copy the superscript two symbol?
Click the ² above or the copy button and it is placed on your clipboard. Paste it anywhere with Ctrl+V or Cmd+V. It is a real text character, so it works in documents, chats and code.
What is the Unicode code point for superscript two?
The superscript two has the Unicode code point U+00B2. In HTML you can write it as ² or ².
What is the alt code for the superscript two symbol?
On Windows, hold the Alt key and type Alt 0178 or Alt 253 on the numeric keypad, then release Alt. Copying the ² from this page is quicker and works on any device.
Is the superscript two an emoji or a text character?
It is a plain Unicode text character, not an image or an emoji sticker. That means the ² inherits the surrounding font, size and color wherever you paste it, and it works in places emoji often do not, such as usernames, file names and code.
Related symbols
Browse the full fancy letters & text symbols hub, or return to the searchable symbol grid.