Face With Cowboy Hat Symbol

There is no legacy Windows Alt code for Face With Cowboy Hat because it is not in either the OEM code page 437 or Windows-1252 tables. The Unicode codepoint is U+1F920, which you can use as 🤠 in HTML, \01F920 in CSS, but the Alt+decimal method does not work because the codepoint is above the Basic Multilingual Plane. If your keyboard has no numeric keypad, use the Character Viewer, the HTML entity, or copy the character directly. Copy the Face With Cowboy Hat character from this page when you need it in a form, chat message or document that does not accept Alt codes. Face With Cowboy Hat has no named HTML entity, so use the numeric escape 🤠 or the hex escape 🤠.

Codes for this symbol

Copy any value by clicking it.
MethodValue
Alt + X hex
HTML decimal
HTML hex
CSS escape
Python escape
JavaScript escape
UTF-8 bytes
Unicode codepoint
Unicode block
Unicode category

Not available for this symbol: legacy Windows Alt code, Alt + decimal (BMP limit), macOS Option shortcut, named HTML entity.

How to type face with cowboy hat on Windows

  1. Face With Cowboy Hat cannot be typed with a legacy Alt code or Alt + decimal because its codepoint is above U+FFFF.
  2. Use the Character Viewer, an HTML entity, or copy the character directly.

If your keyboard has no numeric keypad, see how to type symbols without a numpad.

How to type face with cowboy hat on macOS

There is no direct Option shortcut for Face With Cowboy Hat. Open the Character Viewer with ⌃⌘Space, search for "Face With Cowboy Hat" and click the character to insert it.

How to use face with cowboy hat in code

  • HTML: or
  • CSS: content:"\01F920"; ()
  • Python: \U0001F920 or chr(0x1F920)
  • JavaScript: \u{1F920} or String.fromCodePoint(0x1F920)
  • JSON: "\uD83E\uDD20" (surrogate pair)

Frequently asked questions

Is there an Alt code for 🤠?

No legacy Alt code exists for Face With Cowboy Hat because it is not in code page 437 or Windows-1252. Use the Unicode codepoint U+1F920 in HTML, CSS or the Character Viewer instead.

How do I type 🤠 without a numpad?

Use the Windows Character Viewer (Win+.), the macOS Character Viewer (⌃⌘Space), an HTML entity such as 🤠, or copy the character directly from this page.

What is the Unicode for Face With Cowboy Hat?

The Unicode codepoint for Face With Cowboy Hat is U+1F920. You can use this value in HTML as 🤠, in CSS as \01F920, and in Word with Alt+X.

How do I type 🤠 on a Mac?

Open the Character Viewer with ⌃⌘Space and search for the character name or U+1F920, then click it.