Subscript & Superscript Text
Free online subscript & superscript text. Process data instantly in your browser. No upload, no signup, fully private.
How to Use
- Paste or type your text into the Subscript & Superscript Text input area above.
- Configure any format or mode options to generate the result in real time.
- Click Copy to copy the result to your clipboard or Download to save it as a file.
What is Subscript & Superscript Text?
Subscript & Superscript Text converts supported ASCII letters, digits, and math operators into Unicode subscript (`ₓ`) or superscript (`ˣ`) characters that paste into plain-text platforms without HTML `<sub>`/`<sup>` tags. Chemists, mathematicians, and technical writers use it for formulas like `H₂O`, `CO₂`, `x²`, and footnotes in chat or social posts.
How It Works
Selecting Subscript or Superscript routes your text through `convertSubscript()` or `convertSuperscript()` locally in the browser. Each character is looked up in dedicated Unicode code-point tables (`SUBSCRIPT_MAP` covering digits `0–9`, `+ - = ( )`, and 12 lowercase letters `a,e,o,x,h,k,l,m,n,p,s,t`; `SUPERSCRIPT_MAP` covering `0–9`, `+ - = ( )`, `i`, and `n`), leaving unsupported letters unchanged.
Common Use Cases
- Chemical formulas in plain text — format `H2O` or `CO2` into `H₂O` and `CO₂` for Slack, docs, or social captions
- Math exponents and powers — convert `x2 + y3` or footnotes (`note1`) using superscript characters (`¹²³ⁿ`)
- Plain-text markdown titles — embed compact indices (`a0`, `xn`, `i+1`) inside spreadsheet headers or plain-text READMEs
- Downloadable character snippets — save converted subscript or superscript output directly to `subscript-text.txt` or `superscript-text.txt`
Technical Details
Execution: browser-local lookup via `convertSubscript` (`U+2080–U+209C` subset) and `convertSuperscript` (`U+00B9/B2/B3`, `U+2070–U+207F` subset). Unmapped characters pass through unchanged; includes Copy, dynamic `.txt` Download, and Reset.
FAQ
Is this Subscript & Superscript Text free?
Yes, completely free. No signup required.
Does this tool upload my data?
No. All processing happens locally in your browser. Your data never leaves your device.