U+221EInfinity
Infinity Symbol
- Alt code
Alt 236- HTML
∞- Unicode
U+221E
The infinity symbol (∞) is Unicode U+221E, HTML ∞, Alt 236 on Windows, Option+5 on a Mac.
The infinity symbol ∞ is U+221E: type it with Alt 236 on the Windows numeric keypad, Option+5 on a Mac, ∞ in HTML or \infty in LaTeX, or copy it from this page. In mathematics it means without bound, as in a limit as x tends to ∞, and outside mathematics it is a popular motif for forever.
Render test
Checking whether this device has a font that can draw ∞.
| Symbol | ∞ | |
|---|---|---|
| Unicode | U+221E | |
| Name | Infinity | |
| HTML (named) | ∞ | |
| HTML (decimal) | ∞ | |
| HTML (hex) | ∞ | |
| CSS content | \221E | |
| JavaScript / JSON | \u221E | |
| UTF-8 bytes | 0xE2 0x88 0x9E | |
| UTF-16 units | 0x221E | |
| Windows alt code | Alt 236 |
Source: Unicode Character Database. Code point verified as assigned in Unicode 17.0. Last updated . Report an error
How do you type the infinity on each platform?
Find your platform in the first column.
| Where | How to type it |
|---|---|
| Any device | Press the copy button on this page, then paste with Ctrl+V on Windows or Cmd+V on a Mac. This is the only method that behaves the same everywhere. |
| Windows | Hold Alt and type 236 on the numeric keypad, then release Alt. 236 is the code page 437 number, which US-English Windows uses for codes without a leading zero; with the zero, Alt 0236 reads Windows-1252 and gives ì instead. The number row above the letters does not work for this. |
| macOS | Press Option+5 on the US layout. |
| iPhone and iPad | Save ∞ as a text replacement under Settings, General, Keyboard, Text Replacement, so that typing a shortcut such as inf inserts it. |
| Linux and ChromeOS | Press Ctrl+Shift+U, type 221e, then press Enter or the space bar. |
| Microsoft Word | Type 221E and press Alt+X with the cursor right after the last digit. Inside an equation, typing \infty followed by a space also gives ∞. |
| Google Docs | Insert, then Special characters, and search for infinity. Inside an equation, \infty followed by a space works too. |
| Excel and Google Sheets | =UNICHAR(8734) returns ∞ as text. It is a label, not a number: formulas cannot calculate with it. |
| HTML | Write ∞, ∞ or ∞. |
| CSS | Use content: "\221E" in a ::before or ::after rule. |
| JavaScript | The escape \u221E produces ∞ in a string. For the value itself, use Infinity or Number.POSITIVE_INFINITY. |
| LaTeX | Write \infty in maths mode, as in $\lim_{x \to \infty}$. |
More detail per platform: Windows alt codes, special characters on a Mac, special characters in Word and HTML entities.
Which characters look like the infinity?
Several characters render almost identically to this one, and picking the wrong one breaks search, sorting and screen readers even when it looks right on screen. The infinity ∞ is U+221E. These are the ones it is confused with.
| Character | Code point | Name | What it is really for |
|---|---|---|---|
| ♾ | U+267E | Permanent Paper Sign | The character behind the infinity emoji. Followed by U+FE0F it renders as a coloured emoji. Its Unicode name comes from the mark for acid-free, archival paper. |
| ∝ | U+221D | Proportional To | An open loop that reads as half an infinity sign. It means varies in proportion to, as in y ∝ x. |
| ⧜ | U+29DC | Incomplete Infinity | A specialised maths symbol with one loop left open. Not a substitute for ∞. |
Frequently asked questions
How do I type the infinity symbol on a keyboard?
On Windows, hold Alt and type 236 on the numeric keypad. On a Mac, press Option+5. In HTML write ∞, and in LaTeX \infty. On a phone, copy it from this page or set up a text replacement.
What is the difference between ∞ and ♾?
∞ U+221E is the mathematical infinity sign and stays plain text. ♾ U+267E, the permanent paper sign, is a separate character that serves as the infinity emoji: with U+FE0F after it, it renders in colour. Use ∞ in maths and in documents.
Why does Alt 0236 give ì instead of ∞?
With a leading zero, Windows reads the Windows-1252 code page, where 236 is ì. The infinity sign only exists in code page 437, so type Alt 236 without the zero.
What does the infinity symbol mean?
In mathematics ∞ stands for a quantity without bound, as in a limit as x tends to ∞ or an interval that runs to ∞. It is not a number you can calculate with. Outside mathematics it is a motif for forever and endless, common in tattoos, jewellery and logos.
How do I copy the infinity symbol?
Press the Copy ∞ button at the top of this page, or click the large ∞, and it is placed on your clipboard. Paste it anywhere with Ctrl+V or Cmd+V. It is a real text character, so it works in documents, chats and code.
What is the Unicode code point for infinity?
The infinity has the Unicode code point U+221E. In HTML you can write it as ∞ or ∞, or with the named entity ∞.
What is the alt code for the infinity symbol?
On Windows, hold the Alt key and type 236 on the numeric keypad, then release Alt. Copying the ∞ from this page is quicker and works on any device.
Can I use the infinity symbol in HTML and CSS?
Yes. In HTML write ∞ or the named entity ∞, and in CSS use content: "\221E" inside a ::before or ::after rule. The code table on this page has copy buttons for both.
Related symbols
Browse the full math symbols hub, or return to the searchable symbol grid.