U+2167

Roman numeral eight

Roman numeral eight 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", "8", "roman".

Quick facts

Unicode
U+2167
Decimal
8551
Hex
0x2167
Octal
0o20547

Unicode identity

FormatValueCopy
Code pointOfficial Unicode notationU+2167
Official nameUnicodeData.txt, Unicode 18.0.0ROMAN NUMERAL EIGHT
DecimalBase 108551
HexadecimalBase 160x2167
OctalBase 80o20547
BinaryBase 20010000101100111
General categoryNumber, letterNl
Unicode blockU+2150–U+218FNumber Forms
PlaneBasic Multilingual Plane (BMP, Plane 0)

HTML & CSS

FormatValueCopy
HTML entity (decimal)Ⅷ
HTML entity (hex)Ⅷ
CSS content escapeUse inside content: "…"\2167
URL encodedPercent-encoded UTF-8%E2%85%A7

Programming languages

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

Byte encodings

FormatValueCopy
UTF-83 bytesE2 85 A7
UTF-16 (BE)2167
UTF-32 (BE)00002167

How to type Roman numeral eight

  • Windows

    Hold Alt and type +2167 with the hex numeric keypad option enabled, or type 2167 then press Alt+X in Word and most Office apps.

  • macOS

    Enable the Unicode Hex Input keyboard, hold Option, and type 2167. Or open Character Viewer (Control+Command+Space) and search "Roman numeral eight".

  • Linux

    Press Ctrl+Shift+U, type 2167, 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, \2167 in CSS, and \u2167 in JavaScript.

Official Unicode reference

Character name
ROMAN NUMERAL EIGHT
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 eight 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 eight?

Roman numeral eight is U+2167 (decimal 8551, hexadecimal 0x2167, octal 0o20547). 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 eight?

The Unicode Standard (version 18.0.0) names this character "ROMAN NUMERAL EIGHT". Its General_Category is Nl (Number, letter).

What is the HTML code for Roman numeral eight?

Use Ⅷ or Ⅷ. In CSS, use content: "\2167".

How do I type Roman numeral eight in code?

JavaScript: "\u2167". Python: "\u2167". JSON and Java: "\u2167". The UTF-8 byte sequence is E2 85 A7.

Is Roman numeral eight an emoji?

No. Roman numeral eight 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