U+2161
Roman numeral twoⅡ
Roman numeral two is a monochrome text character from the Unicode Number Forms 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", "roman".
Quick facts
- Unicode
- U+2161
- Decimal
- 8545
- Hex
- 0x2161
- Octal
- 0o20541
Unicode identity
| Format | Value | Copy |
|---|---|---|
| Code pointOfficial Unicode notation | U+2161 | |
| Official nameUnicodeData.txt, Unicode 18.0.0 | ROMAN NUMERAL TWO | |
| DecimalBase 10 | 8545 | |
| HexadecimalBase 16 | 0x2161 | |
| OctalBase 8 | 0o20541 | |
| BinaryBase 2 | 0010000101100001 | |
| General categoryNumber, letter | Nl | |
| Unicode blockU+2150–U+218F | Number Forms | |
| Plane | Basic Multilingual Plane (BMP, Plane 0) |
HTML & CSS
| Format | Value | Copy |
|---|---|---|
| HTML entity (decimal) | Ⅱ | |
| HTML entity (hex) | Ⅱ | |
| CSS content escapeUse inside content: "…" | \2161 | |
| URL encodedPercent-encoded UTF-8 | %E2%85%A1 |
Programming languages
| Format | Value | Copy |
|---|---|---|
| JavaScript / TypeScript | \u2161 | |
| JSONUTF-16 surrogate pairs | \u2161 | |
| Python | \u2161 | |
| Java / C# / Kotlin | \u2161 |
Byte encodings
| Format | Value | Copy |
|---|---|---|
| UTF-83 bytes | E2 85 A1 | |
| UTF-16 (BE) | 2161 | |
| UTF-32 (BE) | 00002161 |
How to type Roman numeral two
Windows
Hold Alt and type +2161 with the hex numeric keypad option enabled, or type 2161 then press Alt+X in Word and most Office apps.
macOS
Enable the Unicode Hex Input keyboard, hold Option, and type 2161. Or open Character Viewer (Control+Command+Space) and search "Roman numeral two".
Linux
Press Ctrl+Shift+U, type 2161, 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, \2161 in CSS, and \u2161 in JavaScript.
Official Unicode reference
- Character name
- ROMAN NUMERAL TWO
- Block
- Number Forms (U+2150–U+218F)
- General category
- Nl — Number, letter
Data from the Unicode Character Database, version 18.0.0. See the official code chart for the Number Forms block: U2150.pdf (PDF, unicode.org).
Frequently asked questions
How do I copy the Roman numeral 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 Roman numeral two?
Roman numeral two is U+2161 (decimal 8545, hexadecimal 0x2161, octal 0o20541). It lives in the Number Forms block (U+2150–U+218F) of the Basic Multilingual Plane (BMP, Plane 0).
What is the official Unicode name of Roman numeral two?
The Unicode Standard (version 18.0.0) names this character "ROMAN NUMERAL TWO". Its General_Category is Nl (Number, letter).
What is the HTML code for Roman numeral two?
Use Ⅱ or Ⅱ. In CSS, use content: "\2161".
How do I type Roman numeral two in code?
JavaScript: "\u2161". Python: "\u2161". JSON and Java: "\u2161". The UTF-8 byte sequence is E2 85 A1.
Is Roman numeral two an emoji?
No. Roman numeral 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 nine
- Subscript zero
- Subscript one
- Subscript two
- Subscript three
- Subscript four
- Subscript five
- Subscript six
- Subscript seven
- Subscript eight
- Subscript nine
- Roman numeral one
- Roman numeral three
- Roman numeral four
- Roman numeral five
- Roman numeral six
- Roman numeral seven
- Roman numeral eight
- Roman numeral nine
- Roman numeral ten
- Roman numeral eleven
- Roman numeral twelve
- Roman numeral fifty
- Roman numeral hundred