Superscript Writer

Maps digits, most lowercase letters, and the symbols +, -, =, (, ) to their real Unicode superscript code points, for footnote-style or exponent-style text that works in plain-text contexts without any special formatting. A free online tool from Staaarter, right in your browser.

Runs locallyUpdated 2026-07-23

Overview

Introduction

Writing an exponent or footnote marker in plain text, somewhere HTML's <sup> tag isn't available, normally means giving up and just typing a caret or a plain number.

Unicode actually defines real superscript code points for many characters, so genuine superscript text is possible without any markup at all.

What Is Superscript Writer?

A converter that maps digits, most lowercase letters, and the symbols +, -, =, (, ) to their real Unicode superscript code points.

It runs entirely client-side as part of this site's String Tools collection, so nothing you paste is ever uploaded to a server.

How Superscript Writer Works

The tool looks up each character in a table of known Unicode superscript code points, drawn from the Superscripts and Subscripts block plus a handful of legacy Latin-1 and Phonetic Extensions characters, and substitutes it when a mapping exists.

The transformation happens synchronously in JavaScript the moment you type, with no network round trip involved.

When To Use Superscript Writer

Use it for a plain-text exponent (like x²), a footnote-style marker, or a stylized superscript effect in a caption or chat message.

It's a fast way to get correct superscript characters without memorizing obscure Unicode code points.

Often used alongside Subscript Writer and Tiny Text Generator.

Features

Advantages

  • Produces real Unicode characters that work in plain text, not just inside HTML.
  • Covers digits, most lowercase letters, and common math symbols in one tool.
  • Covers nearly the whole lowercase alphabet as well as the digits, so footnote markers and simple algebraic expressions both work.

Limitations

  • Not every character has a real Unicode superscript equivalent; "q" and all uppercase letters pass through unchanged since Unicode simply doesn't define them.
  • These are novelty look-alike characters, not real formatting, so they render differently depending on the reader's font and platform, and screen readers may not read them correctly, making this best for informal captions rather than accessible body text.

Examples

Writing an exponent

Input

x2 + y3

Output

ˣ² ⁺ ʸ³

Digits and the letters x and y map to their Unicode superscript equivalents, and + maps to its superscript symbol too.

Best Practices & Notes

Best Practices

  • Use it for short exponent-style expressions rather than full sentences, since readability drops quickly with superscript text.
  • Check the result in your target platform's font, since superscript coverage varies.
  • Keep superscript text to short markers and exponents, since the reduced glyph size makes longer runs hard to read at normal body size.

Developer Notes

The lookup table is a single flat `Record<string, number>` covering lowercase a-z (except q), digits 0-9, and the symbols +, -, =, (, ); digits 1-3 intentionally point at the legacy Latin-1 superscript code points (U+00B9, U+00B2, U+00B3) rather than the Superscripts and Subscripts block, since that's where Unicode actually assigned them.

Superscript Writer Use Cases

  • Writing a plain-text exponent like x²
  • Adding a footnote-style marker in a chat message
  • Styling a caption with a superscript effect

Common Mistakes

  • Expecting a superscript "q" to exist; Unicode has no such character.
  • Expecting uppercase letters to convert; this tool intentionally only maps lowercase letters.

Tips

  • Combine with the Subscript Writer tool to write chemical-formula-style text with both super- and subscript characters.
  • Lowercase q has no Unicode superscript form and passes through unchanged, which is the one gap worth watching for in algebraic text.

References

Frequently Asked Questions