Subscript Generator (Copy and Paste)
A subscript generator lowers numbers and letters using Unicode subscript characters such as ₂ (U+2082), so chemical formulas like H₂O and CO₂ and maths like xₙ paste correctly anywhere. Type below; the formula row lowers only the digits after letters, which is what chemistry needs.
Loading the generator. If nothing appears, JavaScript is turned off in this browser.
How to use the subscript generator
- Type a formula like C6H12O6, or use an underscore for maths: x_n.
- Use formula mode for chemistry; it keeps leading numbers (coefficients) full size.
- Tap Copy and wait for Copied!
- Paste into your notes, chat or document.
Formula mode for chemistry
In a chemical formula, numbers after an element are subscripts (H₂O has two hydrogen atoms) but a number in front is a coefficient and stays full size (2H₂O). Formula mode follows that rule: it lowers a digit only when it comes after a letter or a closing bracket, so 2H2O becomes 2H₂O, Ca(OH)2 becomes Ca(OH)₂, and C6H12O6 becomes C₆H₁₂O₆. Charges such as SO4 2- are written with superscripts, which the superscript generator handles.
Which subscript characters exist
Subscript digits ₀ to ₉ and the signs ₊ ₋ ₌ ₍ ₎ are in the Superscripts and Subscripts block (U+2080 to U+208E). Letters are a different story. For years Unicode had subscript forms for only 17 small letters: a, e, h, i, j, k, l, m, n, o, p, r, s, t, u, v and x. Unicode 18.0 (September 2026) added w, y and z, but fonts have not caught up, so this tool leaves them plain. There is still no subscript b, c, d, f, g or q, and no subscript capitals at all.
| Available | Characters |
|---|---|
| Digits | ₀ ₁ ₂ ₃ ₄ ₅ ₆ ₇ ₈ ₉ |
| Signs | ₊ ₋ ₌ ₍ ₎ |
| Letters | ₐ ₑ ₕ ᵢ ⱼ ₖ ₗ ₘ ₙ ₒ ₚ ᵣ ₛ ₜ ᵤ ᵥ ₓ |
| Missing | b c d f g q w y z, and every capital |
Those letters come from three blocks: most from Superscripts and Subscripts, ᵢ ᵣ ᵤ ᵥ from Phonetic Extensions, and ⱼ from Latin Extended-C. In the third row of the generator, letters without a subscript form stay full size, so a word like “subscript” cannot be fully lowered. For chemistry this rarely matters, because formulas only lower digits.
When to use real subscript formatting
In documents and slides, use the editor’s subscript: Ctrl+, (⌘+, on a Mac) in Google Docs, or the x₂ button on the Home tab in Word. Real formatting can lower any character, including the missing letters. Unicode subscript is for plain-text places: chat messages, social posts, filenames, spreadsheet labels, forms and code comments. Scientists also use it in plain-text email so formulas survive forwarding.
Common formulas, ready to copy
| Name | Formula |
|---|---|
| Water | H₂O |
| Carbon dioxide | CO₂ |
| Oxygen | O₂ |
| Methane | CH₄ |
| Glucose | C₆H₁₂O₆ |
| Sulfuric acid | H₂SO₄ |
| Sodium carbonate | Na₂CO₃ |
| Ammonia | NH₃ |
Common problems and fixes
| Problem | Why it happens | Fix |
|---|---|---|
| A letter will not go down | It has no subscript form (b c d f g q w y z) | Use real subscript formatting in a document |
| The coefficient was lowered | It followed a letter or bracket | Add a space or plus sign before it: 2 H2O |
| Uneven sizes | Subscript letters come from three blocks | Prefer digits, which are uniform |
| Search does not find H₂O | ₂ is a different character from 2 | Include the plain version too: H2O |
Subscript for maths and computing
In maths, subscripts index a sequence (x₁, x₂, xₙ) or name a base (log₂, 1010₂ for a binary number). Type x_1 or log_2 and use maths mode; for longer subscripts use braces: x_{12} becomes x₁₂. Programmers sometimes use Unicode subscripts in comments and documentation, but not in code itself, where most languages only accept plain digits in names and numbers.
Typing subscripts without a generator
On a Mac, press Control+⌘+Space to open the Character Viewer and search for “subscript”. On Windows 10 and 11, press Windows key+. to open the emoji panel, then go to the symbols tab. Both work, but searching for each character is slow, which is why copying from a generator is quicker for anything longer than one digit.
Where subscript text works, and where it breaks
| Where you paste it | What to expect |
|---|---|
| Chats, email, social posts | Digits display reliably; letters vary in size because they come from different blocks. |
| Spreadsheets | Displays as text; formulas cannot use the subscript digits as numbers. |
| Search | H₂O will not match H2O in most search boxes. |
| Missing letters | b c d f g q w y z stay full size because Unicode has no subscript version. |
Accessibility. Subscript text borrows letters from other alphabets and symbol sets that only look like English letters. A screen reader reads what the characters are, not what they look like, and search will not match them. Keep it to names and short decorations. See are fancy fonts accessible.
If you see empty boxes instead of letters, read why fancy text shows as squares. If one letter refuses to change, why some letters are missing in fancy fonts explains which gaps are in Unicode itself. For the basics, see how font generators work.
Related text styles
- Superscript generator: raised x² text
- Small text generator: tiny letters
- Number fonts: styled digits
- Monospace text: fixed-width letters
- All font styles in the font generator
Sources
Frequently asked questions
How do I type H2O with a small 2?
Type H2O in the box above and copy the formula row: H₂O. In Google Docs you can also select the 2 and press Ctrl+, (⌘+, on a Mac).
Why can't I make every letter subscript?
Unicode only has subscript forms for a, e, h, i, j, k, l, m, n, o, p, r, s, t, u, v and x. The other nine small letters and all capitals have none.
What is the code for subscript 2?
₂ is U+2082, SUBSCRIPT TWO. The subscript digits run from ₀ (U+2080) to ₉ (U+2089).
Does formula mode handle coefficients?
Yes. A number at the start of a formula, or after a space or plus sign, stays full size, so 2H2O becomes 2H₂O.
Can I use subscript in Instagram or TikTok?
Yes, the characters paste like any text. Digits are the most reliable; some subscript letters may look uneven.
How do I write log base 2?
Type log_2 and copy the maths row: log₂. The same works for any digit.
Can I use subscript on a phone?
Yes. Copy it from this page on your phone and paste it into any app.