Capricorn
Unicode places the capricorn at code point U+2651, part of the zodiac family. Copy the ♑ with a single click below, then scroll down for every way to type it: the HTML entities, the CSS content escape, the JavaScript escape and the Windows alt code where one exists.
| Symbol | ♑ | |
|---|---|---|
| Unicode | U+2651 | |
| Name | Capricorn | |
| HTML (decimal) | ♑ | |
| HTML (hex) | ♑ | |
| CSS content | \2651 | |
| JavaScript / JSON | \u2651 | |
| UTF-8 bytes | 0xE2 0x99 0x91 | |
| UTF-16 units | 0x2651 |
How to type the capricorn 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
♑in your markup. - CSS: use
content: "\2651"in a::beforeor::afterrule. - JavaScript: the escape
\u2651produces this character in a string.
Frequently asked questions
How do I copy the capricorn 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 capricorn?
The capricorn has the Unicode code point U+2651. In HTML you can write it as ♑ or ♑.
Can I use the capricorn symbol in HTML and CSS?
Yes. In HTML write ♑, and in CSS use content: "\2651" inside a ::before or ::after rule. The code table on this page has copy buttons for both.
Related symbols
Browse the full zodiac symbols hub, or return to the searchable symbol grid.