Skip to content

Instantly share code, notes, and snippets.

@zmwangx
Last active August 13, 2025 22:22
Show Gist options
  • Save zmwangx/10571883 to your computer and use it in GitHub Desktop.
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.

@noah-nuebling
Copy link

noah-nuebling commented Jul 20, 2025

Here's another one:

🌐︎ – 🌐︎🌐︎ – the Globe / fn Key symbol

Discussion

Though it looks exactly like it, this is not the globe SF Symbol, it's an emoji with a text-style modifier. See its Wiktionary page.

About the fn and globe SF Symbols

In macOS, the fn SF Symbol seems to be used instead of the globe SF Symbol, unless the attached keyboard reports the "SupportsGlobeKey" property in the IORegistry. (See this StackOverflow post).

I investigated, but came to the conclusion, that the fn SF Symbol probably doesn't have a standard unicode equivalent like 🌐︎. Investigation:
As of macOS 15 (Sequoia), in System Settings > Keyboard > Keyboard Shortcuts..., the textfields only display Unicode characters. So Apple substitutes 🌐︎ for the globe SF Symbol. To substitute the fn SF Symbol, they simply use the character sequence fn (including the trailing space), which strongly suggests that there's no dedicated Unicode substitute.

I hope that was insightful or useful for someone!

@April-June-August
Copy link

@noah-nuebling I was making a tool to search through menu bar items and found this piece of info very helpful. Thank you.

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