Subscript generator
Type text or a chemical formula and copy the subscript version. It works in chats, forms and slides that have no format button.
Numbers after an element go down: H2O becomes H₂O. A number in front stays full size: 2H2O. A charge goes up. End with + or − (NH4+), or put a space or ^ before it (SO4 2-, Fe^3+).
A number right after a letter goes down: x1 becomes x₁. Use an underscore for more, like a_n or x_(i+1). A ^ raises the index instead: x_1^2.
Each small character goes right after the letter in the same place. A space skips one letter. Only numbers, + - = ( ) and the letters a e ə h i j k l m n o p r s t u v x work.
Letter by letter
Tap the result to copy it. The keys type into the box. Underlined characters have no subscript version, so they stay plain. Your text stays in this browser.
Raised and tiny letters
Need the letters up high, or just smaller? Each card links to the tool that makes it.

Last checked by the TextEditor.com team
What is subscript?
Subscript is small text set a little below the line. Chemistry uses it for the number of atoms, as in H₂O. Math uses it to tell values apart: x₁ is the first x, x₂ the second.
H and O stand on the baseline. The 2 is smaller and drops below it.
Typesetters have their own names for these. A small lowered figure is an "inferior", and a raised one is a "superior". Design programs like Adobe InDesign still use the two words in their font menus (more in subscript and superscript on Wikipedia).
How to write chemical formulas with subscript
In a formula, the small number after an element tells you how many atoms of it are in one molecule. H₂O has two hydrogen atoms and one oxygen atom. No number means one.
A charge goes above the line instead: SO₄²⁻ is a sulfate ion with a charge of minus two. A number in front of the whole formula counts molecules, so 2H₂O means two water molecules, and that 2 stays full size.
Subscript C₆H₁₂O₆
One molecule has 6 carbon, 12 hydrogen and 6 oxygen atoms.
Which subscript letters exist in Unicode?
Only about two thirds of the alphabet. The letters came in batches as people asked for them. Subscript a, e, o and x arrived in 2005. Unicode 6.0 added h, k, l, m, n, p, s and t in 2010. The i, r, u and v are older phonetic letters from 2003, and j came in 2008.
Phonetic Extensions Superscripts and Subscripts Latin Extended blocks Not in Unicode
Tap a letter to copy it. Dashed boxes have no subscript at all. Boxes with a year are new and missing from most fonts.
The newest are w, y and z, added in Unicode 18.0 in September 2026. Until fonts catch up, most devices show them as empty boxes, so the generator keeps them plain unless you tick "Newer letters". There is still no subscript b, c, d, f, g or q.
How to type subscript in Word, Google Docs, Excel and HTML
A program's own subscript format works for every letter, and the text still counts as normal letters for search and spell check. Unicode subscript is the fallback for places that have no such format.
| Where | How |
|---|---|
| Microsoft Word | Ctrl + = or Cmd + =, then type. Press it again to go back to normal text. |
| Google Docs | Ctrl + , or Cmd + ,, the comma key. |
| Excel | Double click the cell and select the characters. Press Ctrl + 1 or Cmd + 1 and tick Subscript. This works for typed text, not for the result of a formula. |
| Google Sheets | No subscript format. Paste Unicode subscript from this page instead. |
| HTML | H<sub>2</sub>O shows H2O. Try the sub tag in our HTML editor. |
| LaTeX | $x_1$ or $x_{i+1}$ in math mode. The Math index mode above reads the same underscores. |
Does subscript show on every phone and app?
Subscript digits were in the very first version of Unicode in 1991, so they show almost everywhere. Letters are less safe. They come from three different blocks, and a font may draw ᵢ ᵣ ᵤ ᵥ a bit higher or larger than ₐ ₑ ₒ, which makes a word look bumpy.
₀₁₂₃₄₅₆₇₈₉ ₊₋₌₍₎ ᵢᵣᵤᵥ ᵦᵧᵨᵩᵪ ₐₑₒₓₔ ⱼ ₕₖₗₘₙₚₛₜ
The groups follow the order the letters were added. The last three are w, y and z from 2026.
Pasting into a spreadsheet works, because these are normal text characters. But the sheet does not read ₂ as the number 2, so you can't do math with it. A search for "H2O" also won't find "H₂O", so keep a plain copy where people need to find it.
Frequently asked questions
How do I type subscript on a keyboard?
There is no subscript key. In Word, press Ctrl+= and type. In Google Docs, press Ctrl+, (the comma key). On a Mac, use Cmd instead of Ctrl. Anywhere else, type here and copy.
How do I write H2O with a small 2 in a chat?
Pick Chemistry above, type H2O and tap the result to copy H₂O. Then paste it into the chat. It stays small because ₂ is its own character.
Why are some letters missing from subscript?
Unicode added subscript letters only when there was a real need, mostly for phonetics and math. Nobody made a case for b, c, d, f, g or q, so those don't exist. The generator leaves them plain and underlines them. The small text generator fills the gaps from other small styles.
How do I make subscript in Google Docs or Word?
Select the text and press Ctrl+, in Google Docs or Ctrl+= in Word (Cmd on a Mac). You can also use the Format menu: Text, then Subscript in Docs, or the x₂ button in Word.
Can I use subscript in Excel?
Yes, for typed text. Double click the cell, select the characters, press Ctrl+1 and tick Subscript. A cell that holds a formula can't be formatted in part, so paste a Unicode subscript like ₂ into the formula instead.
What is the difference between subscript and superscript?
Subscript sits below the line (H₂O), superscript sits above it (x²). For raised text and tiny text, use the superscript generator.
How do I write subscript in HTML or LaTeX?
In HTML, use the sub tag: H<sub>2</sub>O. In LaTeX math mode, use an underscore: $x_1$, with braces for more than one character: $x_{10}$.
Will subscript text paste correctly into a spreadsheet?
It pastes as text and looks right. The cell will not count ₁₂ as a number, though. Use it for labels like CO₂, not for numbers you want to add up.
Related tools
- Case converterPaste text and change it to UPPERCASE, lowercase, Sentence case or Title Case in one click.
- Symbol alphabetsSee your text in five symbol alphabets at once: Morse code, Braille, NATO words, flag semaphore and ASL letters.
- Unicode keyboardClick to type fancy, accented and special letters from 50 Unicode alphabets.
- Font converterSee which Unicode block each letter style comes from: math letters, small caps, Cyrillic or Greek look alikes.
- ASCII tableAll 128 ASCII codes with decimal, hex, octal, binary and HTML values.
- MathCopy math symbols by topic: operators, comparison, sets, logic, Greek letters and more.