What Is a Superscript Generator?
A superscript generator is an online tool that converts regular letters, numbers and symbols into characters that appear smaller and raised above the normal line of text. For example, the number 2 becomes ², the letter n becomes ⁿ, and the word hello becomes ʰᵉˡˡᵒ.
Our free superscript text generator uses Unicode characters rather than traditional font formatting. This means the generated text can be copied and pasted into many websites, social media platforms, messages and plain-text documents, even when they do not provide a superscript formatting option.
The tool also works as a subscript generator, allowing you to create lowered numbers and letters for chemical formulas, mathematical expressions and other uses.
How to Generate Superscript Text
Follow these steps to convert normal text into superscript characters:
- Type or paste your text into the Your Text box.
- Select Superscript as the text style.
- Choose whether to convert all supported characters, numbers only or letters only.
- Your superscript text will appear automatically in the results box.
- Click Copy Superscript Text to copy the result to your clipboard.
- Paste the generated text wherever you want to use it.
If you only need a particular superscript number or letter, you can click it directly in the character tables above.
Superscript Conversion Options
The generator includes four conversion modes so you can control which parts of your text become superscript or subscript.
All Characters
Converts every supported letter, number and symbol. This mode is useful for decorative raised text, usernames and short superscript messages.
Numbers Only
Converts digits from 0 to 9 while leaving letters, punctuation and other characters unchanged. For example, m2 becomes m².
Letters Only
Converts supported letters while preserving numbers and symbols. This is useful for ordinal numbers such as 1ˢᵗ, 2ⁿᵈ and 3ʳᵈ.
Mathematical Notation
Converts only characters explicitly marked as superscript or subscript using a caret or underscore. This allows you to preserve ordinary text, coefficients and base numbers while formatting specific parts of an expression.
| Mode | Input | Output |
|---|---|---|
| All characters | Hello 123 | ᴴᵉˡˡᵒ ¹²³ |
| Numbers only | Area: m2 | Area: m² |
| Letters only | 1st, 2nd | 1ˢᵗ, 2ⁿᵈ |
| Mathematical notation | E = mc^2 | E = mc² |
How to Write Mathematical Exponents
Superscript numbers are commonly used to represent powers and exponents in mathematics. A superscript generator allows you to write expressions such as x², x³ and 10⁶ without requiring a specialized equation editor.
Select Mathematical notation and use the
caret symbol (^) before the
number or letter you want to raise.
For expressions containing multiple letters
or mathematical symbols, place them inside
curly braces.
| Expression | Superscript Result |
|---|---|
2^3 |
2³ |
x^2 |
x² |
2x^3 + 5x^2 |
2x³ + 5x² |
10^12 |
10¹² |
10^-9 |
10⁻⁹ |
x^{n+1} |
xⁿ⁺¹ |
x^{(n-1)} |
x⁽ⁿ⁻¹⁾ |
The generator converts notation into Unicode characters. It does not solve mathematical equations or calculate the value of an exponent. For complex fractions, roots or expressions containing unsupported symbols, use a dedicated mathematical equation editor.
What Is the Difference Between Superscript and Subscript?
Superscript and subscript are two different ways of positioning characters relative to the normal line of text.
Superscript
Characters appear above the normal text baseline. Common uses include mathematical exponents, footnotes, ordinal numbers and ionic charges.
Subscript
Characters appear below the normal text baseline. Common uses include chemical formulas, mathematical indices and logarithm bases.
Both superscript and subscript characters are available in this generator. You can switch between them using the Text Style setting or combine both styles using Mathematical notation.
How to Generate Chemical Formulas
Chemical formulas often contain subscript numbers indicating how many atoms of an element are present. Superscript characters may also be used to indicate ionic charges.
To create chemical formulas, select
Mathematical notation and use an underscore
(_) before each number
that should appear as subscript.
| Input | Output | Name |
|---|---|---|
H_2O |
H₂O | Water |
CO_2 |
CO₂ | Carbon dioxide |
CH_4 |
CH₄ | Methane |
H_2SO_4 |
H₂SO₄ | Sulfuric acid |
C_6H_12O_6 |
C₆H₁₂O₆ | Glucose |
Ca^{2+} |
Ca²⁺ | Calcium ion |
SO_4^{2-} |
SO₄²⁻ | Sulfate ion |
Combining superscript and subscript notation is especially useful when writing chemistry expressions in plain-text environments that do not provide scientific formatting tools.
Common Uses of Superscript Text
Superscript characters are used in mathematics, science, academic writing, measurements and decorative online text.
- Mathematics: Write powers such as x², x³ and 10ⁿ.
- Footnotes: Add raised reference numbers such as ¹, ² and ³.
- Measurements: Write square meters (m²), square kilometers (km²) and cubic centimeters (cm³).
- Ordinal numbers: Format numbers such as 1ˢᵗ, 2ⁿᵈ and 3ʳᵈ.
- Chemistry: Represent ionic charges such as Na⁺ and Ca²⁺.
- Social media: Add decorative raised text to usernames, captions and profiles.
- Scientific notation: Write powers of ten such as 3 × 10⁵ or 2 × 10⁻⁶.
For additional decorative text styles, try our Small Text Generator, Bold Text Generator or Cursive Text Generator.
How Unicode Superscript Characters Work
Unlike font formatting, Unicode superscript characters have their own character codes. For example, the regular number 2 and the superscript number ² are different Unicode characters, even though they represent the same number in many contexts.
When you copy Unicode superscript text, you are copying the individual characters rather than a font size or text-position setting. This is why the raised appearance can remain when you paste the text into a plain-text field.
Unicode does not provide a complete set of superscript and subscript equivalents for every possible character. Many raised letters are modifier letters originally designed for phonetic or linguistic notation. Some lowercase forms are therefore used as visual alternatives for unavailable uppercase characters.
You can inspect the Unicode code points of specific characters with our Character Identifier or locate unusual Unicode characters in your text using our Unicode Detector.
Newer Unicode Superscript and Subscript Letters
Additional modifier and subscript letters have been introduced in newer versions of the Unicode Standard. These include superscript lowercase q, several raised capital letters and additional subscript letters.
| Letter | Character | Unicode Code Point |
|---|---|---|
| Superscript q | 𐞥 | U+107A5 |
| Superscript C | ꟲ | U+A7F2 |
| Superscript F | ꟳ | U+A7F3 |
| Superscript Q | ꟴ | U+A7F4 |
| Superscript S | | U+A7F1 |
| Subscript w | | U+209D |
| Subscript y | | U+209E |
| Subscript z | | U+209F |
Enable Include newer Unicode characters under Conversion Settings to allow the generator to use these additional characters. If a font does not support one of them, it may appear as an empty square or a missing-character symbol.
The individual character tables above allow you to copy newer characters directly, regardless of the current conversion settings.
How to Type Superscript
There are several ways to type superscript depending on the application you are using.
Microsoft Word
Select the text you want to raise and click the superscript button (x²) in the Font section of the Home tab. This applies superscript formatting and can be used with ordinary letters, numbers and symbols.
Google Docs
Highlight the text you want to format, open the Format menu, select Text, and choose Superscript.
HTML
In HTML, you can use the
<sup> element to display
superscript text and the
<sub> element to display
subscript text.
| HTML | Rendered Result |
|---|---|
x<sup>2</sup>
|
x2 |
H<sub>2</sub>O
|
H2O |
Plain Text and Social Media
Use the superscript generator to create Unicode superscript characters when your text editor, messaging application or social media platform does not offer superscript formatting.
For formal documents and complex mathematical expressions, use the application's built-in formatting or equation editor whenever possible.
Does Superscript Text Affect Character Counts?
A Unicode superscript character is a separate character from its regular counterpart. Most simple conversions replace one ordinary character with one Unicode character.
However, some superscript characters require more storage units than ordinary English letters, and applications may use different counting methods. Mathematical notation conversion can also change the length of the original text by removing formatting markers such as carets and braces.
If you are creating superscript text for a platform with a character limit, use our Character Counter to check the length of the converted text before publishing it.
Where Can You Use Superscript Text?
Unicode superscript text can be copied into many applications that support Unicode, including:
- Instagram captions and biographies.
- Facebook posts and comments.
- X (Twitter) posts and profiles.
- Discord messages and profiles.
- Messaging and email applications.
- Online forums and websites.
- Plain-text documents and notes.
Exact appearance and character support depend on the platform, font and device being used. Some platforms may reject particular Unicode characters or convert them back into regular text. Always check the text after pasting it.
If you need additional mathematical signs, punctuation or decorative characters, explore our Copy and Paste Symbols tool.
Frequently Asked Questions
What is superscript text?
Superscript text consists of characters that appear smaller and above the normal line of text. Common examples include mathematical exponents such as x², ordinal numbers such as 1ˢᵗ and raised footnote numbers such as ¹.
How do I copy and paste superscript text?
Enter your text into the generator and click Copy Superscript Text. You can then paste it into a compatible application, document or text field. Individual superscript characters can also be copied from the character tables above.
How do I type a superscript 2 or 3?
Type the number 2 or 3 into the superscript generator, or click the corresponding number in the Superscript Numbers section to copy ² or ³ directly.
Can I generate superscript letters?
Yes. The generator supports Unicode superscript lowercase letters and many uppercase letters. Some uppercase characters use lowercase approximations, while newer characters may require enabling the additional Unicode option. Font support can vary.
Can I convert only numbers to superscript?
Yes. Select Numbers only under Conversion Settings. The generator will convert digits into superscript characters while leaving letters and other characters unchanged.
Can I use this as a subscript generator?
Yes. Select Subscript under Text Style to generate lowered letters, numbers and symbols. You can also use Mathematical notation to combine superscript and subscript characters within the same expression.
How do I generate mathematical exponents?
Choose Mathematical notation and use a caret before the exponent. For example, entering x^2 produces x², while entering x^{n+1} produces xⁿ⁺¹. Use an underscore for subscript notation.
Why do some letters stay the same?
Not every character has a Unicode superscript or subscript equivalent. The generator preserves characters that cannot be converted. Some additional equivalents are available when you enable newer Unicode characters.
Is Unicode superscript the same as superscript formatting?
No. Superscript formatting changes the appearance and position of ordinary characters. Unicode superscript text uses separate character codes that can be copied into many plain-text applications. Traditional formatting is generally more flexible for professional documents.
Why do some superscript characters appear as squares?
A square or missing-character symbol usually means your current font does not contain that particular Unicode character. Try disabling newer Unicode characters or using a different font, browser or device.
Can I use superscript text on Instagram?
Many Unicode superscript characters can be pasted into Instagram captions, comments and biographies. However, compatibility depends on the specific character and platform restrictions.
Is the Superscript Generator free?
Yes. The superscript and subscript generator is completely free to use and does not require an account. Text conversion takes place locally in your browser without requiring an external text conversion service.