Looking to enter a Unicode character—any Unicode character? Find out here how to type a Unicode character on a Mac using UTF-16 input and a special macOS hex Unicode keyboard.
First, Just How Many Are There?
Unicode began as 16 bits of encoded character. That makes for 65 536 spots, and immediately the question was raised: is that enough?
The Unicode 88 proposal for what was to become Unicode had a clear answer in 1988:
The answer to this is Yes.
Unicode 88
In 2020, Unicode 13 counted some 143 859 characters (depending on the definition of “character”)—and you can type all of them on your Mac using 16 bits:
How to Enter Unicode Characters Directly on a Mac (with Unicode Hex Input)
Time needed: 3 minutes
To type any UTF-16 Unicode character directly using its code on a Mac using macOS:
- Enable Mac Unicode Hex Input. (See below.)
- Switch to Unicode Hex Input.
Easiest: Use the input menu in the menu bar.
Alternative: Use the FN key to bring up the input sources menu. (Enable in Keyboard system preferences.) - Press and hold the Option key.
- Type the UTF-16 code corresponding to the character you want to enter, all the while holding the Option key
Example: Type D 8 3 D D E A 0 for a cable car 🚠.
Note: Because the cable car is in the supplemental code pages, it requires 8 (instead of 4) characters to type, and after the first 4 a character may appear that indicates accessing extended characters. - Release the Option key.
Looking for umlauts? Type umlaut characters using Unicode or a prefix on your Mac.
Enable macOS Unicode Hex Input on a Mac
To turn on the Unicode hex keyboard on your Mac:
- Open System Settings (or System Preferences) on the Mac.
Here’s how: Open the Apple logo menu (), for instance, and select System Settings…. - Go to the Keyboard category.
- Click Edit… for Input Sources (under Text Input).
Before macOS Ventura 13: Open the Input Sources tab. - Click +.
- Select Others.
- Pick Unicode Hex Input.
- Click Add followed by Done.
Menu bar access: Check Show input menu in menu bar for a fast way to switch between input sources.
Also a kind of *nix: How to Insert Emoji and Special Characters on Linux
Use the Mac Character Viewer to Enter Unicode Characters
You can, of course, also use the character viewer built into macOS to insert Unicode characters anywhere.
Use the viewer’s Search field to find characters by name, code point (U+1F6A0
, for instance) or UTF-8 encoding (e.g., F09F 9AA0
). Character Viewer will, alas not, find by or display the UTF-16 encoding for characters.
Dealing with all those characters: How to Use Text Editing Keyboard Shortcuts on a Mac
How to Enter Unicode Characters on a Mac: FAQ
Do I use big- or little-endian encoding?
To enter Unicode characters in macOS, use UTF-16BE or big-endian.
Can I use UTF-8 or UTF-32?
No.
Text entry using Unicode Hex Input accepts only UTF-16 codes.
How do I find the UTF-16 encoding for my character?
It is easiest to use a site such as Codepoints or Compart to search for characters, emoji and more by name, then see the UTF-16 encoding to use immediately.
You can also browse the Unicode Code Charts, of course, but will have to convert the code point to UTF-16 for all supplemental characters.
How can I get a Unicode Keyboard for Mac?
The Unicode Hex Input source lets you enter Unicode characters by code, and the Character Viewer lets you enter Unicode characters by search as well as visually.
To get a keyboard that lets you enter Unicode characters for any (supported) language and script directly, do add its input source:
- Open System Settings.
- Open the Keyboard category.
- Click Edit… for Input Sources.
macOS Monterey and earlier: Go to the Input Sources tab. - Click + beneath the list of current input sources.
- Highlight the keyboard layout you want to add.
Finding your keyboard: You can search by script, language and sometimes country.
Example: For Burmese Unicode keyboard, you can search forMyanmar
orBurmese
, for instance. - Click Add.
More than a keyboard: You can also change the language on your Mac altogether.
(How to enter Unicode characters on a Mac tested with macOS Sonoma 14.0–14.6, Ventura 13.3, Monterey 12.0 and Big Sur 11.2; first published April 2021, last updated September 2024)