Skip to content
EmojiDB

U+2171 · Letter number

Small Roman Numeral Two Symbol ⅱ

ⅱ is small roman numeral two, and Unicode gives it the numeric value 2. It was added in Unicode 1.1, and Unicode files it under Letter number.

Codes & technical data

UnicodeU+2171
HTML hexⅱ
HTML decimalⅱ
CSS\2171
JavaScript\u{2171}
Python\U00002171
Java / C#\u2171
Rust\u{2171}
Swift\u{2171}
PHP\u{2171}
URL encoded%E2%85%B1
UTF-8 bytesE2 85 B1
UTF-16 bytes2171
Base644oWx
Decimal8561
Decomposes toii (compat form)
Numeric value2
CategoryLetter number (Nl)
IntroducedUnicode 1.1

Will ⅱ survive being pasted?

  • Normalisation. No. Anything that applies NFKC — search indexes, usernames, domain names, programming identifiers — rewrites ⅱ as ii. Safe for display, not for storage.
  • Legacy encodings. ⅱ is Unicode-only — it has no Latin-1 equivalent, so a system stuck on an 8-bit encoding cannot represent it.
  • Size. 3 bytes in UTF-8. Character-limited fields — SMS, bios, some form validators — usually count bytes, not characters.

Other two characters

Unicode names 10 characters ending in “two”. They differ by direction, weight or decoration rather than by meaning.

Nearby in Number Forms

Roman numerals as single characters, and the vulgar fractions beyond the three Latin-1 supplies. A Roman numeral here is one character, not a run of letters, so Ⅷ and VIII sort and search differently.

All 58 characters in Number Forms →

How to type ⅱ

WindowsType 2171 then press Alt+X
macOSPress Ctrl+Cmd+Space, then search for “small roman numeral two”
LinuxPress Ctrl+Shift+U, type 2171, press Enter
HTMLⅱ

About Unicode’s Letter number category

This is a letter number: a character that looks like a letter but carries a numeric value, the way Roman numerals do.

Frequently asked questions

How do I type the ⅱ small roman numeral two symbol?
On Windows, type 2171 and press Alt+X. On Linux press Ctrl+Shift+U then 2171. On any system the quickest route is the copy button on this page.
What is the code for ⅱ?
Small Roman Numeral Two is U+2171. In UTF-8 it takes 3 bytes. The table above lists every escape format.
Will ⅱ survive being pasted anywhere?
Not always. Small Roman Numeral Two is a compatibility character: any system that applies Unicode NFKC normalisation — search indexes, usernames, identifiers — replaces it with ii. Use it for display, not where text is normalised.