U+26FE

Cup on black square

Cup on black square is a monochrome text character from the Unicode Miscellaneous Symbols block, listed here under Office & Objects. Copy it with one click, or use the hex, octal, decimal and HTML entity codes below to embed it in web pages, code, and documents. It is often searched for as "cafe", "map", "coffee".

Quick facts

Unicode
U+26FE
Decimal
9982
Hex
0x26FE
Octal
0o23376

Unicode identity

FormatValueCopy
Code pointOfficial Unicode notationU+26FE
Official nameUnicodeData.txt, Unicode 18.0.0CUP ON BLACK SQUARE
DecimalBase 109982
HexadecimalBase 160x26FE
OctalBase 80o23376
BinaryBase 20010011011111110
General categorySymbol, otherSo
Unicode blockU+2600–U+26FFMiscellaneous Symbols
PlaneBasic Multilingual Plane (BMP, Plane 0)

HTML & CSS

FormatValueCopy
HTML entity (decimal)⛾
HTML entity (hex)⛾
CSS content escapeUse inside content: "…"\26FE
URL encodedPercent-encoded UTF-8%E2%9B%BE

Programming languages

FormatValueCopy
JavaScript / TypeScript\u26FE
JSONUTF-16 surrogate pairs\u26FE
Python\u26FE
Java / C# / Kotlin\u26FE

Byte encodings

FormatValueCopy
UTF-83 bytesE2 9B BE
UTF-16 (BE)26FE
UTF-32 (BE)000026FE

How to type Cup on black square

  • Windows

    Hold Alt and type +26FE with the hex numeric keypad option enabled, or type 26FE then press Alt+X in Word and most Office apps.

  • macOS

    Enable the Unicode Hex Input keyboard, hold Option, and type 26FE. Or open Character Viewer (Control+Command+Space) and search "Cup on black square".

  • Linux

    Press Ctrl+Shift+U, type 26fe, then press Space or Enter in GTK apps. IBus and most terminals support the same sequence.

  • HTML, CSS & code

    Paste the character directly, or use the escapes above: ⛾ in HTML, \26FE in CSS, and \u26FE in JavaScript.

Official Unicode reference

Character name
CUP ON BLACK SQUARE
Block
Miscellaneous Symbols (U+2600–U+26FF)
General category
So — Symbol, other

Data from the Unicode Character Database, version 18.0.0. See the official code chart for the Miscellaneous Symbols block: U2600.pdf (PDF, unicode.org).

Frequently asked questions

How do I copy the Cup on black square symbol?

Click the Copy button at the top of this page, or select ⛾ and press Ctrl+C (Cmd+C on Mac). It is plain Unicode text, so it pastes into documents, chats, code, and design tools.

What is the Unicode code point for Cup on black square?

Cup on black square is U+26FE (decimal 9982, hexadecimal 0x26FE, octal 0o23376). It lives in the Miscellaneous Symbols block (U+2600–U+26FF) of the Basic Multilingual Plane (BMP, Plane 0).

What is the official Unicode name of Cup on black square?

The Unicode Standard (version 18.0.0) names this character "CUP ON BLACK SQUARE". Its General_Category is So (Symbol, other).

What is the HTML code for Cup on black square?

Use ⛾ or ⛾. In CSS, use content: "\26FE".

How do I type Cup on black square in code?

JavaScript: "\u26FE". Python: "\u26FE". JSON and Java: "\u26FE". The UTF-8 byte sequence is E2 9B BE.

Is Cup on black square an emoji?

No. Cup on black square is a text symbol and renders as a monochrome glyph in the current font. Some platforms may offer an emoji variant when U+FE0F is appended.

View all office & objects