Alt Character Codes: What They Change and When They Hold Up
How Windows Alt codes insert real characters, why the same number can give different results, and when they survive copying, screen readers and search.
Alt codes are a Windows keyboard method for typing characters that aren't printed on your keys. You hold the Alt key, type a number on the numeric keypad, and release Alt to insert a character. This review explains what that actually puts into your text, where the method breaks down, and whether the result stays readable and usable once it's copied or shared.
Short verdict
Alt codes work well for inserting real accented letters, typographic punctuation and common symbols that your keyboard layout lacks. Their main benefit is that the output is an ordinary stored character, not a visual effect. It copies, pastes, saves and is processed by software as the character itself. The main tradeoff is reliability of input. The same number can produce different characters depending on whether you type a leading zero, which code page your system uses and which application has focus, and the method needs a numeric keypad. Plain text is the better choice when the ordinary keyboard character already does the job, when a symbol would carry meaning on its own, and anywhere software expects plain ASCII, such as code, commands, filenames, usernames and passwords.
What an Alt code actually changes
An Alt code changes the stored text. It inserts one character into the document exactly as if a key for that character existed. It does not change the font or apply styling, and it does not create a display-only effect. Because the character is stored, the result depends on the character itself and on whether the destination's font can draw it. How it was typed doesn't matter.
Alt codes also don't reverse, mirror or restyle text. If you searched for alt codes hoping to find "fancy font" letters or upside-down text, those are different techniques. They swap ordinary letters for look-alike Unicode characters, and they cost much more in readability and accessibility than inserting a single accented letter or symbol.
Two numbering systems behind one shortcut
Windows reads the number in one of two ways. A number typed without a leading zero is looked up in the system's legacy OEM code page, which is code page 437 on US English systems. A number typed with a leading zero is looked up in the Windows ANSI code page, which is Windows-1252 on US and Western European systems. These tables differ, so the leading zero changes the result. The examples below come from those two published code page tables. Other locales use other code pages and can give different results.
| Keys typed | Table used | Character inserted |
| Alt+130 | OEM code page 437 | é |
| Alt+0233 | Windows-1252 | é |
| Alt+171 | OEM code page 437 | ½ |
| Alt+0171 | Windows-1252 | « |
| Alt+248 | OEM code page 437 | ° |
| Alt+0176 | Windows-1252 | ° |
| Alt+0151 | Windows-1252 | — (em dash) |
| Alt+0128 | Windows-1252 | € |
| Alt+3 | OEM code page 437 | ♥ |
Alt+171 and Alt+0171 show why this matters: the same digits give a fraction in one table and a quotation mark in the other. Both tables cover only 256 values. To reach the much larger Unicode range, some applications offer their own methods. Microsoft Word, for example, converts a hexadecimal code typed just before the cursor into its character when you press Alt+X. Applications handle decimal Alt codes above 255 inconsistently, so test in the program you'll actually use before relying on them. Windows also has a registry option that allows hexadecimal entry with the keypad plus key, but it is off by default.
Practical requirements and failure points
- The digits must come from the numeric keypad. The number row above the letters does not work for standard Alt codes.
- Num Lock must be on.
- Many laptops have no separate keypad. Some offer an embedded keypad through a function key, which makes entry awkward.
- The method is specific to Windows. macOS uses Option-key combinations and its own character viewer, and Linux desktops commonly offer other Unicode entry methods. Alt code numbers don't carry over to either.
- Some applications reserve Alt for menus or shortcuts, which can stop the code from registering.
- Behavior in remote desktop sessions, virtual machines and browser-based apps was not verified for this review. Test there before relying on it.
Will the result stay readable after copying or sharing?
Because an Alt code inserts a real character, copying and pasting carries that character with it. The destination still has to display it. If the font in use has no glyph for the character, readers may see an empty box or a substitute glyph. If the text is saved in a legacy encoding that can't represent the character, it may be replaced, often with a question mark. Accented letters and common punctuation from the tables above are widely supported. Less common symbols are more likely to fail somewhere along the way. One successful rendering on your screen doesn't show how it will look in an email client, a messaging app or an older system.
Screen readers process these as real characters. Accented letters are normally read as part of the word they belong to. Symbols are a different matter. Whether a screen reader announces a heart, a degree sign or an arrow by name, or skips it, depends on the screen reader's symbol dictionary and the user's punctuation settings. No documentation or test results for specific screen readers were available for this review. If accessibility matters for your audience, check the output with the assistive technology those readers use.
Search and editing bring a separate risk: some inserted characters look like ordinary ones but aren't the same. An em dash is not a hyphen, and a curly apostrophe is not a straight one. In code, terminal commands, configuration files, URLs and data fields, these substitutions can break matching or execution without any visible sign. Search tools differ in whether they treat é and e as the same letter, so an accented spelling may not match a plain-letter query everywhere.
In some cases you should provide a plain-text equivalent or use plain text instead:
• when a symbol carries meaning on its own, such as a heart for "love", an arrow for "leads to" or a check mark for "done"
• when text will be pasted into technical contexts
• when you can't confirm that the destination's fonts and encoding support the character
Accented letters in names and words are generally the right characters to keep, because removing the accent changes the spelling.
Alternatives that avoid memorizing numbers
- The Windows emoji and symbol panel, opened with the Windows key plus the period key, includes symbol and punctuation sections as well as emoji.
- Character Map, included with Windows, lets you browse a font's characters and copy them.
- Word processors such as Microsoft Word offer an Insert Symbol dialog and the Alt+X hexadecimal conversion.
- Keyboard layouts with dead keys, such as US-International, let you type accented letters directly. They also change how some punctuation keys behave.
- Autocorrect or text-replacement features can turn a short sequence into a character you use often.
Gaps in this review
No hands-on tests were supplied or performed for this review. The character mappings above come from the published code page tables. Several things were not verified and should be tested in your own environment:
• how individual applications handle decimal values above 255
• how specific screen readers announce symbols
• how particular messaging, email or social platforms render less common characters
• how Alt codes behave in remote or virtualized sessions