Select the text you want to format
Press Command + Shift + Plus sign (+)
Or go to Format > Font > Baseline > Superscript
In Microsoft Word, press Command + Shift + Plus sign (+)
In Google Docs, go to Format > Text > Superscript
In Pages, click Format > Style > Baseline > Superscript
In many apps, use the font toolbar to choose superscript if available
