º masculine ordinal indicator
U+00BA · MASCULINE ORDINAL INDICATOR
Languages that use º: Spanish, Portuguese, Italian, Galician, Catalan
How to type º
Shortcuts verified against Microsoft, Apple and X.Org documentation.
Windows
- Alt code
- Hold Alt, type Alt+0186 on the numeric keypad, release Alt.
- Alt code
- The short code Alt+167 also works on US English systems (code page 437).
- Alt codes need the numeric keypad with Num Lock on. On a laptop without one, use the Word method or copy the character.
- Alt+X in Word and Outlook
- Type 00BA then press Alt+X. The code turns into º.
- Character Map
- Open Character Map (search “charmap” in the Start menu), find º, click Select then Copy.
Google Docs: Insert > Special characters, then type “masculine ordinal indicator” or draw º. Your operating system shortcut also works inside Docs.
Mac
- Option key
- Press Option+0.
- Unicode Hex Input
- Switch to Unicode Hex Input, hold Option and type 00BA.
- Character Viewer
- Press Control+Command+Space, search “masculine ordinal indicator” and double-click º.
Google Docs: Insert > Special characters, then type “masculine ordinal indicator” or draw º. Your operating system shortcut also works inside Docs.
iPhone and iPad
- iPhone keyboard
- º is not in the English keyboard pop-up on iPhone.
- Tip: On Gboard the º appears in the o popup only when a Spanish, French, Italian or Portuguese keyboard is also enabled..
- Or just copy it
- Tap º at the top of this page and paste it anywhere.
Google Docs: Insert > Special characters, then type “masculine ordinal indicator” or draw º. Your operating system shortcut also works inside Docs.
Android
- Android keyboard (Gboard)
- Touch and hold the o key, slide to º, release.
- Tip: On Gboard the º appears in the o popup only when a Spanish, French, Italian or Portuguese keyboard is also enabled..
- Or just copy it
- Tap º at the top of this page and paste it anywhere.
Google Docs: Insert > Special characters, then type “masculine ordinal indicator” or draw º. Your operating system shortcut also works inside Docs.
Linux
- Compose key
- Press Compose ^ _ o (enable the Compose key in your keyboard settings first).
- Unicode entry (GTK apps and Chromebook)
- Press Ctrl+Shift+U, type ba, then press Space or Enter.
Google Docs: Insert > Special characters, then type “masculine ordinal indicator” or draw º. Your operating system shortcut also works inside Docs.
Chromebook
- Chromebook
- Press Ctrl+Shift+U, type ba, press Enter. Or add the US International keyboard in Settings.
Google Docs: Insert > Special characters, then type “masculine ordinal indicator” or draw º. Your operating system shortcut also works inside Docs.
Codes for developers
Click any value to copy it
- Unicode
- Unicode name
- HTML named entity
- HTML decimal
- HTML hex
- CSS
- JavaScript
- Python
- Java / C# / Kotlin
- URL encoded (UTF-8)
- UTF-8 bytes
Questions about º
How do I type º on Windows?
Hold Alt and type 0186 on the numeric keypad, then release Alt. In Word you can also type 00BA and press Alt+X.
How do I type º on a Mac?
Press Option+0. You can also hold the º key and pick º from the accent menu.
How do I type º on my phone?
On iPhone and Android, press and hold the o key and slide to º.
What is the HTML code for º?
Use º or the numeric entity º (hex º). In CSS write \BA, in JavaScript \u00BA.