Superscript and Subscript Generator

Produce real superscript and subscript characters — ¹²³ and ₁₂₃ — as plain text that survives anywhere you paste it.

—

—

What this tool does

Unicode contains characters that are visually superscript or subscript versions of other characters. They are separate code points, not formatting, which is why they keep their position when the surrounding text is stripped of formatting: in a plain-text email, a tweet, a file name, a spreadsheet cell or a database column that accepts only text.

Common uses are chemical formulae, mathematical powers, references, and stylised social-media text where formatting is not available.

Method

The text is mapped character by character to its Unicode superscript or subscript counterpart. Digits and the operators plus, minus, equals and brackets have forms in both styles; letters have forms for a subset of the alphabet only. Anything without a counterpart is left exactly as it was, and the tool reports how many characters could not be converted so the result is never silently wrong.

PlainSuperscriptSubscript
0 1 2 3⁰ ¹ ² ³₀ ₁ ₂ ₃
a e i oᵃ ᵉ ⁱ ᵒₐ ₑ ᵢ ₒ
x nˣ ⁿₓ ₙ
+ - = ( )⁺ ⁻ ⁼ ⁽ ⁾₊ ₋ ₌ ₍ ₎
q C F Xno counterpart in either style — left unchanged

Example

InputStyleOutput
123superscript¹²³
1stsuperscript¹ˢᵗ
H2OsubscriptH₂O
C6H12O6subscriptC₆H₁₂O₆
x2superscriptˣ²

Accessibility warning

These characters exist for display, not for accessibility. A screen reader may announce ² as a symbol or mispronounce it, and search engines treat ˣ² and x2 as different strings. Use them for decoration and short labels, never for content that must be read accurately.

Three ways to write a superscript, and when each is right

Unicode has precomposed superscript and subscript characters, HTML has <sup> and <sub> tags, and a rich-text document has a character property. They are not interchangeable, and choosing the wrong one is why a formula looks wrong after being pasted somewhere else.

MethodSurvives pasting into…Limitation
Unicode characters (², ₃)Plain text, chat, filenamesNot every letter exists; digits and a few letters only
HTML tagsWeb pages, Markdown with HTMLShown literally in plain-text contexts
Rich-text propertyWord, Google DocsLost as soon as the text is copied anywhere else

For a value that must be readable everywhere — a filename, a chat message, a database field — Unicode characters are the durable choice. For a formula in a document, the markup is correct and the Unicode approximation is a compromise.

The coverage is incomplete, on purpose

Unicode contains superscript digits ⁰¹²³⁴⁵⁶⁷⁸⁹ and a handful of letters, plus subscripts. It does not contain a full superscript alphabet: there is a superscript a and a superscript n, but no superscript q or z. A converter that appears to superscript an arbitrary word is therefore usually substituting lookalike characters or missing letters, and the result may not be searchable or accessible.

This tool converts the characters that have real Unicode superscript or subscript forms and reports the ones that do not, rather than silently dropping them. If you need arbitrary exponents, HTML markup or a math renderer is the correct tool.

Accessibility

A screen reader announces a Unicode superscript as part of the word, not as an exponent — “m²” may be read as “m squared” or as “m two” depending on the voice. The HTML tag carries the semantic meaning, so a formula that must be understood by assistive technology is better expressed with markup than with precomposed characters. That is a real trade-off against portability, and it is worth making deliberately.

Frequently asked questions

What does this produce?

Real Unicode superscript and subscript characters, not formatting. The output is plain text, so it keeps its appearance wherever it is pasted — in a tweet, a chat message, a filename or a database field.

Why does it do that?

Some systems do not support rich text formatting. There is no bold or subscript button in a filename or a plain-text field, but the characters ᵃ and ₂ are ordinary text and survive anywhere.

Are all characters supported?

No. Unicode defines superscript and subscript forms for the ten digits, a handful of operators and a subset of letters. Anything without such a form is left unchanged, and the count of those characters is reported so you know what happened.

Why is my letter not converted?

Because Unicode has no superscript or subscript form for it. For example, the subscripts exist for a, e, h, i, j, k, l, m, n, o, p, r, s, t, u, v and x, but not for b, c, d, f, g, q, w, y or z.

Can I convert back?

Not with this tool. The conversion is one-way; reverse conversion would need a separate mapping and is not offered here.

Will screen readers read it?

Unreliably. These characters are real code points with their own names, so assistive technology may read them as symbols rather than as the intended letter or digit. Do not use this for text that must be accessible, such as headings or form labels.

Sources

  • Unicode Standard, Superscripts and Subscripts block (U+2070–U+209F).
  • Unicode Standard, Spacing Modifier Letters and Phonetic Extensions, for the superscript Latin letters.

Everything runs in your browser — nothing you type is uploaded.