Superscript and Subscript Generator

Write formulas with ^ for superscript and _ for subscript (for example E = mc^2 or H_2O) and copy the result with real Unicode characters.

Examples:

Convert whole text

Click any result to copy it.

How to type superscript and subscript

  1. Put ^ before a character to raise it (x^2 → x²) and _ to lower it (H_2O → H₂O).
  2. Wrap longer parts in braces: x^{n+1} → xⁿ⁺¹.
  3. Copy the result and paste it into a chat, a social post, a spreadsheet cell or a plain-text email.
TypeResultUse
x^2, cm^3x², cm³squares, cubes, units
H_2O, CO_2H₂O, CO₂chemical formulas
10^{-6}10⁻⁶scientific notation
1^st, 2^nd1ˢᵗ, 2ⁿᵈordinals
^{TM}ᵀᴹtrademark

All digits 0–9, the signs + − = and brackets have superscript and subscript forms. Most lowercase letters have a superscript form, but only some letters have a subscript form (a, e, h, i, j, k, l, m, n, o, p, r, s, t, u, v, x).

Keyboard shortcuts in Word and Google Docs

  • Microsoft Word: Ctrl + Shift + = for superscript, Ctrl + = for subscript (⌘ + Shift + = and ⌘ + = on Mac).
  • Google Docs: Ctrl + . for superscript and Ctrl + , for subscript (⌘ on Mac).

These shortcuts format text inside the document only. The Unicode characters from this tool also work in places without formatting, such as WhatsApp or Instagram.

Frequently asked questions

How do I type the squared symbol ²?

Type x^2 above and copy x². On Windows you can also hold Alt and type 0178 on the number pad.

Can I write any letter in subscript?

No. Unicode has subscript forms for digits, a few signs and 17 letters. Other letters stay normal.