MainspringGuides › Unicode hex input
macOS Guide

How to Type Any Unicode Character on Mac (Hex Input)

Updated August 2026 · 3 min read

Somewhere below emoji pickers and Option combos sits the Mac's most precise typing tool: Unicode Hex Input, a built-in keyboard where holding Option and typing a four-digit code produces any character in Unicode's core set. If you know the code point, you can type the character — no menus, no search, no copy-paste from a website.

Add the Unicode Hex Input keyboard

  1. Open System Settings → Keyboard and click Edit… next to Input Sources.
  2. Click +, then scroll the language list to Others at the very bottom.
  3. Select Unicode Hex Input and click Add.
  4. While you're in this sheet, enable Show Input menu in menu bar so you can see which source is active.

The steps are identical on macOS 13 Ventura, 14 Sonoma, and 15 Sequoia. Nothing installs and nothing changes until you actively switch to the new source — your regular keyboard behaves exactly as before.

Type by code point

  1. Switch to Unicode Hex Input — click the input menu in the menu bar, or cycle with Ctrl+Space.
  2. Hold Option and type the character's four-digit hex code.
  3. Release. The character appears.

Try it: Option+2665 → ♥. Option+2713 → ✓. Option+00E9 → é (note the leading zeros — the code is always four digits). Option+03C0 → π. Any code you find in a Unicode chart, a font specimen, or a "what character is this?" site now types directly.

A starter set of useful codes

Ten minutes with a Unicode chart and a scratch document turns the codes you care about into muscle memory — most people only ever need four or five.

Finding the code for a character

The Character Viewer doubles as your lookup table. Press Ctrl+Cmd+Space, search for the character by name ("heart", "check", "dagger"), click it, and the detail pane shows its code — ♥ displays U+2665. The four digits after "U+" are what you type. Going the other direction — you have a mystery character and want its identity — paste it into the Character Viewer search and the name and code appear.

Limits and trade-offs, honestly

Who actually needs this: developers reproducing exact characters in test data, typographers and editors distinguishing lookalikes (hyphen U+2010 vs minus U+2212), linguists, and anyone who ever needs a character the pickers refuse to surface. It's a scalpel — rarely the first tool, irreplaceable when it's the right one.

Precision without memorizing hex

Unicode Hex Input is wonderfully exact and wonderfully obscure — like most Mac depths. Mainspring charts the settings layer: 90+ hidden macOS tweaks as labelled, reversible toggles.

Try Mainspring free →

Signed & notarized by Apple · 1-day free trial · $29 once