Windows and Mac alt codes are useful when you want to insert special characters or symbols without switching keyboards or languages on your computer. Use these codes to enter characters that aren’t associated with a key on the keyboard, such as accented characters or other symbols.

The History of Keyboard Special Characters

In the past, computer users had to switch input languages for the operating system or connect an international keyboard to use accented letters. Typing symbols was a challenge because it depended on the software application.

Windows assigns each letter, number, character, and symbol an ASCII (American Standard Code for Information Interchange) numeric character code. ASCII codes allow you to open text files in software applications. ASCII codes are also the reason some inputs (like passwords) are case-sensitive. The ASCII code for an uppercase E is different from that of a lowercase e.

Other names for these ASCII codes are alt key codes and alt numeric pad codes. You can insert these characters or symbols individually by pressing the Alt key, then typing a specific number sequence on the numeric keypad of the keyboard.

Alt codes without leading zeros (Alt+nnn) and those with leading zeros (Alt+0nnn) may produce the same or different characters and symbols, depending on the software application. Ones without leading zeros are based on the original IBM code. Those with leading zeroes are based on the original Windows code. 

You cannot use the numbers across the top of the keyboard for this. You must use the numeric keypad and with Number Lock enabled.

How to Use Windows Alt Codes

For computers or laptops with a numeric keypad, use these alt codes to insert special characters into your text.

To find a list of all the Alt codes you can use, check out Alt-Codes.net or Microsoft’s list.

Accented Letters and Special Punctuation

Symbols

How to Use Alt Codes on Mac

To use alt codes on Mac computers, use the Option key instead of the Alt key. Option codes for accented letters, symbols, and special characters work differently on Mac computers, as you press Option, the accent, then the letter. For example, to create an n with a tilde, the alt code is Option+n. To create the letter, press Option+n, then press n again because you want to place the tilde over the letter n.

How to Access Special Characters on a Mac

The macOS offers a few symbols on the keyboard. To access the majority of these symbols, use the Special Characters window. To open it, press Command+Control+Space, then search for the symbol you want to add and double-click it.

How to View All Option Codes With the Keyboard Viewer

To find a full list of Option codes available on macOS, open the Keyboard Viewer on your computer. 

  • Select the Apple Logo > System Preferences > Keyboard.
  • Go to the Keyboard tab.
  • Select Show keyboard and emoji viewers in menu bar.
  • Select the Keyboard Viewer icon in the menu bar.
  • Press Option to see one set of symbols and special characters.
  • Press Option+Shift to see the second set of symbols and special characters.
  • To insert an accented letter or symbol from the Keyboard Viewer, double-click it.

Select the Apple Logo > System Preferences > Keyboard.

Go to the Keyboard tab.

Select Show keyboard and emoji viewers in menu bar.

Select the Keyboard Viewer icon in the menu bar.

Press Option to see one set of symbols and special characters.

Press Option+Shift to see the second set of symbols and special characters.

To insert an accented letter or symbol from the Keyboard Viewer, double-click it.

Get the Latest Tech News Delivered Every Day

  • How to Type a Tilde Mark

  • How to Make the Copyright Symbol on a Mac or Windows Computer

  • How to Make a Bullet Point on a Keyboard

  • How to Add Accents in Google Docs

  • How to Type an Exponent on a Keyboard

  • How to Make a Cent Sign on a Keyboard

  • How to Type Characters With Umlaut Marks

  • How to Type Symbols and Characters on Windows and Mac

  • How to Make an Arrow on a Keyboard

  • How to Type a Grave Accent Mark on Any Keyboard

  • How to Add Acute Accent Marks on Mac and PC

  • How to Find and Insert Special Characters in Mac Mail

  • How to Type Curly Quotes and Curly Apostrophes

  • What Is a Keyboard?

  • How to Make a Divide Sign on a Keyboard

  • How to Add Accents in Word

  • Facebook

  • Twitter

Hit Refresh on Your Tech News

  • About Us

  • Privacy Policy

  • Editorial Guidelines

  • Terms of Use

  • Careers

  • Advertise

  • Contact

  • EU Privacy

  • NEWS

  • HOW TO

  • FEATURES

  • ABOUT US