Superscript Two
The superscript two (²) sits at code point U+00B2 in Unicode. It belongs to the fancy letters family and pastes as plain text, so it keeps working across documents, messages and web pages. Below you can copy it in one click and grab the exact HTML, CSS and JavaScript codes you need to reproduce it anywhere.
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.
Does the superscript two symbol work everywhere?
In almost every modern app and font, yes. If a font does not include this glyph you may see a placeholder box, but the underlying character U+00B2 is still correct and will render in a font that supports it.
Related symbols
Browse the full fancy letters & text symbols hub, or return to the searchable symbol grid.