How to Type a Tilde Mark

Shortcuts to broaden the number of characters you can type

The Ultimate Guide to Keyboard Shortcuts
The Ultimate Guide to Keyboard Shortcuts

A tilde key or tilde symbol is a small wavy line that appears over certain consonants and vowels, such as in Ã, ã, Ñ, ñ, Õ, and õ. To add a tilde mark to a letter using a PC, you need to type a specific number code. On a Mac, it's a little easier.

Person typing Spanish Vocabulary Words with the ~ mark
Lifewire / Derek Abella

How to Type a Tilde Mark Using a Keyboard Shortcut

Keyboard shortcuts vary by platform and operating system. Most keyboards include a tilde key for in-line tilde marks, as in ~3000 B.C. But this key cannot be used to accent a letter. Here's how to add a tilde symbol for the most common operating systems and platforms.

On a Mac

Hold the Option key, press the letter N, then release both keys. A tilde appears above an underscored blank space. Now type the letter to be accented. If you'd like the accented letter to be uppercase, press and hold the Shift key and type the letter as you would capitalize any letter.

On a Windows PC

Enable Num Lock, hold the ALT key, and enter the appropriate number code on the numeric keypad to create characters with tilde accent marks.

The number codes for uppercase letters are as follows:

  • Alt+0195 = Ã
  • Alt+0209 = Ñ
  • Alt+0213 = Õ

The number codes for lowercase letters are as follows:

  • Alt+0227 = ã
  • Alt+0241 = ñ
  • Alt+0245 = õ

If the keyboard doesn't have a numeric keypad on the right side, paste accented characters from the character map. To locate the character map in Windows 10, select Start > Windows Accessories > Character Map. Alternatively, go to the search box in the Windows taskbar and enter character map. Select the letter you want and paste it into the document you're working on.

For older versions of Windows, navigate to Start > All Programs > Accessories > System Tools > Character Map to open the character map.

Windows Character Map


In HTML, render characters with tilde marks by typing the & (ampersand symbol), followed by the letter (A, N, or O), the word tilde, then a semicolon (;) without any spaces between the characters. For example:

ñ = ñ
Õ = Õ

In HTML, the characters with tilde marks may appear smaller than the surrounding text. You may wish to enlarge the font for those characters in some circumstances.

iOS and Android Mobile Devices

Access special characters with accent marks, including the tilde, using the virtual keyboard on a mobile device. Press and hold the A, N, or O key on the virtual keyboard to open a window with various accented options. Slide your finger to the character with a tilde and lift your finger to select it.

How to find a tilde on iOS keyboard.