HTML Entity for Roman Numeral Nine (Ⅸ)

Beginner
6 min read
Updated: Sep 2026
1 example
Unicode U+2168

What Is the Roman Numeral Nine Entity?

Roman Numeral Nine (Ⅸ) is the Unicode character at U+2168 in the Number Forms block. It is a single glyph for the value 9 in uppercase roman style — not the same as typing the letters IX.

Remember
Character     Ⅸ
Unicode       U+2168
Hex entity    Ⅸ
Decimal       Ⅸ
CSS escape    \2168
Named entity  (none)

All of these produce the same glyph: Ⅸ. Prefer this character when you need a true roman numeral glyph; type the letters IX when you only need ordinary text.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Direct characterⅨHTML text (UTF-8)
Hex entityⅨHTML markup
Decimal entityⅨHTML markup
CSS escape\2168Stylesheet content
Named entity—Not defined in HTML5

When to use which

SituationUse
Need the roman numeral glyph ⅨType Ⅸ, or Ⅸ / Ⅸ
Generated text via ::before / ::aftercontent: "\2168"
Lowercase roman numeral nineUse ⅸ (U+2178)
Ordinary letters IX (not a numeral)Type IX
Looking for &romanIX; or similarDoes not exist — use numeric form

Live Preview

Roman Numeral Nine rendered in common UI contexts.

Inline text Ⅸ. Index
Large glyph Ⅸ
Outline list Ⅶ Seven   Ⅷ Eight   Ⅸ Nine
Monospace SECTION Ⅸ → NOTES
With entities Hex: Ⅸ | Decimal: Ⅸ

Complete HTML Example

One page that shows Roman Numeral Nine with the hex entity, decimal entity, CSS escape, and a typed character. Use View Output or open the live editor.

Hex + Decimal + CSS + Typed

All four ways to produce Ⅸ in a single document.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Roman Numeral Nine (Ⅸ) in HTML</title>
  <style>
    #point::after {
      content: "\2168";
    }
  </style>
</head>
<body>
  <p>Roman 9 using Hex Code: &#x2168;</p>
  <p>Roman 9 using HTML Code: &#8552;</p>
  <p id="point">Roman 9 using CSS Entity: </p>
  <p>Typed directly: Ⅸ</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+2168 → &#x2168; in HTML. The browser turns it into Ⅸ.

2. Decimal: same code point as 8552 → &#8552;. Same result as hex.

3. CSS: use \2168 in content (not an HTML entity). #point::after appends that Ⅸ after the paragraph text.

4. Typed Ⅸ: fine in UTF-8 pages. All four lines show the same roman numeral.

Pitfalls & Tips

Common mistakes when working with Roman Numeral Nine entities.

Named?

No named entity

HTML5 does not define &romanIX; or similar. Use numeric forms.

CSS vs HTML

Do not mix escapes

\2168 belongs in CSS. &#x2168; / &#8552; belong in HTML.

Ⅸ vs IX vs ⅸ

Different characters

Ⅸ is U+2168; letters IX are Basic Latin; lowercase ⅸ is U+2178.

Fonts

Check the glyph

Number Forms support varies by font. If Ⅸ is missing, fall back to IX or another font.

Semicolon

End references

Always finish with ; — write &#8552;, not &#8552.

Lists

CSS list-style

For auto-numbered roman lists, prefer list-style-type: upper-roman instead of hard-coding Ⅸ.

Browser Support

Roman Numeral Nine (U+2168) and its numeric entity forms (&#x2168;, &#8552;, CSS \\2168) are supported in all mainstream browsers. Glyph shape depends on the font.

✓ Universal support

Roman 9 (Ⅸ)

Encode with hex, decimal, or CSS escape — or paste Ⅸ in UTF-8 HTML.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer All versions
Yes
U+2168 / entities Full support

Bottom line: Use &#x2168; or &#8552; for the Unicode glyph, and \\2168 only inside CSS content. Prefer the letters IX for ordinary text.

Key Takeaways

  • Unicode: Roman Numeral Nine is U+2168 (decimal 8552).
  • HTML: use &#x2168; or &#8552; when you need an entity.
  • CSS: use \2168 inside content for generated text.
  • Default: use Ⅸ for roman outlines; type IX for ordinary letters.

One line: U+2168 → &#x2168; / &#8552; / CSS \2168, or paste Ⅸ.

Frequently Asked Questions

Use &#x2168; (hex), &#8552; (decimal), or the CSS escape \2168 in the content property. All render Ⅸ. You can also paste Ⅸ directly when your file is UTF-8.
U+2168 (hex 2168, decimal 8552). It belongs to the Number Forms Unicode block.
No. HTML5 does not define a named entity for Ⅸ. Use numeric references like &#x2168; or &#8552;.
Use it for outline labels, chapter markers, and typography that needs a true uppercase roman numeral glyph. For ordinary text, typing IX is usually enough.
No. The Latin letters that form IX are separate Basic Latin characters. Lowercase roman numeral nine is U+2178 (ⅸ). Uppercase roman numeral nine is U+2168 (Ⅸ) — a different character.
HTML entities (&#8552; or &#x2168;) go in markup. The CSS escape \2168 is used in stylesheets (usually in the content property of ::before/::after). Both render Ⅸ.

Did you know?

Roman numeral nine is Unicode U+2168 (decimal 8552). HTML5 has no named entity for it — use &#x2168; or &#8552;. It is a different character from the letters IX and from lowercase roman ⅸ (U+2178).

Next: 9 Subscript

Learn the HTML entity for subscript digit nine (₉) — a different character from Ⅸ.

9 Subscript tutorial →

CODETOFUN NEWS

Stay Ahead in Tech

Get the latest IT news, programming updates, and technology trends directly on your phone.

Your daily dose of tech, straight to your feed.

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

8 people found this page helpful