⬆️ Superscript Text Converter

📐 工作原理與說明
五種模式:auto-digits 自動識別數字段轉上 / 下標;auto-all 全量轉換上下標;super-all / sub-all 僅單向全量;sub-digits 僅數字轉下標;基於 Unicode 上下標字元對映表逐字元替換

Convert selected text into superscript and produce copyable Unicode or HTML superscript code for chemical formulas, footnotes and mathematical notation.

💡 自動將數字轉為上標/下標 Unicode 字元。也可手動選擇轉換模式。

📋 轉換結果

請輸入文本...

📚 深度解析:上標文字生成器

💡 常見使用場景

  • 化學式與數學公式展示:把指數、階碼轉為上標形態(如 x²、CO₂ 的 2 用上標)。
  • 腳註與修訂標記:在正文標註上標序號,對應文末注。
  • 單位與版本號:如 m²、v2 的輕量展示。
生成 x 的平方
輸入「x2」,上標模式輸出「x²」;也可用上標數字區塊直接展示,適合化學式 H₂O、面積 m² 等無需公式環境的場景。

❓ 常見問題(FAQ)

上標和普通小字區別?
上標用專用 Unicode 上標碼位(² ¹ ⁿ),排版位置更高且不被當作普通數字參與計算;普通縮小的字只是視覺變小。
所有數字都有上標嗎?
Unicode 上標有 ⁰¹²³⁴⁵⁶⁷⁸⁹ 及 ⁺⁻⁼⁽⁾ⁿ,連續多位可直接拼接;無對應碼位的符號需藉助富文本/HTML <sup>。

Formula & Standard References

Item Formula / Note Source / Standard
Character block superscript characters sit in the superscripts and subscripts block Unicode Superscripts and Subscripts, U+2070
Incomplete coverage the block lacks many Latin letters so absent glyphs need markup instead Unicode UAX #15, normalisation forms
Semantic difference superscript characters are separate code points and differ from styled base letters W3C CSS Text Level 3, vertical position
⚠️ 使用說明與注意事項