🍺

Emoji Beer Mug

About this character

The character 🍺 is known as Emoji Beer Mug and carries the Unicode code point U+1F37A, which is 127866 in decimal. It belongs to the Miscellaneous Symbols and Pictographs block (U+1F300–U+1F5FF), which gathers most of the emoji for objects, animals, food, weather and places.

In memory, 🍺 takes 4 bytes in UTF-8 (0xF0 0x9F 0x8D 0xBA) and 2 in UTF-16 (0xD83C 0xDF7A). That difference is why badly configured forms or databases garble this character: they assume one byte per character.

How to type 🍺

System What to do
Windows In Word or WordPad, type 1F37A and press Alt + X to turn the code into the character.
macOS On a Mac, open the Character Viewer with Ctrl + ⌘ + Space and search for “Emoji Beer Mug”.
Linux On Linux (GTK), type Ctrl + ⇧ + U, 1F37A then press Enter.
HTML / Web In an HTML page, write 🍺. Use \1F37A in CSS, \u{1F37A} in JavaScript and \U0001F37A in Python.
On this site The simplest route is the Copy button above: the character goes straight to your clipboard, ready to paste anywhere.

Keyboards that include 🍺

This character is not on any common physical layout, so the Copy button above is the quickest way to get it into a document.

Codes and encodings

Property Value
Code pointU+1F37A
Unicode blockMiscellaneous Symbols and Pictographs (U+1F300–U+1F5FF)
Decimal127866
Hexadecimal0x1F37A
Octal0371572
Binary11111001101111010
UTF-8 bytes0xF0 0x9F 0x8D 0xBA
UTF-16 units0xD83C 0xDF7A
Named HTML entityNone
Decimal HTML entity🍺
Hex HTML entity🍺
CSS escape\1F37A
JavaScript escape\u{1F37A}
Python escape\U0001F37A
URL encoding%F0%9F%8D%BA

Frequently asked questions

What is the Unicode code for 🍺?

Its code point is U+1F37A, which is 127866 in decimal and 0371572 in octal. In HTML you can write it as 🍺 or 🍺.

Why does 🍺 show up as a box or a question mark?

An empty box means the font has no glyph for U+1F37A. The character is still in the text: switching to a font that covers the block (Noto, DejaVu or Segoe UI Symbol) makes it appear.

Can I use 🍺 in a filename, a URL or a password?

In a URL it must be encoded as %F0%9F%8D%BA. Modern filesystems accept it, though it is still risky when moving files between systems. For passwords, some forms reject non-ASCII characters outright.

Characters from the same block

🍨 🍲 🌴 🌾 🍒