ForHosting KIT · Text & AI

Superscript generator

Type Hello and copy ᴴᵉˡˡᵒ: every letter, digit and math sign with an official superscript form is raised, and the rest stays as typed. Small q and capitals S, X, Y and Z have no such form, so they stay ordinary. Free in your browser.

  • Free
  • Runs in your browser
  • No sign-up
  • Your data stays on your device
Use it from WebAPIEmailTelegramApp soon
If you enter
Text
Hello
You get
Result
ᴴᵉˡˡᵒ
Mapped count
5
Passthrough count
0
Unmapped count
0

A superscript generator turns ordinary letters, digits, and a handful of math signs into the Unicode characters that sit above the baseline — the same raised glyphs people use for exponents, footnotes, ordinal-looking labels, and tiny decorative text. Unlike a word-processor superscript command, which is only a formatting bit that vanishes when you paste into a chat box or a plain-text field, these code points travel as real characters. Paste them into a tweet, a Discord name, a README exponent, or a chemistry formula and they stay raised on any device that ships a modern Unicode font. This capability maps each input character to its official superscript equivalent when Unicode defines one, and leaves everything else unchanged so mixed phrases never lose punctuation, spaces, or emoji.

How Unicode superscript character mapping works

Unicode superscript characters are real code points, not a font effect, not CSS vertical-align, and not an image. The Superscripts and Subscripts block from U+2070 through U+209F holds most of the raised digits and a few operators, except that superscript one, two, and three live in Latin-1 Supplement as U+00B9, U+00B2, and U+00B3 — a historical split every correct converter must honor or the digits 1, 2, and 3 will stay ordinary while 0 and 4 through 9 rise.

Spacing Modifier Letters and Phonetic Extensions supply most Latin small letters such as modifier small a, b, and c, plus several capitals such as modifier capital A, B, and D. A few extra capitals live in Latin Extended-D (modifier capital C, F, and Q) and Latin Extended-C (modifier capital V). Letters that Unicode never encoded as superscripts — notably small q and capitals S, X, Y, and Z — stay as ordinary characters so the result remains honest rather than substituting look-alikes from Canadian Aboriginal Syllabics or other unrelated blocks.

The algorithm walks the input by Unicode scalar value with codePointAt so surrogate pairs never split, replaces each character that has a documented superscript equivalent, and copies the rest unchanged. Spaces, tabs, and newlines pass through as ordinary whitespace. Plus, minus, equals, and parentheses map to their dedicated superscript operators.

Punctuation without a superscript form, emoji, and already-raised glyphs stay in the output and are listed once in an unmapped array when they are not whitespace. Because the style is pure Unicode, the result pastes into chats, documents, and form fields that accept general text without installing a special font file.

Where a superscript generator earns its keep

Writers who need an exponent in a plain-text channel — a tweet, a commit message, a Discord bio, or a product title that forbids markup — reach for Unicode superscripts because they copy as ordinary characters and still render raised on phones and desktops. Science and math notes use the same glyphs for powers such as x squared and cubic units without embedding MathML or an image.

Content sites ranking for superscript generator benefit from a dedicated landing and live tool instead of burying the feature under a generic code-point explorer, because search intent is about producing raised text, not browsing hexadecimal tables. Support desks paste fancy captions from tickets and need unmapped reporting when a user mixed characters that Unicode never encoded as superscripts, such as small q or capital S. Profile editors can offer a one-click raised preview without shipping a custom font file or a canvas renderer.

Keep requests under the documented length cap, pin the result string in tests, and you get reproducible raised text for homework snippets, LMS plugins, and edge workers without standing up a typesetting stack of your own. If you need subscripts, circled bubble letters, cursive mathematical script, or bold italic alphabets, treat those as separate search intents and landings rather than overloading this superscript page.

Plain-text exponents and formulas

Turn x2, m3, or a short identity into Unicode superscript so tweets, commit messages, and READMEs show raised powers without MathML or images.

Tiny raised labels and bios

Generate decorative superscript names and campaign labels that paste into Discord, social captions, and product titles as ordinary characters.

How does the superscript generator work?

Send a non-empty string in text. Each character with an official Unicode superscript form is replaced; spaces stay as spaces; letters and signs without a superscript stay in the result and are listed under unmapped when present.

Which characters convert to Unicode superscript?

Digits 0–9, most Latin small letters (not q), most Latin capitals (not S, X, Y, or Z), and the operators plus, minus, equals, and parentheses. Mapping follows the Unicode superscript and modifier-letter tables, not look-alike hacks.

What happens to letters without a superscript form?

They remain ordinary in result. Distinct leftovers such as small q appear once each in the unmapped array (omitted when every character mapped or was whitespace) so you can warn or clean them.

Why is this better than a word-processor superscript command?

Word-processor superscript is formatting that disappears in plain text. Unicode superscripts are real characters, so they stay raised when pasted into chats, bios, titles, and source comments.

Will superscript text show up on any phone or computer?

On any device with a modern Unicode font, yes. The raised characters are real characters, not formatting, so they stay raised when pasted into a post, a chat name or a plain-text document.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/str/superscript-generator

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/str/superscript-generator \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text":"Hello"}'
{
  "text": "Hello"
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "str.superscript_generator",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

max_chars65536
HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

Empty strings and values that are not strings fail with invalid_input instead of inventing a result.

How Unicode superscript character mapping works

Length is capped at a documented maximum of scalar values so a runaway paste cannot exhaust a Worker isolate.

Input contract, response fields, and error behaviour

An empty string fails with a message that names the field. Strings longer than the documented maximum of sixty-five thousand five hundred thirty-six Unicode scalar values also fail, so a bulk paste cannot stall the isolate. When at least one unmapped character exists, the response includes an unmapped array of those unique characters in first-seen order; when every character mapped or passed through cleanly, that field is omitted rather than set to null. A typical check is encoding Hello to its five raised letters, or encoding a formula fragment such as x2 plus y3 to a mixed string where letters, digits, and the plus sign rise while spaces stay ordinary. Characters such as small q remain visible in result and appear under unmapped so callers can warn users instead of inventing a fake glyph. POST a JSON object with a required non-empty string field named text. Aliases such as input, value, data, and s are accepted so scripts and form posts that use a generic field name still work. The value must be a string: numbers, booleans, arrays, and objects fail with invalid_input rather than being coerced, matching the contract that this is a text transform and not a silent type cast. On success the body echoes the original text, returns result as the superscript string, reports mapped_count for characters that changed, passthrough_count for whitespace that stayed put, unmapped_count for distinct leftover symbols, and length as the scalar count of the result. Successful API calls bill the published base of $0.002 per item. Validation failures do not consume prepaid balance.

CI fixtures for styled text pipelines

Produce deterministic original-to-superscript goldens so profile editors and content pipelines never disagree on which letters actually rise.

What does the superscript generator cost?

The browser tool is free. API requests use prepaid KIT balance at $0.002 per successful call; invalid input is not billed.

Read the full KIT documentation →