U+221E

Infinity

Infinity is a monochrome text character from the Unicode Mathematical Operators block, listed here under Math. 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 "endless".

Quick facts

Unicode
U+221E
Decimal
8734
Hex
0x221E
Octal
0o21036

Unicode identity

FormatValueCopy
Code pointOfficial Unicode notationU+221E
Official nameUnicodeData.txt, Unicode 18.0.0INFINITY
DecimalBase 108734
HexadecimalBase 160x221E
OctalBase 80o21036
BinaryBase 20010001000011110
General categorySymbol, mathSm
Unicode blockU+2200–U+22FFMathematical Operators
PlaneBasic Multilingual Plane (BMP, Plane 0)

HTML & CSS

FormatValueCopy
HTML entity (decimal)∞
HTML entity (hex)∞
HTML entity (named)∞
CSS content escapeUse inside content: "…"\221E
URL encodedPercent-encoded UTF-8%E2%88%9E

Programming languages

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

Byte encodings

FormatValueCopy
UTF-83 bytesE2 88 9E
UTF-16 (BE)221E
UTF-32 (BE)0000221E

How to type Infinity

  • Windows

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

  • macOS

    Enable the Unicode Hex Input keyboard, hold Option, and type 221E. Or open Character Viewer (Control+Command+Space) and search "Infinity".

  • Linux

    Press Ctrl+Shift+U, type 221e, 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, \221E in CSS, and \u221E in JavaScript.

Official Unicode reference

Character name
INFINITY
Block
Mathematical Operators (U+2200–U+22FF)
General category
Sm — Symbol, math

Data from the Unicode Character Database, version 18.0.0. See the official code chart for the Mathematical Operators block: U2200.pdf (PDF, unicode.org).

Frequently asked questions

How do I copy the Infinity 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 Infinity?

Infinity is U+221E (decimal 8734, hexadecimal 0x221E, octal 0o21036). It lives in the Mathematical Operators block (U+2200–U+22FF) of the Basic Multilingual Plane (BMP, Plane 0).

What is the official Unicode name of Infinity?

The Unicode Standard (version 18.0.0) names this character "INFINITY". Its General_Category is Sm (Symbol, math).

What is the HTML code for Infinity?

Use ∞ or ∞, or the named entity ∞. In CSS, use content: "\221E".

How do I type Infinity in code?

JavaScript: "\u221E". Python: "\u221E". JSON and Java: "\u221E". The UTF-8 byte sequence is E2 88 9E.

Is Infinity an emoji?

No. Infinity 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 math