Use the caret symbol: `x^2`
On Windows, type `Alt` codes only if supported by the app
On Mac, use the superscript shortcut if available in the app
In Microsoft Word, type `^` in equations or use the superscript button
In Google Docs, use `Format > Text > Superscript`
In HTML, use `2`
In LaTeX, use `x^{2}`
In plain text, use `^` to show exponents
Use the superscript formatting option in your editor if available
