Shamrock

U+2618

About Shamrock

Shamrock is the Unicode character ☘ at codepoint U+2618 in the Miscellaneous Symbols block of the Basic Multilingual Plane (BMP).

Technical Reference

Unicode Codepoint
Decimal
UTF-8 (hex)
UTF-16 (hex)
HEX Entity
HTML Entity
CSS (\xxxx)
JavaScript
Python

How to Use Shamrock

To use the Shamrock symbol (☘) in HTML, insert the entity ☘ directly into your markup. The decimal entity ☘ works in any HTML-serialised document.

In CSS pseudo-elements use content: '\2618';. In JavaScript and TypeScript the escape '\u2618' evaluates to ☘. In Python source, write '\u2618'.

The character encodes to E2 98 98 as UTF-8 bytes and 2618 as UTF-16 code units. Its decimal codepoint is 9752.

This is a text-based Unicode character. It will render in the current font on most platforms. If a font lacks this glyph, the browser may show a placeholder or fall back to a system font.

Similar Symbols