Punctuation & Typography

Inverted Exclamation Mark ¡

U+00A1 Added in Unicode 1.1 (1993)

The inverted exclamation mark (¡) opens exclamatory sentences in Spanish, mirroring the closing ! at the end.

Alt code Alt+0161 Mac Option+1
Codes
Unicode
Unicode name
Decimal
Windows Alt code
Mac shortcut
HTML entity
HTML decimal
HTML hex
Encodings & code escapes +
UTF-8 (hex bytes)
UTF-16 (hex units)
UTF-32
URL encoded
CSS content
JavaScript / TypeScript
JSON, Java, C#, C/C++
Python
Go
Rust, Swift, PHP, Ruby
Perl

Click any value to copy it. All escapes refer to the same code point U+00A1.

How to type ¡ on Windows

The fastest method on a full-size keyboard is the Alt code Alt+0161.

  1. Make sure Num Lock is on.
  2. Hold down the Alt key.
  3. Type 0161 on the numeric keypad (the number row will not work).
  4. Release Alt. The inverted exclamation mark symbol ¡ appears.

No numeric keypad?

Press Win+. to open the emoji panel, choose the Symbols tab (Ω) and search for "inverted exclamation mark". Or open Character Map from the Start menu, find ¡, click Select, then Copy.

How to type ¡ on a Mac

Press Option+1 on the US keyboard layout. Hold the modifier keys and tap the final key once.

For any symbol, the Character Viewer works: press Control+⌘+Space, type "inverted exclamation mark" in the search box and double-click the result. It will be remembered under Frequently Used.

How to type ¡ on iPhone and iPad

The iOS keyboard does not include ¡, so the reliable way is to copy it from this page, then press and hold in any text field and tap Paste.

If you use it often, create a shortcut: open Settings → General → Keyboard → Text Replacement, paste ¡ in the Phrase field and type a short code such as ;inverted in the Shortcut field. Typing that code will then insert ¡ anywhere.

How to type ¡ on Android

Copy the symbol from this page, then long-press in a text field and choose Paste. Gboard also keeps a clipboard history: tap the clipboard icon on the toolbar to paste it again later.

For a permanent shortcut, open Gboard settings → Dictionary → Personal dictionary, add ¡ as the word and a short code as the shortcut.

How to type ¡ in Microsoft Word

  1. Type the Unicode hex code 00A1 where you want the symbol.
  2. Press Alt+X. Word converts the code into ¡.

This works on Windows in Word, Outlook and OneNote and needs no numeric keypad. You can also go to Insert → Symbol → More Symbols, set the font to a Unicode font and type 00A1 in the Character code box. In Excel, the formula =UNICHAR(161) returns the symbol.

How to type ¡ in Google Docs

Open Insert → Special characters, then either search for "inverted exclamation mark" or draw the symbol in the sketch box. Click the result to insert it. In Google Sheets, use =CHAR(161).

¡ in HTML, CSS and code

FormatCode
HTML entity¡
HTML decimal¡
HTML hex¡
CSS content"\00A1"
JavaScript"\u00A1"
Python"\u00A1"
URL encoded%C2%A1

Because ¡ is a standard Unicode character (U+00A1), you can also paste it directly into any UTF-8 file. The escaped forms above are only needed when the file encoding is uncertain or the symbol must be entered on a keyboard without it.

Where the inverted exclamation mark symbol is used

It appears at the start of exclamations in Spanish writing, as in "¡Hola!" or "¡Cuidado!". Books, signage, and messaging apps use it whenever text needs Spanish punctuation rules. It differs from the standard exclamation mark (!), which closes the sentence instead.

Frequently asked questions

Why does Spanish use an upside down exclamation mark? +

Spanish grammar rules require punctuation at both the start and end of exclamatory or interrogative sentences, helping readers see the tone before finishing the sentence.

Is the inverted exclamation mark used in English? +

No, English does not use it; it appears only in Spanish and some related languages that follow the same punctuation convention.

What is the Alt code for the inverted exclamation mark symbol? +

The Alt code for ¡ is Alt+0161. Hold Alt, type 0161 on the numeric keypad, then release Alt.

How do I type ¡ on a Mac? +

Press Option+1 on a Mac with the US keyboard layout. You can also open the Character Viewer with Control + Command + Space and search for "inverted exclamation mark".

How do I type the inverted exclamation mark symbol on iPhone or Android? +

Phone keyboards do not include ¡ by default. Copy it from this page and paste it, or add it as a text replacement shortcut in Settings so you can type it with a short abbreviation.

What is the HTML code for ¡? +

Use ¡ in HTML. The numeric form ¡ works too. In CSS use content: "\00A1" and in JavaScript use "\u00A1".

✓ Copied to clipboard