Search

Search for a symbol or emoji...

Superscript Two Symbol ²

Superscript Two Symbol Information

Symbol Name
Superscript Two
Unicode Version
1.1 (June 1993)
Unicode
U+00B2
CSS Code
\00B2
HTML Entity
²
Hex Code
²
HTML Code
²
Symbol
²

Superscript Two Symbol Encoding

UTF-8
0xC2 0xB2
UTF-16
0x00B2
UTF-32
0x000000B2

Superscript TwoSymbol's PNG and SVG files

How to add superscript two symbol via keyboard on different Operating systems

You can type the superscript two symbol on most modern devices with the help of following methods:

How to type superscript two symbol on Microsoft Word

You can type the superscript two in Microsoft Word using steps mentioned below:

  • Place your cursor in the text area where you need to insert the symbol and type 00B2
  • Without moving the cursor press keys Alt + x together
  • The original 00B2 is now transformed into ²

How to type superscript two symbol on Microsoft Windows

You can type the superscript two on Microsoft windows using following steps:

  • Hold Alt and press to type superscript two on your windows machine.

How to type superscript two symbol on Mac OS

You can type the superscript two on Mac OS using following steps:

  • Place your cursor in the text area where you need to insert the symbol
  • Press Ctrl + ⌘ Command + ⎵ Space to bring up the Character Viewer. Alternatively, choose Edit ⇒ Emoji & Symbols
  • Type "Superscript Two" in the search field at the top and press Enter
  • The symbol should appear. Click on it to insert it into your text
Mac OS Character Viewer
Mac OS Character Viewer

How to type superscript two symbol on Linux

You can type the superscript two on Linux using following steps:

  • Place your cursor in the text area where you need to insert the symbol
  • Hold ⇧ Shift + Ctrl and press the letter + U
  • Press keys 00B2 consecutively
  • And then press ↵ Enter , the desired symbol will be added to your document

How to type superscript two symbol on IOS and Android

The easiest way to type the superscript two symbol on ios and android is to copy and paste it wherever you need it.

How to use superscript two in CSS

//CSS Example
1span { 2 content: \00B2; 3 }

How to use superscript two in HTML

//HTML Example
1<span>&#178;</span>

Superscript Two symbol representation in programming languages

Superscript Twosymbol's representation in different programming languages can be found in table below:

LanguageRepresentation
Rust
\u{B2}
Ruby
\u{B2}
Python
\u00B2
PHP
\u{B2}
Perl
\x{B2}
Java
\u00B2
Modern JavaScript - Since ES6
\u{B2}
JavaScript
\u00B2
Go
\u00B2
C#
\u00B2
C and C++
\u00B2
Bash and Zsh - inside echo -e
\u00B2
RFC 5137
\u'00B2'