This tool converts text to superscript (ˣ²), subscript (H₂O), or a mixed form, using real Unicode glyph code points rather than HTML <sup>/<sub> tags — so the result is plain text that works anywhere (chat, social posts, filenames, code comments) without any formatting support.
How it works:
- Superscript: each letter/digit/operator is replaced by its superscript glyph (e.g.
x → ˣ, 2 → ²).
- Subscript: each is replaced by its subscript glyph (e.g.
2 → ₂, o → ₒ).
- Mixed: odd-position characters go superscript, even-position go subscript — a demo mode for mixed math/chemistry notation.
Unicode coverage caveat (important):
Unicode does not assign a superscript or subscript glyph to every letter. The well-covered sets are:
- Superscript: digits 0-9 (full), operators +-=(), and lowercase h/i/j/k/m/n/o/p/r/s/t/u/v/w/x/y/a plus a few others. Many lowercase letters (b,c,d,e,f,g,l,q) and most uppercase have no superscript glyph.
- Subscript: digits 0-9 (full), operators, and lowercase a/e/h/i/j/k/l/m/n/o/p/r/s/t/u/v/x. Missing: b,c,d,f,g,q,w,y,z and all uppercase.
Characters without a dedicated glyph fall back to themselves — so H₂O works perfectly (H has no subscript glyph, stays as H), but a fully-subscripted sentence will keep its unmapped letters plain. This is a fundamental Unicode limitation, not a bug.
Common uses: chemistry (H₂SO₄, CO₂), math/physics (x², E=mc²), footnote/reference markers (¹²³), trademark-like styling.