U+221E

Infinity

The infinity symbol. Beyond math it is a popular tattoo and design motif for forever and endless. Most keyboards skip the infinity entirely, which is why it gets copied instead of typed. This one lives at code point U+221E and belongs to the math group; click it above to copy, or use the table below for the HTML, CSS and JavaScript equivalents.

Infinity in every code representation: Unicode, HTML, CSS, JavaScript, UTF-8/UTF-16 and Windows alt code.
Symbol
UnicodeU+221E
NameInfinity
HTML (named)∞
HTML (decimal)∞
HTML (hex)∞
CSS content\221E
JavaScript / JSON\u221E
UTF-8 bytes0xE2 0x88 0x9E
UTF-16 units0x221E

How to type the infinity symbol

Frequently asked questions

How do I copy the infinity symbol?

Click the ∞ above or the copy button 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 ∞.

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.