Subscript Generator
Turn numbers and supported letters into Unicode subscripts for formulas like H₂O and indices like x₁.
Try an example
Format characters
Click a character to cycle through its available formats in this order: subscript, superscript, then normal. Characters without either Unicode form stay unchanged.
Enter text to format individual characters.
Unicode Subscript Characters to Copy
Choose a character to copy it on its own. Unsupported characters stay unchanged when you convert text. Go to the Superscript Generator
Each tile shows the copyable character and its Unicode code point.
Numbers
Symbols
Lowercase letters
How to Type Subscript in a Chemical Formula
A subscript sits below the baseline. In H₂O, the ₂ gives the number of hydrogen atoms in one water molecule. In 2H₂O, the ordinary 2 in front is a coefficient that counts two whole molecules.
Enter a formula such as H2SO4 and choose Numbers to subscript when every digit is an atom count. For a balanced equation such as 2H₂ + O₂ → 2H₂O, click the individual atom counts once and keep the leading coefficients at their original height. Choose Copy result when the equation looks right.
Subscript Examples for Chemistry, Math, and Computing
Click a result to copy the whole expression. To recreate one in the generator, lower the characters in the Format column unless a step says to raise them.
| Use | Type | Format | Copy result |
|---|---|---|---|
| Water | H2O | 2 after H | |
| Carbon dioxide | CO2 | 2 after O | |
| Glucose | C6H12O6 | Every digit | |
| Calcium hydroxide | Ca(OH)2 | 2 after the closing parenthesis | |
| Formula with a coefficient | 2H2O | Second 2 | |
| Sulfate ion | SO42- | Lower 4. Raise 2 and the minus sign. | |
| Variable index | x12 | 1 and 2 | |
| Logarithm base | log2(8) | 2 only | |
| Binary number | 10102 | Final 2 | |
| Descriptive index | xmax | Final m, a, and x |
How to Write Subscripts and Ionic Charges Together
The ₄ in SO₄²⁻ indicates four oxygen atoms. The raised ²⁻ at the end gives the charge of the entire sulfate ion. These positions follow the conventions described in the IUPAC Green Book.
Type SO42-, click 4 once for subscript, then click 2 and the minus sign twice each for superscript.
For an ion with a charge of +1 or −1, write the sign as a superscript and omit the numeral 1. To make NH₄⁺, type NH4+, click 4 once, and click the plus sign twice. For more raised-notation examples, open the Superscript Generator.
Which Subscript Letters and Numbers Can You Copy?
The digits ₀₁₂₃₄₅₆₇₈₉ occupy U+2080 through U+2089. There are also subscript plus, minus, equals, and parentheses. Lowercase letter support is partial. The n in aₙ has a form, while b stays unchanged. Use the character table above to check a letter or copy one character directly.
The chart lists the forms TextBench converts. Unicode 18 also defines subscript w, y, and z at U+209D through U+209F. TextBench’s current conversion table uses Unicode 17 forms, so those letters stay unchanged. See the Unicode 18 character names list.
Subscript letters in Unicode were encoded for particular uses, including phonetic notation. If you need to lower a full label such as initial in a document, use the editor’s subscript formatting so all the letters can sit below the baseline. See the Unicode Consortium’s FAQ on superscripts and subscripts.
How to Type Subscript in Word, Google Docs, HTML, and Discord
Microsoft Word
Type H2O, select the 2, and choose Subscript on the Home tab. For several separate numbers, select and apply the formatting to each one in turn. See Microsoft’s formatting instructions.
Google Docs
Select the characters to lower. Press Ctrl + , on Windows or ChromeOS, or ⌘ + , on Mac. For equations where you need both a lower index and an upper exponent, use the document’s equation tools. See Google Docs keyboard shortcuts.
HTML
Write H<sub>2</sub>O in a web page. Use H₂O in an ordinary text field that accepts Unicode. For data entry or calculation, use the notation required by the destination. See the HTML Standard’s superscript and subscript elements.
Discord
Copy H₂O from the examples and paste it into the message composer. For a numbered variable, copy the result from the generator or select one digit from the character chart. Preview the pasted text if your formula uses uncommon characters.
Subscript FAQ
How do I copy the subscript 2 by itself?
Choose ₂ in the character chart. It copies one character, U+2082, which you can paste after a letter or symbol.
Why does clicking a letter sometimes skip subscript?
TextBench cycles through the forms it supports for that exact character. For example, b can be raised to ᵇ, so its button alternates between raised and normal. A space or emoji has no available form here and stays unchanged.
Why did a formula lose its subscripts after pasting?
A plain-text field can discard an editor’s formatting. Copying the Unicode H₂O keeps the lower digit as part of the text. If a system applies compatibility normalization, it can still turn H₂O into H2O. See the Unicode normalization specification.
Does a lowered digit mean the same thing in every formula?
Its role depends on the notation. The ₂ in CO₂ counts oxygen atoms, the ₂ in x₂ labels an indexed value, and the ₂ in 1010₂ specifies base two. Keep the letters, operators, and ordinary numbers around the subscript so the intended meaning stays clear.