Character alt codes are numeric input sequences that let users enter symbols, letters, and glyphs not available on a standard keyboard by holding a modifier and typing a code on the numeric keypad. On Windows, the Alt key combined with digits produces Unicode characters in many desktop applications, while macOS and Linux rely on different mechanisms such as Option/Alt key combinations and compose keys. This guide explains how these codes work, which operating systems support them, how to find the right codes for your needs, and how to troubleshoot common issues so you can reliably enter the characters you want.
What Are Character Alt Codes
Character alt codes are keyboard shortcuts that enable input of characters beyond the standard alphanumeric set by holding a modifier key and entering a numeric sequence. On Windows, holding the Alt key and typing a code on the numeric keypad produces a specific character, for example Alt 0169 for © or Alt 0174 for ®. On macOS, the Option or Alt key often acts as a compose key for accents and symbols, while Linux systems may use the Compose key or dead keys instead. These codes are most reliable in applications that support extended character input and in system layouts that include a dedicated numeric keypad.
How Alt Codes Work on Windows
On Windows, holding the Alt key and typing a decimal code on the numeric keypad triggers a character input sequence interpreted by applications and the system. For example, Alt 65 produces A, while Alt 0233 produces é. The code length and leading zeros can vary, and not all codes map directly to Unicode code points; some produce legacy code page characters depending on the active system and application code page. Modern Windows applications generally accept Unicode input via alt codes when using a Unicode build, but legacy behavior can appear in older programs or when the system locale differs from the character being entered.
How Alt Codes Work on macOS and Linux
macOS and Linux typically do not use numeric alt codes in the same way Windows does. On macOS, Option combinations generate accents, smart quotes, and symbols, while the Option-Shift-2 key produces the trademark symbol ™. Linux systems often use the Compose key, which lets users press a sequence such as Compose " c to produce č. Some Linux setups also support composing sequences via the dead key method. Because these platforms rely more on key combinations than numeric entry, users who switch between platforms may need to learn platform-specific workflows or use character pickers and menus instead.
Finding and Using Alt Codes
Finding the right alt code starts with identifying the character you need, then checking reference lists, operating system tools, or application-specific input methods. Windows users can access a character map utility that shows codes and copy-paste options, while macOS and Linux provide character viewers and compose key setups. Searchable tables that list codes by symbol or description are widely available, and some applications support autocomplete or mnemonic shortcuts that reduce the need to memorize numeric sequences.
Use the following checklist to decide when an alt code is the right approach:
- You need a character not present on your keyboard and cannot use a touch or on-screen picker.
- Your application accepts numeric input sequences and a consistent code page is available.
- A keyboard shortcut or compose sequence is unavailable or inconsistent across platforms.
- You are working in an environment where quick, precise entry of special characters is required, such as technical documentation or code comments.