Keycap: 4

U+0034

About Keycap: 4

Keycap: 4 is the Unicode character 4️⃣ at codepoint U+0034 in the Basic Latin block of the Basic Multilingual Plane (BMP).

Developer Notes

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

How to Use Keycap: 4

To use the Keycap: 4 symbol (4️⃣) in HTML, insert the entity 4️⃣ directly into your markup.

In CSS pseudo-elements use content: '\34';. In JavaScript and TypeScript the escape '\u0034' evaluates to 4️⃣. In Python source, write '\u0034'.

The character encodes to 34 as UTF-8 bytes and 0034 as UTF-16 code units. Its decimal codepoint is 52.

This is a fully-qualified emoji and should render with colour on iOS, Android, Windows and macOS. Appearance may vary between platforms, but the underlying codepoint is identical everywhere.

Similar Symbols