Superscript and subscript generator
Type text to get it in superscript and subscript, or write x^2 and H_2O to raise or lower just one part. Press Copy and paste the result into a document, a chat or a social post.
How to raise or lower part of the text
The first line of the list reads the same marks a calculator or LaTeX uses:
^raises what comes after it:x^2gives x², and10^-3gives 10⁻3, so use braces for more than one character._lowers what comes after it:H_2Ogives H₂O andCO_2gives CO₂.- A run of digits moves together, so
2^10gives 2¹⁰. - Braces move a longer group:
x^{n+1}gives xⁿ⁺¹ anda_{ij}gives aᵢⱼ.
The other two lines turn all the text into superscript or subscript.
What Unicode can raise and lower
| Characters | Superscript | Subscript |
|---|---|---|
| Digits | ⁰¹²³⁴⁵⁶⁷⁸⁹ | ₀₁₂₃₄₅₆₇₈₉ |
| Signs | ⁺ ⁻ ⁼ ⁽ ⁾ | ₊ ₋ ₌ ₍ ₎ |
| Lowercase letters | all 26 (q uses a look-alike, ᑫ) | a e h i j k l m n o p r s t u v x |
| Capital letters | all but C, F, Q, S, X, Y, Z, which use the small form | none, so capitals use the lowercase form where one exists |
Superscript ¹, ² and ³ come from the Latin-1 block of Unicode, and the other digits and signs come from the Superscripts and Subscripts block. Because they were added at different times, some fonts draw ¹²³ at a slightly different height from ⁴⁵⁶.
When to use real formatting instead
Word, Google Docs and HTML have proper superscript and subscript formatting, which works for any character at any size. In HTML, use <sup> and <sub>. Use the characters from this page where you can't format text, such as social posts, chat messages, spreadsheet cells and file names.
For tiny text in bios and names, see the small text generator.
Frequently asked questions
How do I type superscript numbers?
Type your number after a ^ in the box above, such as x^2, and copy the first result. You can also copy the digits from the table: ⁰¹²³⁴⁵⁶⁷⁸⁹.
How do I write H₂O or CO₂ with a small number?
Type H_2O or CO_2 in the box above and copy the first result. The underscore lowers the digit after it.
Can every letter be made superscript or subscript?
No. Unicode has subscript forms for only 17 lowercase letters, and some superscript capitals are missing. Letters with no form stay plain.
Does superscript copy and paste work in any app?
Yes. The characters are plain Unicode text, so they keep their position in apps that have no formatting.
Is the superscript generator free?
Yes. It runs in your browser, needs no account and has no limit.