Skip to content

Instantly share code, notes, and snippets.

@zmwangx
Last active February 4, 2026 19:22
Show Gist options
  • Select an option

  • Save zmwangx/10571883 to your computer and use it in GitHub Desktop.

Select an option

Save zmwangx/10571883 to your computer and use it in GitHub Desktop.
Unicode characters for special keys on the Mac keyboard (not necessarily Mac specific). #symbols

⌘ – ⌘⌘ – the Command Key symbol
⌥ – ⌥⌥ – the Option Key symbol
⇧ – ⇧⇧ – the Shift Key symbol
⌃ – ⌃⌃ – the Control Key symbol
⎋ – ⎋⎋ – the ESC Key symbol
⇪ – ⇪⇪ – the Capslock symbol
⏎ – ⏎⏎ – the Return symbol
⌫ – ⌫⌫ – the Delete / Backspace symbol
⇥ – ⇥⇥ – the Tab Key symbol

Courtesy The Apple Logo in Unicode; Command, Option, & Shift Symbols in Unicode; and Special Key Symbols. The last one is ultra-complete.

@meermanr
Copy link

meermanr commented Feb 4, 2026

Extended list:

Symbol Command Unicode name HTML Entity
Command Place of interest ⌘
Shift Upwards white arrow ⇧
Option Option key ⌥
Control Up arrowhead ⌃
🌐 / fn Globe / fn Globe with meridians 🌐
Return Return symbol ⏎
Enter Up arrowhead between two horizontal bars ⌤
Delete Erase to left ⌫
Forward delete Erase to right ⌦
Clear Clear ⌧
Tab Rightwards arrow to bar ⇥ ⇥
Backtab Leftwards arrow to bar ⇤ ⇤
Space Open box ␣ ␣
Escape Broken circle with northwest arrow ⎋
Caps lock Upwards arrow from bar ⇪
Eject Eject symbol ⏏
Page up Upwards arrow with double stroke ⇞
Page down Downwards arrow with double stroke ⇟
Home Northwest arrow ↖ ↖
End Southeast arrow ↘ ↘
Left Leftwards arrow ← ←
Right Rightwards arrow → →
Up Upwards arrow ↑ ↑
Down Downwards arrow ↓ ↓

@Sim3-14159
Copy link

Additionally, there's another Enter key symbol: ⌅ (a "projective"). It's very similar to ⌤ (an "up arrowhead between two horizontal bars"), but it was also used to symbolize a column break.

The projective was used more commonly on Macintosh keyboards to symbolize the Enter key, and the up arrowhead between two bars was more in software menus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment