U+2166

Roman numeral seven

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

Quick facts

Unicode
U+2166
Decimal
8550
Hex
0x2166
Octal
0o20546

Unicode identity

FormatValueCopy
Code pointOfficial Unicode notationU+2166
Official nameUnicodeData.txt, Unicode 18.0.0ROMAN NUMERAL SEVEN
DecimalBase 108550
HexadecimalBase 160x2166
OctalBase 80o20546
BinaryBase 20010000101100110
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: "…"\2166
URL encodedPercent-encoded UTF-8%E2%85%A6

Programming languages

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

Byte encodings

FormatValueCopy
UTF-83 bytesE2 85 A6
UTF-16 (BE)2166
UTF-32 (BE)00002166

How to type Roman numeral seven

  • Windows

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

  • macOS

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

  • Linux

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

Official Unicode reference

Character name
ROMAN NUMERAL SEVEN
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 seven 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 seven?

Roman numeral seven is U+2166 (decimal 8550, hexadecimal 0x2166, octal 0o20546). 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 seven?

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

What is the HTML code for Roman numeral seven?

Use Ⅶ or Ⅶ. In CSS, use content: "\2166".

How do I type Roman numeral seven in code?

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

Is Roman numeral seven an emoji?

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