Why alt codes not working issues happen and how to fix them
When you find alt codes not working on your Windows computer, the problem is usually a disabled Num Lock key, typing digits on the top row rather than a numeric keypad, or omitting the leading zero. Here is how to troubleshoot and fix keyboard symbol entry on any desktop or laptop.
1. Verify Num Lock and the numeric keypad
The single most frequent reason for alt codes failing is that Num Lock is turned off. Alt codes strictly require input from a dedicated numeric keypad. When Num Lock is inactive, the keypad keys act as navigation commands (Arrow keys, Home, Page Up, End) instead of sending numeric scan codes to Windows.
Locate the Num Lock key in the upper-left corner of your numeric keypad and press it once. Most desktop keyboards have an LED indicator that lights up when Num Lock is engaged. Once illuminated, test your alt code again by holding Alt, typing the digits on the keypad, and releasing Alt.
2. You cannot use the top row number keys
A fundamental rule of Windows alt codes is that the numbers across the top of your keyboard (above the QWERTY letters) do not work for alt codes. Even though they type the same digits in regular text, Windows drivers assign different scan codes to the top-row number keys than to the numeric keypad keys.
If you type Alt + 0176 using the top-row digits, Windows ignores the numeric sequence entirely. You must use the physical 10-key numeric pad on the right side of full-sized keyboards. If your computer lacks a keypad, see the laptop solutions below.
3. The leading zero: Windows-1252 vs Code Page 437
Many users assume Alt + 176 and Alt + 0176 do the same thing. In reality, the leading zero switches between two entirely different character sets:
- With a leading zero (Alt + 0176): Windows queries the Windows-1252 ANSI code page. This table provides modern European symbols, including the degree symbol (Alt + 0176 °), copyright (Alt + 0169 ©), registered trademark (Alt + 0174 ®), and the euro sign (Alt + 0128 €).
- Without a leading zero (Alt + 176): Windows defaults to the legacy OEM Code Page 437 from the 1981 IBM PC era. In Code Page 437, code 176 is a graphic shaded block (░). Alt + 1 produces a smiley face (☺) and Alt + 3 produces a heart (♥).
If you type an alt code and get an unexpected box-drawing character or nothing at all, check whether the code requires a leading zero. Browse our full alt code chart to see both tables mapped side by side.
4. Laptops without a dedicated numeric pad
Most compact laptops and ultrabooks lack a physical numeric keypad. Pressing Alt with the standard top-row number keys will never produce symbols. However, you have several dependable workarounds:
- Fn key overlay: Many laptops have small secondary numbers printed on the letter keys (typically M, J, K, L, U, I, O, 7, 8, 9). Press Fn + Num Lock (often on F11 or F12) to activate this hidden keypad, then hold Alt while typing those letter keys.
- Windows On-Screen Keyboard: Press Win + Ctrl + O to launch the On-Screen Keyboard. Click Options, check “Turn on numeric key pad”, click NumLock on the virtual screen, and click the keys while holding Alt on your physical keyboard.
- External USB keypad: For data entry professionals, an inexpensive plug-and-play USB number pad provides full hardware alt code functionality.
5. Enable hex Unicode input in Windows Registry
If you want to type any Unicode character by its hexadecimal code (such as Alt + 221A for square root), you must enable the Windows EnableHexNumpad registry key. Standard Windows only accepts decimal numbers up to 255 unless this setting is turned on.
To enable it: press Win + R, type regedit, and press Enter. Navigate to HKEY_CURRENT_USER\Control Panel\Input Method. Right-click the right pane, select New > String Value, and name it EnableHexNumpad. Double-click the new key and set its value data to 1. Restart your computer.
After rebooting, you can hold down the left Alt key, tap the + key on the numeric pad, type the hexadecimal code (letters A–F work from the main keyboard), and release Alt. For example, Alt + + + 2 + 7 + 1 + 3 outputs ✓.
6. Modern alternatives: Win + . and Character Map
If hardware limitations make alt codes impractical, modern Windows offers built-in tools that are faster and more reliable:
- The Windows Emoji Panel: Press Win + . (period) anywhere you can type. Click the Symbols (Ω) tab at the top. You will find categorized sections for punctuation, currency, math operators, arrows, and language symbols. Read our guide on typing emoji on Windows.
- Windows Character Map: Press Win + R, type
charmap, and press Enter. You can browse and search every character installed on your system. Read our detailed guide to using Windows Character Map. - US-International Keyboard: Switch your layout to type accents and symbols with single dead keys; learn how in our US-International keyboard guide.
Frequently asked questions
Why do my alt codes type numbers instead of symbols?
Your Num Lock key is likely turned off, or you are typing numbers across the top of your keyboard instead of on the numeric keypad.
Can I use alt codes on a laptop without a number pad?
Not with the top row of numbers. Use the virtual On-Screen Keyboard with keypad enabled, the Win + . emoji and symbol panel, or an external USB keypad.
Why does Alt + 0176 give ° but Alt + 176 gives ░?
Alt codes with a leading zero use Windows-1252 (Western European), where 176 is °. Without a zero, Windows uses CP437, where 176 is a shaded box block.
Why do alt codes above 255 fail in most applications?
Codes above 255 are not standard alt codes; they rely on application-specific Unicode handling. Use the Win + . symbol panel or Word’s Alt + X instead.