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

FormatValueCopy
Code pointOfficial Unicode notationU+2082
Official nameUnicodeData.txt, Unicode 18.0.0SUBSCRIPT TWO
Unicode 1.0 nameLegacy aliasSUBSCRIPT DIGIT TWO
DecimalBase 108322
HexadecimalBase 160x2082
OctalBase 80o20202
BinaryBase 20010000010000010
General categoryNumber, otherNo
Unicode blockU+2070–U+209FSuperscripts and Subscripts
PlaneBasic Multilingual Plane (BMP, Plane 0)

HTML & CSS

FormatValueCopy
HTML entity (decimal)₂
HTML entity (hex)₂
CSS content escapeUse inside content: "…"\2082
URL encodedPercent-encoded UTF-8%E2%82%82

Programming languages

FormatValueCopy
JavaScript / TypeScript\u2082
JSONUTF-16 surrogate pairs\u2082
Python\u2082
Java / C# / Kotlin\u2082

Byte encodings

FormatValueCopy
UTF-83 bytesE2 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.

View all numbers