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.
| 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 |
How to type the infinity symbol
- Copy and paste: click the ∞ at the top of this page, then paste with Ctrl+V (Windows) or Cmd+V (Mac). This is the fastest route on any device.
- HTML: write
∞or the named entity∞in your markup. - CSS: use
content: "\221E"in a::beforeor::afterrule. - JavaScript: the escape
\u221Eproduces this character in a string.
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.