| Symbol Name | Command Key |
| Unicode Version | 1.1 |
| Unicode | U+2318 |
| Unicode block | |
| General category | Other Symbol (So) |
| CSS Code | \2318 |
| Hex Code | 0x2318 |
| HTML Code | ⌘ |
| LaTeX | \text{PLACEOFINTERESTSIGN} |
| Symbol | ⌘ |
| URL encode (UTF-8 percent) | %E2%8C%98 |
| Spoken / screen reader name | Command Key |
| UTF-8 | E2 8C 98 |
| UTF-16 | 2318 |
| UTF-32 | 00002318 |
1\documentclass{article}2\usepackage{pifont}3\text{PLACEOFINTERESTSIGN}4\end{document}You can type the command key symbol on most modern devices with the help of following methods:
Alt + 8984 on Windows (numeric keypad with Num Lock), or insert via Character Map.
Edit → Emoji & Symbols, search "command key", or use Unicode Hex Input with 2318.
Ctrl + Shift + U, type 2318, then Enter (layout-dependent).
Paste from this page, use text replacement, or pick from the emoji keyboard.
Paste from this page or use a keyboard with technical symbol support.
1span.command-key::before { content: "\2318"; }1<span>⌘</span>Command Key symbol's representation in different programming languages can be found in the table below:
| Language | Representation |
|---|---|
| JavaScript / TypeScript | '\u2318' or String.fromCodePoint(8984) |
| Python | '\N{COMMAND KEY}' or chr(8984) |
| Rust | '\u{2318}' |
| C / C++ | UTF-8 source or wchar_t with U+2318 |
| Go | string(rune(0x2318)) |
| Ruby | "\u{2318}" |