formersi
U+221E∞

U+221E · Mathematical Operators

Infinity ∞: how to type it

Copy ∞ with one click, or type it with Alt + 236 on Windows or Option + 5 on a Mac.

  • WindowsAlt+236 numeric keypad
  • Mac⌥ Option+5
  • Word221EthenAlt+X
  • iPhoneNo long-press for it. Copy it here.
  • HTML∞ or ∞
Code point
U+221E
decimal 8734
Windows
Alt + 236
Alt + numpad
Mac
Option + 5
U.S. / ABC layout
Added
Unicode 1.1
Math symbol

Every way to type ∞

Only methods that exist on that system are shown as shortcuts.

Windows Alt code

Alt+236 (older OEM code)
  1. Turn on Num Lock.
  2. Hold Alt and type the digits on the numeric keypad (not the top row).
  3. Let go of Alt.
Step-by-step guide

Mac Option key

⌥ Option+5

U.S. and ABC keyboard layouts. Hold the keys together.

Step-by-step guide

Microsoft Word Alt + X

221EthenAlt+X

Type 221E, then press Alt + X (Word for Windows).

Google Docs menu

Insert › Special characters, then search “infinity”, or paste it from here.

iPhone and iPad copy

Not on a long-press of the default keyboard. Copy it here, or add a Text Replacement (Settings › General › Keyboard › Text Replacement).

Android symbol pages

Gboard keeps many common symbols on its symbol pages (tap ?123, then =\<). If it is not there, copy it here, or save it in Gboard’s Personal dictionary with a shortcut.

Linux Unicode input

Ctrl+Shift+Uthen221ethenEnter

GNOME and most GTK apps (IBus).

Chromebook Unicode input

Ctrl+Shift+Uthen221ethenEnter

Type the code after the underlined u appears.

How ∞ is stored in UTF-8

3 bytes (24 bits) for 1 code point

length and continuation bitsbits of the code point
Computed from U+221E with the UTF-8 rules of RFC 3629. Same bytes as text: see “Codes” below.

Codes

For HTML, CSS, JavaScript, JSON, Python and URLs.

HTML entity&infin;
UnicodeU+221E
HTML decimal&#8734;
HTML hex&#x221E;
CSS content\221E
JavaScript\u221E
JSON\u221e
Python\u221e
UTF-8 bytesE2 88 9E
UTF-16221E
URL encoded%E2%88%9E
Python name\N{INFINITY}
LaTeX\infty

From the Unicode Standard

Names, aliases and notes from the Unicode 13.0 names list.

Related symbols

Look-alikes named in the Unicode notes first, then neighbours in the same block.

SymbolNameCodeAlt code
∟Right angleU+221FAlt + 28
∝Proportional toU+221D–
∠AngleU+2220–
∜Fourth rootU+221C–
∡Measured angleU+2221–
∛Cube rootU+221B–

Questions

What is the Alt code for Infinity (∞)?

Hold Alt and type 236 on the numeric keypad, then let go of Alt.

How do I type ∞ on a Mac?

Option + 5 on the U.S. or ABC keyboard layout.

What is the HTML code for ∞?

Use &infin; or &#8734; (decimal) or &#x221E; (hex).

Sources: Unicode Character Database 13.0 and Unicode emoji 13.0 (Unicode, Inc.); Alt codes computed from code pages 437 and 1252; Mac keys from the Apple U.S. keyboard layout. How this page is made.