U+00BA · Latin-1 Supplement
Masculine ordinal indicator (º): how to type it
Copy º with one click, or type it with Alt + 0186 on Windows or Option + 0 on a Mac.
- WindowsAlt+0186 numeric keypad
- Mac⌥ Option+0
- Word00BAthenAlt+X
- iPhoneNo long-press for it. Copy it here.
- HTML
ºorº
Every way to type º
Only methods that exist on that system are shown as shortcuts.
Windows Alt code
- Turn on Num Lock.
- Hold Alt and type the digits on the numeric keypad (not the top row).
- Let go of Alt.
Mac Option key
U.S. and ABC keyboard layouts. Hold the keys together.
Microsoft Word Alt + X
Type 00BA, then press Alt + X (Word for Windows).
Google Docs menu
Insert › Special characters, then search “masculine ordinal indicator”, or paste it from here.
iPhone and iPad copy
Not on a long-press of the default keyboard. Copy it here, or add a Text Replacement (Settings › General › Keyboard › Text Replacement).
Android symbol pages
Gboard keeps many common symbols on its symbol pages (tap ?123, then =\<). If it is not there, copy it here, or save it in Gboard’s Personal dictionary with a shortcut.
Linux Unicode input
GNOME and most GTK apps (IBus).
Chromebook Unicode input
Type the code after the underlined u appears.
How º is stored in UTF-8
2 bytes (16 bits) for 1 code point
Codes
For HTML, CSS, JavaScript, JSON, Python and URLs.
| HTML entity | º | |
|---|---|---|
| Unicode | U+00BA | |
| HTML decimal | º | |
| HTML hex | º | |
| CSS content | \00BA | |
| JavaScript | \u00BA | |
| JSON | \u00ba | |
| Python | \u00ba | |
| UTF-8 bytes | C2 BA | |
| UTF-16 | 00BA | |
| URL encoded | %C2%BA | |
| Python name | \N{MASCULINE ORDINAL INDICATOR} |
From the Unicode Standard
Names, aliases and notes from the Unicode 13.0 names list.
- Unicode name MASCULINE ORDINAL INDICATOR
- Category Other letter (Lo)
- Block Latin-1 Supplement
- Note Spanish
Related symbols
Look-alikes named in the Unicode notes first, then neighbours in the same block.
| Symbol | Name | Code | Alt code |
|---|---|---|---|
| » | Right-pointing double angle quotation mark | U+00BB | Alt + 0187 |
| ¹ | Superscript one | U+00B9 | Alt + 0185 |
| ¼ | Vulgar fraction one quarter | U+00BC | Alt + 0188 |
| ¸ | Cedilla | U+00B8 | Alt + 0184 |
| ½ | Vulgar fraction one half | U+00BD | Alt + 0189 |
| · | Middle dot | U+00B7 | Alt + 0183 |
Questions
What is the Alt code for Masculine ordinal indicator (º)?
Hold Alt and type 0186 on the numeric keypad, then let go of Alt. The older code Alt + 167 also works in most programs.
How do I type º on a Mac?
Option + 0 on the U.S. or ABC keyboard layout.
What is the HTML code for º?
Use º or º (decimal) or º (hex).
Sources: Unicode Character Database 13.0 and Unicode emoji 13.0 (Unicode, Inc.); Alt codes computed from code pages 437 and 1252; Mac keys from the Apple U.S. keyboard layout. How this page is made.