Windows alt codes: the full list, and how to type them
To type an alt code, turn on Num Lock, hold the left Alt key, type the number on the numeric keypad and release Alt. Alt 0176 and Alt 248 both type the degree sign °. No numeric keypad? Press Win+. to open the symbol panel instead.
Last updated
How to type an alt code, step by step
Windows only listens to the numeric keypad for this. The number row above the letters sends different key codes and is ignored, and with Num Lock off the keypad acts as arrow and navigation keys, so the sequence moves the cursor instead of typing anything.
- Turn on Num Lock. On most keyboards a light on or above the key shows that it is on.
- Click where the character should go, so the text cursor is blinking there.
- Press and hold the left Alt key. On layouts with an AltGr key, the right-hand Alt is AltGr, so use the left one.
- Type the number on the numeric keypad, including any leading zero: 0 1 7 6 for the degree sign.
- Release Alt. The character appears at the cursor.
Why Alt 248 and Alt 0176 both give a degree sign
Windows reads an alt code against one of two character tables, and the leading zero decides which. A code without a leading zero, Alt 1 to Alt 255, uses the OEM code page of the system locale. On US-English Windows that is code page 437, the character set of the original IBM PC. A code with a leading zero, Alt 0128 to Alt 0255, uses the ANSI code page, which on Western systems is Windows-1252.
The two tables keep characters in different places. The degree sign sits at 248 in code page 437 and at 176 in Windows-1252, so Alt 248 and Alt 0176 both type °. Leave the zero off the second one and Alt 176 types ░, a light shade block, because that is what code page 437 keeps at 176. Most wrong-character complaints come down to that one zero.
The first table depends on the locale. Much of Western Europe uses OEM code page 850 rather than 437, and there some of the codes without a leading zero give a different character. On Western systems the codes with a leading zero are the more portable choice for that reason.
Why Alt 8594 is not a reliable arrow
Numbers above 255 are not a third table, and what they type depends on the program. Some rich-text editors read them as a decimal Unicode code point, so Alt 8594 gives the arrow U+2192. The plain Windows input path instead keeps only the remainder after dividing by 256 and types whatever sits at that position: 8594 leaves 146, and Alt 146 in code page 437 is Æ.
That is why lists with five-digit alt codes for check marks and stars work for some readers and produce a stray letter for others. This page only lists the codes from the two tables, which behave the same in every program that accepts alt codes at all. For anything else, use one of the methods further down: Alt+X in Word, hex input, the emoji and symbol panel, or copying the character.
For an arrow without the uncertainty, Alt 26 types → from code page 437 on US-English Windows, and Alt 24, Alt 25 and Alt 27 give the other three directions.
The alt codes people look up most
| Character | Name | Alt code | Unicode | Copy |
|---|---|---|---|---|
| ° | Degree sign | Alt 0176 or Alt 248 | U+00B0 | |
| € | Euro sign | Alt 0128 | U+20AC | |
| £ | Pound sign | Alt 0163 or Alt 156 | U+00A3 | |
| ¢ | Cent sign | Alt 0162 or Alt 155 | U+00A2 | |
| ¥ | Yen sign | Alt 0165 or Alt 157 | U+00A5 | |
| © | Copyright sign | Alt 0169 | U+00A9 | |
| ® | Registered sign | Alt 0174 | U+00AE | |
| ™ | Trade mark sign | Alt 0153 | U+2122 | |
| § | Section sign | Alt 0167 or Alt 21 | U+00A7 | |
| ¶ | Pilcrow sign | Alt 0182 or Alt 20 | U+00B6 | |
| ± | Plus-minus sign | Alt 0177 or Alt 241 | U+00B1 | |
| × | Multiplication sign | Alt 0215 | U+00D7 | |
| ÷ | Division sign | Alt 0247 or Alt 246 | U+00F7 | |
| ≈ | Almost equal to | Alt 247 | U+2248 | |
| ≤ | Less-than or equal to | Alt 243 | U+2264 | |
| ≥ | Greater-than or equal to | Alt 242 | U+2265 | |
| √ | Square root | Alt 251 | U+221A | |
| ∞ | Infinity | Alt 236 | U+221E | |
| π | Greek small letter pi | Alt 227 | U+03C0 | |
| µ | Micro sign | Alt 0181 or Alt 230 | U+00B5 | |
| ½ | Vulgar fraction one half | Alt 0189 or Alt 171 | U+00BD | |
| ¼ | Vulgar fraction one quarter | Alt 0188 or Alt 172 | U+00BC | |
| ¾ | Vulgar fraction three quarters | Alt 0190 | U+00BE | |
| ² | Superscript two | Alt 0178 or Alt 253 | U+00B2 | |
| ³ | Superscript three | Alt 0179 | U+00B3 | |
| • | Bullet | Alt 0149 or Alt 7 | U+2022 | |
| … | Horizontal ellipsis | Alt 0133 | U+2026 | |
| – | En dash | Alt 0150 | U+2013 | |
| — | Em dash | Alt 0151 | U+2014 | |
| “ | Left double quotation mark | Alt 0147 | U+201C | |
| ” | Right double quotation mark | Alt 0148 | U+201D | |
| ‘ | Left single quotation mark | Alt 0145 | U+2018 | |
| ’ | Right single quotation mark | Alt 0146 | U+2019 | |
| « | Left-pointing double angle quotation mark | Alt 0171 or Alt 174 | U+00AB | |
| » | Right-pointing double angle quotation mark | Alt 0187 or Alt 175 | U+00BB | |
| ¿ | Inverted question mark | Alt 0191 or Alt 168 | U+00BF | |
| ¡ | Inverted exclamation mark | Alt 0161 or Alt 173 | U+00A1 | |
| † | Dagger | Alt 0134 | U+2020 | |
| é | Latin small letter e with acute | Alt 0233 or Alt 130 | U+00E9 | |
| ñ | Latin small letter n with tilde | Alt 0241 or Alt 164 | U+00F1 | |
| ü | Latin small letter u with diaeresis | Alt 0252 or Alt 129 | U+00FC | |
| ♥ | Black heart suit | Alt 3 | U+2665 | |
| ♦ | Black diamond suit | Alt 4 | U+2666 | |
| ♣ | Black club suit | Alt 5 | U+2663 | |
| ♠ | Black spade suit | Alt 6 | U+2660 | |
| ☺ | White smiling face | Alt 1 | U+263A | |
| ♪ | Eighth note | Alt 13 | U+266A | |
| → | Rightwards arrow | Alt 26 | U+2192 | |
| ← | Leftwards arrow | Alt 27 | U+2190 | |
| ↑ | Upwards arrow | Alt 24 | U+2191 | |
| ↓ | Downwards arrow | Alt 25 | U+2193 | |
| ↔ | Left right arrow | Alt 29 | U+2194 | |
| ▲ | Black up-pointing triangle | Alt 30 | U+25B2 | |
| ▼ | Black down-pointing triangle | Alt 31 | U+25BC | |
| ■ | Black square | Alt 254 | U+25A0 | |
| █ | Full block | Alt 219 | U+2588 |
Two favourites are missing on purpose. The check mark ✓ and the black star ★ are in neither table, so they have no alt code. Copy them, or use Alt+X in Word or the Win+. panel described below.
Alt 1 to Alt 255: the full code page 437 list
These are the codes without a leading zero, as US-English Windows types them. Alt 1 to Alt 31 and Alt 127 give the small pictures the IBM PC drew in place of control codes: faces, card suits, musical notes, arrows and a house. Alt 32 to Alt 126 give the same characters as the keys of a US keyboard, from the space to the tilde, and are listed for completeness. Alt 128 to Alt 255 hold accented letters, currency signs, box drawing, shading, Greek letters and mathematical signs.
On a system whose OEM code page is not 437, the codes from 128 up can type different characters. The Windows-1252 codes below, with their leading zero, do not have that problem on Western systems.
Source: Unicode mapping of code page 437 (CP437.TXT) and Unicode mapping of the IBM PC graphics characters (IBMGRAPH.TXT).
Alt 0128 to Alt 0255: the full Windows-1252 list
These are the codes with a leading zero. They cover the curly quotes, the dashes, the euro sign, the trade mark sign, the accented letters of Western European languages and common signs such as © and °. Five numbers in the range, 0129, 0141, 0143, 0144 and 0157, are undefined in Windows-1252 and type nothing useful, so the list has 123 rows rather than 128.
Alt 0032 to Alt 0126 work as well and give the same characters as the keys, so they are not repeated here.
Source: Unicode mapping of Windows-1252 (CP1252.TXT) and WHATWG Encoding Standard, windows-1252 index.
Source and method
Both lists are generated from published mappings, not typed by hand. The code page 437 list reads positions 128 to 255 from the Unicode mapping file CP437.TXT, and positions 1 to 31 and 127 from IBMGRAPH.TXT, which maps the pictures the IBM PC drew in place of control codes; positions 32 to 126 are plain ASCII. The Windows-1252 list reads each position from the WHATWG windows-1252 index and leaves out the five positions that are undefined in Microsoft's CP1252.TXT.
Every row has its own anchor, so a single code can be linked and cited: #alt-169 is Alt 169 in the code page 437 list and #alt-0169 is Alt 0169 in the Windows-1252 list. The same rows, generated from the same tables, are available as one CSV file with the alt code, code page, character, code point, name where the site has one, and the anchor URL.
Download the alt code tables as CSV (UTF-8, one row per alt code).
Source: Unicode mapping of code page 437 (CP437.TXT), Unicode mapping of the IBM PC graphics characters (IBMGRAPH.TXT), Unicode mapping of Windows-1252 (CP1252.TXT) and WHATWG Encoding Standard, windows-1252 index.
Alt codes on a laptop with no numeric keypad
Alt codes need a numeric keypad, and most laptops do not have one. These are the alternatives, from the most to the least convenient.
- Press the Windows key and the full stop together (Win+.). Windows opens the emoji panel, which also has a symbols section with punctuation, currency, geometric shapes, maths and language symbols. Click one to insert it.
- Open Character Map: type charmap in the Start menu search, find the character, click Select and then Copy. For a character in the Windows-1252 table, its status bar also shows the keystroke, such as Alt+0176.
- Use the hidden keypad if your laptop has one. Some laptops print small digits on the 7, 8, 9, U, I, O, J, K, L and M keys and switch them to a keypad with Fn and a Num Lock or NumLk key.
- Use the On-Screen Keyboard, opened with Win+Ctrl+O. Under Options, tick Turn on numeric key pad. Whether an alt code entered through it registers depends on how the on-screen Alt key is held, so treat it as a last resort.
- Copy the character instead. It is the one method that works the same in every program, which is what the rest of this site is for.
Make it a shortcut
Without a numeric keypad, text replacement is the most dependable way to type the same symbols every day. AutoHotkey, a free scripting tool for Windows, can replace a short trigger such as ;deg with the degree sign as soon as you type it. Espanso, a free and open source text expander, does the same on Windows, macOS and Linux, so one list of triggers follows you across machines.
To build that list, star the glyphs you use and choose Make keyboard shortcuts in My set: it writes a ready AutoHotkey v2 script and an Espanso file with editable triggers.
Alt+X in Microsoft Word: any character, no keypad
Alt+X reaches characters far beyond the two alt code tables, emoji included: 1F534 followed by Alt+X gives a large red circle. Pressing Alt+X right after a character does the reverse and turns it back into its code point, which is a quick way to find out what you are looking at.
It is a Word feature, not a Windows one, so it does nothing in Notepad, in Excel or in a browser. If the character before your digits is itself a hexadecimal digit, Word can read it as part of the code; type a space first and delete it afterwards.
- Type the hexadecimal code point of the character, for example 2192 for the rightwards arrow.
- Leave the cursor directly after the last digit.
- Press Alt and X together. Word replaces the digits with the character.
Hex input with EnableHexNumpad
Windows has a second, little-known mode that takes the hexadecimal code point instead of a decimal number. It is off by default and is switched on with a registry value, so only use it if you are comfortable editing the registry.
- Open the Registry Editor (regedit) and go to HKEY_CURRENT_USER\Control Panel\Input Method.
- Create a String Value named EnableHexNumpad and set its data to 1.
- Sign out and back in, or restart, so the setting takes effect.
- To type a character, hold Alt, press the plus key on the numeric keypad, type the hex code point and release Alt. Alt, plus, 2 1 9 2 gives the rightwards arrow.
Two caveats. Not every program supports it: classic Windows text fields usually do, while some browsers, Office programs and apps with their own text handling ignore it. And the letters A to F of a hex code are typed on the main keyboard, where Alt plus a letter can open a menu instead. The plus still has to come from the numeric keypad, so this does not help on a laptop without one.
Where alt codes stop working, and why
An alt code is assembled by Windows before the keystroke reaches the application, but the application gets to decide whether it wants the Alt key at all. Browsers use Alt to open menus and to jump to access keys. Office applications use Alt to enter the ribbon. Terminal emulators frequently map Alt to a meta modifier for the shell. In all three cases the sequence can be swallowed before Windows ever turns the digits into a character.
That is why the same alt code works in Notepad, does nothing in a browser, and opens a menu in another program. It is not the code that is wrong; the application claimed the key first. There is no setting that fixes this in general, which is the honest answer that alt code lists tend to leave out.
A second failure is quieter. A code above 255 belongs to neither table, and where a program does not read it as a Unicode code point, Windows wraps it below 256 and types that character instead. You get a character rather than nothing, which is worse, because the mistake is easy to miss.
Alt codes in remote sessions and virtual machines
Remote desktop sessions, virtual machines and browser-based terminals add another layer. Each one has to forward the raw key events rather than the resulting characters, and several of them do not forward the Alt-held state of the numeric keypad correctly. The symptom is that a code which works locally produces nothing, or produces the plain digits, inside the session.
If you spend time in those environments the practical order is short. Copy the character where you can, use the Word conversion where the target is a Word document, and keep a small personal list of the ten characters you actually need rather than relying on typing them at all.
Alt codes are Windows-only
There is no alt code on macOS, Linux, ChromeOS, iOS or Android. Those platforms use their own mechanisms: Option key combinations and the Character Viewer on macOS, Ctrl+Shift+U followed by the hexadecimal code point on Linux with IBus, and the emoji keyboard on phones. If a page promises you an alt code for a Mac, it is describing something else.
On a Mac, read how to type special characters on a Mac instead.
Frequently asked questions
How do I get all alt codes in Windows 11, up to 65535?
There is no alt code list up to 65535. Windows alt codes stop at 255: Alt 1 to Alt 255 read code page 437 and Alt 0128 to Alt 0255 read Windows-1252, and both full tables are on this page. A number above 255 is read as a decimal Unicode code point by some rich-text editors and wrapped below 256 by the plain Windows input, so it is not dependable. To reach any code point, type its hex code and press Alt+X in Word, turn on hex input with EnableHexNumpad, or use the Win+. panel.
What are explicit alt codes?
There is no official term by that name. It usually means the codes typed with an explicit leading zero, Alt 0128 to Alt 0255, which read Windows-1252 and give the same character on every Western Windows system. The codes without a zero read the OEM code page of the system locale, so their result can depend on the machine.
What is the alt code for 🔴 in Windows?
There is none. 🔴 is the emoji U+1F534, large red circle, and emoji are in neither alt code table, which stop at 255. Press the Windows key and the full stop (Win+.) to open the emoji panel and search for red circle, type 1F534 and press Alt+X in Word, or copy it.
Is there a full list of alt code characters for Windows?
Yes, and it is shorter than most lists suggest: 255 codes without a leading zero and 123 with one. This page lists both in full, Alt 1 to Alt 255 from code page 437 and Alt 0128 to Alt 0255 from Windows-1252, generated from the mappings the Unicode Consortium publishes, each with a copy button.
Why does my alt code produce the wrong character?
Almost always the leading zero. Alt 0176 uses Windows-1252 and gives the degree sign; Alt 176 uses code page 437 and gives ░, a light shade block. Add or remove the leading zero and try again.
Why does Alt 8594 type a letter instead of an arrow?
The plain Windows input keeps only the remainder after dividing by 256. 8594 leaves 146, and Alt 146 is Æ. Some rich-text editors read the full number as a Unicode code point and do give an arrow. For a dependable arrow use Alt 26, or 2192 followed by Alt+X in Word.
Do alt codes work in the browser?
Sometimes. Browsers claim the Alt key for their own menu shortcuts, so the sequence can be swallowed before it reaches the text field. Copying the character is the reliable route in a browser.
Is there an alt code for every symbol?
No. Only the 321 distinct characters in the two tables have one. The check mark, the black star and almost all emoji have none; copy them, or use Alt+X in Word or the Win+. panel.
Copy the characters in this guide
Related category hubs
Other guides
- Mac Special Characters: Every Way to Type Them
- Special Characters in Microsoft Word
- Special Characters in Google Docs
- HTML Entities: Named, Decimal and Hex
- Why Symbols Show as Boxes (Missing Glyph)
Or skip the keystrokes: open the full symbol reference and click any glyph to copy it.