Open your Google Docs document
Select the text you want to make superscript
Click Format
Hover over Text
Click Superscript
Use the keyboard shortcut Ctrl + . on Windows or Cmd + . on Mac
To turn superscript off, repeat the same steps or use the shortcut again
