Accented letters · guide

N with accent ñ ň ń ņ ǹ ṅ

Unicode has 9 accented lowercase n and 9 uppercase forms. Click any letter below to copy it, then use the sections that follow to type it yourself on Windows, Mac, iPhone, Android, Word and Google Docs.

Accent keyboard →
One-minute answer
  1. 1Copy it. Click any letter on this page, then paste.
  2. 2Windows: Alt+0241 on the numpad types ñ.
  3. 3Mac, iPhone, Android: hold N and pick from ñ ń.
  4. 4Word: type 00F1 then Alt+X for ñ.

Copy any accented n

Click a letter to copy it. Click its name for the symbol's own page with every code and method.

Lowercase

N with Grave
N with Dot above
N with Dot below
N with Line below
N with Circumflex below

Uppercase

N with Grave
N with Dot above
N with Dot below
N with Line below
N with Circumflex below

Every accented n: codes and shortcuts

Alt codes exist only for letters in the Windows-1252 code page. Everything else can be typed in Word with the hex code followed by Alt+X, or copied from the table. Mac shortcuts are for the US keyboard layout.

LetterNameUnicodeAlt codeWordMacHTMLUsed in
N with Tilde U+00F1 Alt+0241 Ctrl+Shift+~, n Option+N, N Spanish, Filipino (Tagalog)
N with Caron U+0148 — 0148 then Alt+X Option+V, N (ABC Extended) Czech, Slovak
N with Acute U+0144 — 0144 then Alt+X — Polish
N with Cedilla U+0146 — 0146 then Alt+X Option+C, N (ABC Extended) Latvian
N with Grave U+01F9 — 01F9 then Alt+X — —
N with Dot above U+1E45 — 1E45 then Alt+X Option+W, N (ABC Extended) —
N with Dot below U+1E47 — 1E47 then Alt+X Option+X, N (ABC Extended) —
N with Line below U+1E49 — 1E49 then Alt+X — —
N with Circumflex below U+1E4B — 1E4B then Alt+X — —
Capital N with Tilde U+00D1 Alt+0209 Ctrl+Shift+~, Shift+N Option+N, Shift+N Spanish, Filipino (Tagalog)
Capital N with Caron U+0147 — 0147 then Alt+X Option+V, Shift+N (ABC Extended) Czech, Slovak
Capital N with Acute U+0143 — 0143 then Alt+X — Polish
Capital N with Cedilla U+0145 — 0145 then Alt+X Option+C, Shift+N (ABC Extended) Latvian
Capital N with Grave U+01F8 — 01F8 then Alt+X — —
Capital N with Dot above U+1E44 — 1E44 then Alt+X Option+W, Shift+N (ABC Extended) —
Capital N with Dot below U+1E46 — 1E46 then Alt+X Option+X, Shift+N (ABC Extended) —
Capital N with Line below U+1E48 — 1E48 then Alt+X — —
Capital N with Circumflex below U+1E4A — 1E4A then Alt+X — —

Which accented n do you need?

The accent tells you the language. Pick the keyboard for yours and every letter it needs is one click away.

ñ n with tilde: A wavy line. Spanish ñ, Portuguese nasal vowels ã and õ, and Estonian õ all use it. Used in Spanish, Filipino (Tagalog).

ň n with caron: A small V above the letter, also called a háček or wedge. Czech, Slovak, Slovenian, Croatian and Lithuanian use it for sounds like ch, sh and zh. Used in Czech, Slovak.

ń n with acute: A short stroke rising to the right. Marks stress in Spanish, vowel quality in French and Italian, and long vowels in Hungarian, Czech and Irish. Used in Polish.

ņ n with cedilla: A small hook under the letter. French and Portuguese ç sounds like s; Turkish ç and ş are ch and sh; Latvian and Romanian use it under other consonants. Used in Latvian.

ǹ n with grave: A short stroke falling to the right. Common in French and Italian, where it changes pronunciation or distinguishes words such as a and à.

ṅ n with dot above: A single dot above the letter. Turkish dotted İ, Polish ż, Lithuanian ė, Maltese ċ, ġ, ż and traditional Irish lenition all use it.

How to type n with an accent on Windows

Alt codes

Hold Alt, type the code on the numeric keypad with Num Lock on, then release Alt. The number row above the letters does not work.

LetterAlt codeLetterAlt code
Alt+0241Alt+0209

ň ń ņ ǹ ṅ ṇ ṉ ṋ have no classic Alt code. Use one of the methods below for those.

US-International keyboard (dead keys)

Switch to the United States-International layout (Settings → Time & Language → Language → English → Options → Add a keyboard). Then press the accent key, release it, and press the letter:

  • ' then the letter gives ń
  • ` then the letter gives ǹ
  • Shift+` (~) then the letter gives ñ
  • ' then c (for ç only) gives ņ
  • AltGr+N gives ñ directly

Emoji and symbol panel

Press Win+., open the Symbols tab (Ω), choose Latin symbols and click the letter. Works in every app and needs no numpad. Character Map (search it in the Start menu) does the same for older versions of Windows.

How to type n with an accent on a Mac

Press and hold

Hold the N key for a second. A small menu appears with ñ ń. Press the number shown under the one you want, or click it. Hold Shift first for the capital.

Option dead keys

Press the Option combination, release it, then press the letter.

  • Option+N, N gives ñ, Option+N, Shift+N gives Ñ

Character Viewer

Press Control+⌘+Space, type "n with" in the search box and double-click the letter. For carons, macrons, ogoneks and other marks that the US layout cannot type, add the ABC Extended input source (System Settings → Keyboard → Input Sources) which has dead keys for all of them.

How to type n with an accent on iPhone, iPad and Android

  1. Press and hold the N key.
  2. A pop-up shows ñ ń.
  3. Slide your finger onto the one you want and release.

For frequent use, save a shortcut: on iPhone go to Settings → General → Keyboard → Text Replacement; on Android open Gboard → Dictionary → Personal dictionary. Enter the accented letter as the phrase and a short code as the shortcut.

Word, Excel, PowerPoint and Google Docs

Microsoft Word

Word has built-in accent shortcuts. Press the combination, release it, then type the letter:

  • Ctrl+Shift+~, n gives ñ

For any form, type its Unicode hex code and press Alt+X: 00F1 → ñ, 0148 → ň, 0144 → ń, 0146 → ņ, and so on. You can also use Insert → Symbol → More Symbols with the subset set to Latin-1 Supplement or Latin Extended-A. AutoCorrect (File → Options → Proofing) can replace a code such as n~ with the letter automatically.

Excel and Google Sheets

Alt codes and paste work in cells. For a formula, use =UNICHAR(241) in Excel or =CHAR(241) in Google Sheets to get ñ.

Google Docs

Go to Insert → Special characters, then search "n with" or draw the letter in the sketch box. Docs also accepts Alt codes on Windows and Option dead keys on Mac. Under Tools → Preferences → Substitutions you can make Docs replace a code of your choosing with the accented letter.

N with accent in HTML, CSS and code

LetterHTMLNumericCSSJavaScriptLaTeX
ñññ"\00F1""\u00F1"\~{n}
ňňň"\0148""\u0148"\v{n}
ńńń"\0144""\u0144"\'{n}
ņņņ"\0146""\u0146"\c{n}
ǹǹǹ"\01F9""\u01F9"\`{n}
ṅṅṅ"\1E45""\u1E45"\.{n}
ṇṇṇ"\1E47""\u1E47"\d{n}
ṉṉṉ"\1E49""\u1E49"\b{n}
ṋṋṋ"\1E4B""\u1E4B"—

Because these are ordinary Unicode characters, you can paste them straight into any UTF-8 file. The escapes only matter when the encoding is uncertain or you cannot type the letter.

Building any accent with combining marks

If you need a form Unicode does not precompose, or you are typing in an app that only has a plain n, type the letter and follow it with a combining mark. The mark sits on the previous character. Click any example to copy the two-character sequence.

In Word, type the letter, then the mark's hex code (for example 0301 for acute) and press Alt+X. On a Mac the Character Viewer lists them under Combining Diacritical Marks. Note that search engines and spell checkers treat a combined sequence differently from a precomposed letter, so prefer the precomposed form when one exists.

Troubleshooting

  • The Alt code types something else. Add the leading zero (Alt+0241, not Alt+241) and use the numeric keypad with Num Lock on. Laptops without a numpad need Win + . instead.
  • Press-and-hold shows nothing. On a Mac, key repeat may be enabled instead of the accent menu; run defaults write -g ApplePressAndHoldEnabled -bool true in Terminal and log out. On phones, the letter may not be in your keyboard's language.
  • Wrong accent. ñ (tilde) and ň (caron) look similar at small sizes but are different letters; a search for one will not find the other.
  • A box or question mark appears after pasting. The font in that app lacks the glyph. Switch to a font with full Latin coverage such as Arial, Calibri, Noto Sans or Segoe UI.

Frequently asked questions

What is the Alt code for ñ? +

Hold Alt and type 0241 on the numeric keypad, then release Alt. The capital Ñ is Alt+0209. Alt codes need Num Lock on and a real numpad.

How do I type ñ with an accent on a Mac? +

Press and hold N or n on the keyboard and a menu of accented forms appears (ñ ń); press the number under the one you want. Or use the dead key: Option+N, N gives ñ.

How do I type ñ on iPhone and Android? +

Press and hold the N key. A pop-up shows ñ ń. Slide your finger to the one you want and release. Android's Gboard works the same way.

Which languages use n with an accent? +

Spanish (ñ), Polish (ń), Czech (ň), Slovak (ň), Latvian (ņ), Filipino (Tagalog) (ñ).

How do I type ñ in Microsoft Word? +

Type 00F1 where you want the letter and press Alt + X; Word converts the code to ñ. Word also has a shortcut: Ctrl+Shift+~, n gives ñ.

What is the HTML code for ñ? +

Use ñ or the numeric ñ. In CSS content use "\00F1" and in JavaScript "\u00F1".

Every letter

Accented letters A to Z

✓ Copied to clipboard