software-techniques

How to Do Superscript on Keyboard: A Cross-Platform Guide

Superscript lets you raise characters above the baseline for exponents, citations, and trademarks. This guide shows how to produce superscript reliably across keyboards, operati...

Mara Ellison
How to Do Superscript on Keyboard: A Cross-Platform Guide

Superscript lets you raise characters above the baseline for exponents, citations, and trademarks. This guide shows how to produce superscript reliably across keyboards, operating systems, and apps. You’ll find key shortcuts, settings adjustments, and copy-paste utilities that work offline and in online editors. Steps are verified for consistency on standard US layouts; behavior may vary slightly on specialized or localized keyboards.

Keyboard Shortcuts by Platform

The most common method uses modifier keys with numbers on the main keypad. When a dedicated numeric keypad is unavailable, equivalent shortcuts often involve the top-row numbers combined with function keys.

Windows and Linux

On Windows and most Linux desktop environments, hold Alt and type the code on the numeric keypad, then release Alt. Set your Num Lock on, use the keypad numbers, and ensure the application accepts Unicode input.

  • Alt+0185 — ¹
  • Alt+0186 — ²
  • Alt+0179 — ³

macOS

On macOS, use the Option or Control keys with regular number keys. These shortcuts work in most text fields where the app supports rich text or Unicode input.

  • Option+6 — ⁶
  • Option+7 — ⁷
  • Option+8 — ⁸
  • Option+9 — ⁹
  • Option+0 — ⁰

iOS and iPadOS

On iPhone and iPad, switch to the numeric keyboard or tap the 123 key, then long-press a character to reveal stacked alternatives. This gesture shows superscript forms for common digits without changing the overall keyboard layout permanently.

  • Long-press 1 → ¹
  • Long-press 2 → ²
  • Long-press 3 → ³
  • Long-press 0 → ⁰

Shortcuts on Android Devices

Android keyboards vary by manufacturer. On Google’s Gboard, access symbols by tapping the ?123 or = key, then explore the numeric row or switch to the full symbol layout. Some apps support long-press on digits; others may require inserting superscript via a math symbol panel or third-party keyboard.

  • Switch to symbols layout (e.g., ?123 or #+=).
  • Tap the numeric row and select the digit, or use the symbol submenu that includes superscript style characters when available.

Desktop Keyboard Settings and Customization

If standard shortcuts do not work, check input language, keyboard layout, and system settings. On-screen keyboards and accessibility tools can also provide alternative input paths.

Windows Keyboard Settings

  • Control Panel > Keyboard: adjust repeat delay and rate to help with holding keys.
  • Settings > Time & Language > Language: verify the correct input language and keyboard layout.
  • Enable the on-screen keyboard for alternate input when physical keys are unresponsive.

macOS Keyboard Settings

  • System Settings > Keyboard: adjust key repeat and delay until repeat.
  • Input Sources: add extra layouts and use Keyboard Viewer to see active modifiers.

Copy-Paste and Character Map Tools

When shortcuts fail, use built-in character maps or virtual keyboards to insert pre-made superscript glyphs. Highlighted below are common digits with their Unicode code points and verified encodings.

Superscript Digit Unicode Code Point Shortcut (Windows, Num Lock On) Shortcut (macOS)
U+2070 Alt+8304 Option+P
¹ U+00B9 Alt+0185 Option+Shift+1
² U+00B2 Alt+0186 Option+Shift+2
³ U+00B3 Alt+0179 Option+Shift+3
U+2074 Alt+8308 Option+4
U+2075 Alt+8309 Option+5
U+2076 Alt+8310 Option+6
U+2077 Alt+8311 Option+7
U+2078 Alt+8312 Option+8
U+2079 Alt+8313 Option+9

Using Superscript in Common Applications

Some apps, such as word processors and browsers, support built-in formatting or equation editors to apply raised positioning without low-level codes.

Word Processors and Google Docs

Use the font or layout toolbar to switch to superscript style. In Google Docs, select Format > Text > Superscript. This stores formatting at the character level and is ideal for citations and mathematical expressions.

Web Forms and Markdown

Most web forms treat superscript characters as plain text. To express exponents in markdown or plain comments, use caret notation (e.g., x^2) if the renderer supports it, or insert a pre-made character. Note that not all platforms render HTML tags in rich text inputs.

Troubleshooting and Best Practices

When a shortcut does not produce the expected character, verify layout, language, and Num Lock status. Use on-screen keyboards and system input viewers to confirm the correct code. Avoid unofficial extensions or scripts that change keyboard behavior unless you trust the source.

Quick Consistency Checks

  • Confirm Num Lock is enabled on Windows when using keypad shortcuts.
  • Match keyboard layout to your operating system language settings.
  • Try the on-screen keyboard if physical keys produce unexpected results.
  • Use copy-paste for one-off symbols when learning the codes is not urgent.

Accessibility and Alternate Input Methods

On-screen keyboards, voice input, and predictive text tools can all insert superscript when physical shortcuts are not feasible. These alternatives are helpful for users with mobility constraints or when using a touch-only device.

Summary and Quick Reference

Mastering how to do superscript on keyboard comes down to knowing platform-specific modifier combinations and when to use character maps or in-app formatting. Keep the table of Unicode points and shortcuts handy, and you’ll be able to enter exponents, citations, and trademarks accurately in any editor.

FAQ

Reader questions

Why does Alt code not work on my Windows PC?

Alt codes require Num Lock on and a numeric keypad layout. If you’re using the top-row numbers, try Alt with the equivalent Unicode or switch to the on-screen keyboard that uses standard shortcuts.

Can I create a custom keyboard shortcut for superscript?

On many systems you can remap keys or create shortcuts in applications or with system-level tools, though exact steps vary by OS and keyboard type.

Are superscript characters supported in all fonts?

Most modern fonts include the common superscript digits and basic punctuation. Some older or narrow glyph sets may omit raised numbers, in which case a fallback font or copy-paste may be required.

What should I do if long-press does not show superscript on mobile?

Ensure you’re on the correct numeric layout and that no third-party keyboard is intercepting long-press behavior. Switching to the system default keyboard often reveals the stacked character options.

Related Reading

More pages in this topic cluster.

Touch Typing Finger Placement: A Practical Guide to Proper Hand and Finger Position

Effective touch typing begins with reliable finger placement and consistent hand posture. This guide explains where each finger rests, how to move efficiently across the keyboar...

Read next
Why you keep seeing pop up ads and how to stop them

If you keep seeing pop up ads, you are dealing with a combination of adware, misleading sites, aggressive marketing tools, and browser settings that quietly permit unwanted noti...

Read next
How to Undo Ctrl Z: A Practical Guide to Reversing Undo and Restoring Edits

Accidentally pressing Ctrl Z can erase important work, but knowing how to undo an undo and restore your changes is a core digital skill. This guide explains dependable methods a...

Read next