Subscript Generator

Subscript Generator

H2O → H₂O

Convert text into subscript instantly for chemistry, math, and general use. Works with any numbers and letters.

Copied!
x₁ SubscriptLab Subscript Generator
Input
0 chars
Output
Your subscript text appears here…
Live · Unicode ready
Quick Examples — click to try
H2O H₂O
CO2 CO₂
Na2SO4 Na₂SO₄
Ca(OH)2 Ca(OH)₂
x1 + x2x₁ + x₂
H2SO4 H₂SO₄
C6H12O6 C₆H₁₂O₆
Features

Built for Precision

Everything you need to format scientific, chemical, and mathematical notation accurately.

Instant Conversion

Live output as you type — no button press needed.

Multi-line Support

Paste entire blocks of text with multiple formulas at once.

Chemistry & Math

Optimized for chemical formulas and algebraic notation.

Copy-Ready Output

Unicode or HTML — paste into any app, doc, or website.

How It Works

Three Simple Steps

Enter Text

Type or paste your text — a chemical formula, equation, or any notation with numbers.

View Formatted Result

See the subscript output instantly in Unicode or HTML format.

Copy & Use Anywhere

Hit copy and paste it into Word, Google Docs, email, or any platform.

FAQ

Common Questions

Subscript text sits slightly below the normal text baseline and appears smaller — like the “2” in H₂O or “4” in SO₄. It’s the standard notation in chemistry for element counts in molecular formulas, and in mathematics for variable indexing (x₁, x₂, xₙ).

Most platforms don’t have a native subscript key. SubscriptLab solves this by converting regular numbers (0–9) into their Unicode subscript equivalents (₀–₉). These characters work in any text field, including social media, messaging apps, and most word processors — just paste.

Unicode subscript works in: Google Docs, Microsoft Word, WhatsApp, Telegram, Twitter/X, Instagram bios, Slack, email clients, Notion, and most modern apps. The HTML output is ideal for websites, blogs, and CMS platforms.

Yes. The tool automatically converts digits that follow letters into subscript — exactly how chemical formulas work. Multi-digit subscripts like ₁₂ in C₆H₁₂O₆ are handled correctly. Operators like +, −, =, parentheses, and spaces are preserved as-is.

What Is Subscript & Why Does It Matter?

Subscript notation is a typographic convention where characters appear slightly below the text baseline, at a reduced size. It is essential in chemistry for writing molecular formulas — H₂O (water), CO₂ (carbon dioxide), C₆H₁₂O₆ (glucose) — where the subscript number indicates how many atoms of each element are present in a molecule.

In mathematics and algebra, subscripts denote variable indices: x₁, x₂, xₙ are standard notation for sequences, matrices, and indexed variables. Scientists, students, teachers, and technical writers use subscript daily.

The challenge is that most keyboards and text fields don’t have a dedicated subscript key. SubscriptLab solves this instantly by converting standard digits into Unicode subscript characters — characters that render correctly in virtually any app, platform, or device, without needing special software or plugins.