Use ₂ or H<sub>2</sub>O when you need a clean subscript 2 in web content. For example, write H<sub>2</sub>O for water, or paste ₂ when you need plain text. The best choice depends on where the character will appear.
TLDR: The subscript 2 character is ₂. Its Unicode value is U+2082, and its HTML code is ₂. If you publish 100 science posts, using <sub> for formulas like CO<sub>2</sub> can save editing time and improve readability. A student writing “H₂O” in a blog title can simply paste ₂, while a web editor should use <sub>2</sub> inside article text.
What Is Subscript 2?
Subscript 2 is the tiny 2 that sits below the normal text line. It looks like this: ₂. You see it in formulas, math, chemistry, and science content.
Common examples include:
- H₂O for water
- CO₂ for carbon dioxide
- O₂ for oxygen gas
- x₂ for a math variable
It may be small, but it matters. H2O looks casual. H₂O looks correct. Tiny character, big mood.
The Fast Answer: Subscript 2 Alt Code
On many Windows apps, you can try this:
- Turn on Num Lock.
- Hold the Alt key.
- Type 8322 on the numeric keypad.
- Release Alt.
You should get ₂.
Honestly, it feels like Windows makes this harder than it should be. On some apps, Alt + 8322 works right away. On others, it just refuses to play nice. Expect to waste 15 seconds testing it the first time.
If it fails, do not panic. Use one of the web-safe methods below. They are often better anyway.
Best Ways to Add Subscript 2 in Web Content
There are three good ways to add subscript 2 to a page. Pick the one that fits your job.
1. Use the HTML <sub> Tag
This is the cleanest method for normal web articles.
Example:
H<sub>2</sub>O
This displays as:
H2O
Use this when the subscript is part of a formula or label. It tells browsers, screen readers, and search systems that the 2 is meant to be lower than the rest of the text.
Best for:
- Blog posts
- Product pages
- Science articles
- Education pages
- CMS editors with HTML mode
2. Use the HTML Entity
The HTML number code for subscript 2 is:
₂
You can write:
H₂O
That displays as:
H₂O
This is handy in titles, snippets, database fields, and places where HTML tags may not be allowed.
Best for:
- Meta titles
- Short labels
- Plain text fields that accept entities
- Templates
3. Copy and Paste the Character
Here it is:
₂
Yes, you can just copy it. No shame. Copying one symbol is often faster than fighting an editor that hides its special character menu under four mystery buttons.
Best for:
- Social posts
- Email subject lines
- Chat messages
- Document titles
Subscript 2 Cheat Sheet
| Method | Use This | Result |
|---|---|---|
| HTML tag | H<sub>2</sub>O |
H2O |
| HTML entity | H₂O |
H₂O |
| Unicode | U+2082 |
₂ |
| Windows Alt code | Alt + 8322 |
₂ |
| Word shortcut | 2082, then Alt + X |
₂ |
When Should You Use <sub> Instead of ₂?
Use <sub> when you control the HTML. It is the most meaningful option.
For example:
CO<sub>2</sub> emissions
This is better than typing CO₂ emissions in many body paragraphs because the markup explains the structure. The browser knows the 2 is subscript text.
Use the plain character ₂ when you cannot use tags. This often happens in:
- Page titles
- Image alt text
- Social media bios
- Search result titles
- Spreadsheet cells
Small rule: If HTML is allowed, use <sub>. If not, use ₂.
How to Add Subscript 2 on Windows
Try the Alt code first:
- Click where the symbol should go.
- Turn on Num Lock.
- Hold Alt.
- Type 8322 on the number pad.
- Release Alt.
If that fails, use Character Map:
- Open Character Map.
- Search for subscript two, or look near Unicode 2082.
- Select ₂.
- Copy it.
- Paste it where needed.
How to Add Subscript 2 on Mac
Mac users can copy ₂ directly, or use the Character Viewer.
- Press Control + Command + Space.
- Search for subscript.
- Pick ₂.
Some writing apps also support formatting. Select the 2, then choose a subscript option from the format menu. This changes the style, not the actual character.
Do Special Characters Work in SEO?
Yes, but be careful. Google can read characters like ₂. So can most modern browsers. A title like CO₂ Levels Explained is usually fine.
Still, do not stuff symbols everywhere. Search snippets should be clear. Users should not need a decoder ring.
A simple test helps. Ask this: Does the symbol make the text clearer? If yes, use it. If it only looks fancy, skip it.
Common Mistakes That Break Subscript Symbols
Here are the usual gremlins:
- Using normal 2 instead of ₂: H2O is readable, but not polished.
- Pasting from rich text: Some editors add weird styling.
- Using
<sub>in fields that strip HTML: The tag may vanish. - Forgetting mobile: Check the page on a phone.
- Mixing styles: Do not use H₂O in one paragraph and H2O in the next without a reason.
More Useful Subscript Codes
If you need subscript 2, you may need the rest too. Here are the common ones:
- ₀ =
₀ - ₁ =
₁ - ₂ =
₂ - ₃ =
₃ - ₄ =
₄ - ₅ =
₅ - ₆ =
₆ - ₇ =
₇ - ₈ =
₈ - ₉ =
₉
Quick Final Tip
For web content, use <sub> for real formulas and ₂ for short plain text spots. Use ₂ when you need a safe HTML entity. Keep it simple. Your readers came for the answer, not a symbol scavenger hunt.
