U+2082
Subscript two₂
Subscript two is a monochrome text character from the Unicode Superscripts and Subscripts block, listed here under Numbers. Copy it with one click, or use the hex, octal, decimal and HTML entity codes below to embed it in web pages, code, and documents. It is often searched for as "number", "2", "index".
Quick facts
- Unicode
- U+2082
- Decimal
- 8322
- Hex
- 0x2082
- Octal
- 0o20202
Unicode identity
| Format | Value | Copy |
|---|---|---|
| Code pointOfficial Unicode notation | U+2082 | |
| Official nameUnicodeData.txt, Unicode 18.0.0 | SUBSCRIPT TWO | |
| Unicode 1.0 nameLegacy alias | SUBSCRIPT DIGIT TWO | |
| DecimalBase 10 | 8322 | |
| HexadecimalBase 16 | 0x2082 | |
| OctalBase 8 | 0o20202 | |
| BinaryBase 2 | 0010000010000010 | |
| General categoryNumber, other | No | |
| Unicode blockU+2070–U+209F | Superscripts and Subscripts | |
| Plane | Basic Multilingual Plane (BMP, Plane 0) |
HTML & CSS
| Format | Value | Copy |
|---|---|---|
| HTML entity (decimal) | ₂ | |
| HTML entity (hex) | ₂ | |
| CSS content escapeUse inside content: "…" | \2082 | |
| URL encodedPercent-encoded UTF-8 | %E2%82%82 |
Programming languages
| Format | Value | Copy |
|---|---|---|
| JavaScript / TypeScript | \u2082 | |
| JSONUTF-16 surrogate pairs | \u2082 | |
| Python | \u2082 | |
| Java / C# / Kotlin | \u2082 |
Byte encodings
| Format | Value | Copy |
|---|---|---|
| UTF-83 bytes | E2 82 82 | |
| UTF-16 (BE) | 2082 | |
| UTF-32 (BE) | 00002082 |
How to type Subscript two
Windows
Hold Alt and type +2082 with the hex numeric keypad option enabled, or type 2082 then press Alt+X in Word and most Office apps.
macOS
Enable the Unicode Hex Input keyboard, hold Option, and type 2082. Or open Character Viewer (Control+Command+Space) and search "Subscript two".
Linux
Press Ctrl+Shift+U, type 2082, then press Space or Enter in GTK apps. IBus and most terminals support the same sequence.
HTML, CSS & code
Paste the character directly, or use the escapes above: ₂ in HTML, \2082 in CSS, and \u2082 in JavaScript.
Official Unicode reference
- Character name
- SUBSCRIPT TWO
- Unicode 1.0 name
- SUBSCRIPT DIGIT TWO
- Block
- Superscripts and Subscripts (U+2070–U+209F)
- General category
- No — Number, other
Data from the Unicode Character Database, version 18.0.0. See the official code chart for the Superscripts and Subscripts block: U2070.pdf (PDF, unicode.org).
Frequently asked questions
How do I copy the Subscript two symbol?
Click the Copy button at the top of this page, or select ₂ and press Ctrl+C (Cmd+C on Mac). It is plain Unicode text, so it pastes into documents, chats, code, and design tools.
What is the Unicode code point for Subscript two?
Subscript two is U+2082 (decimal 8322, hexadecimal 0x2082, octal 0o20202). It lives in the Superscripts and Subscripts block (U+2070–U+209F) of the Basic Multilingual Plane (BMP, Plane 0).
What is the official Unicode name of Subscript two?
The Unicode Standard (version 18.0.0) names this character "SUBSCRIPT TWO"; its Unicode 1.0 name was "SUBSCRIPT DIGIT TWO". Its General_Category is No (Number, other).
What is the HTML code for Subscript two?
Use ₂ or ₂. In CSS, use content: "\2082".
How do I type Subscript two in code?
JavaScript: "\u2082". Python: "\u2082". JSON and Java: "\u2082". The UTF-8 byte sequence is E2 82 82.
Is Subscript two an emoji?
No. Subscript two is a text symbol and renders as a monochrome glyph in the current font. Some platforms may offer an emoji variant when U+FE0F is appended.
Related symbols in Numbers
View all numbers- Superscript zero
- Superscript one
- Superscript two
- Superscript three
- Superscript four
- Superscript five
- Superscript six
- Superscript seven
- Superscript eight
- Superscript nine
- Subscript zero
- Subscript one
- Subscript three
- Subscript four
- Subscript five
- Subscript six
- Subscript seven
- Subscript eight
- Subscript nine
- Roman numeral one
- Roman numeral two
- Roman numeral three
- Roman numeral four
- Roman numeral five