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∞
Every way to type ∞
Only methods that exist on that system are shown as shortcuts.
Windows Alt code
- Turn on Num Lock.
- Hold Alt and type the digits on the numeric keypad (not the top row).
- Let go of Alt.
Microsoft Word Alt + 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
GNOME and most GTK apps (IBus).
Chromebook Unicode input
Type the code after the underlined u appears.
How ∞ is stored in UTF-8
3 bytes (24 bits) for 1 code point
Codes
For HTML, CSS, JavaScript, JSON, Python and URLs.
| HTML entity | ∞ | |
|---|---|---|
| Unicode | U+221E | |
| HTML decimal | ∞ | |
| HTML hex | ∞ | |
| CSS content | \221E | |
| JavaScript | \u221E | |
| JSON | \u221e | |
| Python | \u221e | |
| UTF-8 bytes | E2 88 9E | |
| UTF-16 | 221E | |
| 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.
- Unicode name INFINITY
- Category Math symbol (Sm)
- Block Mathematical Operators
Related symbols
Look-alikes named in the Unicode notes first, then neighbours in the same block.
| Symbol | Name | Code | Alt code |
|---|---|---|---|
| ∟ | Right angle | U+221F | Alt + 28 |
| ∝ | Proportional to | U+221D | – |
| ∠ | Angle | U+2220 | – |
| ∜ | Fourth root | U+221C | – |
| ∡ | Measured angle | U+2221 | – |
| ∛ | Cube root | U+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 ∞ or ∞ (decimal) or ∞ (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.