ō

Latin character O with macron

About this character

The character ō is known as Latin character O with macron and carries the Unicode code point U+014D, which is 333 in decimal. It belongs to the Latin Extended-A block (U+0100–U+017F), which gathers the accented letters of Central and Northern European languages missing from Latin-1, such as Polish, Czech and Hungarian.

In memory, ō takes 2 bytes in UTF-8 (0xC5 0x8D) and 1 in UTF-16 (0x014D). That difference is why badly configured forms or databases garble this character: they assume one byte per character.

How to type ō

System What to do
Windows In Word or WordPad, type 014D and press Alt + X to turn the code into the character.
macOS On a Mac, open the Character Viewer with Ctrl + ⌘ + Space and search for “Latin character O with macron”.
Linux On Linux (GTK), type Ctrl + ⇧ + U, 014D then press Enter.
HTML / Web In an HTML page, write ō. Use \014D in CSS, \u014D in JavaScript and \u014D in Python.
On this site The simplest route is the Copy button above: the character goes straight to your clipboard, ready to paste anywhere.

Keyboards that include ō

This character is not on any common physical layout, so the Copy button above is the quickest way to get it into a document.

Codes and encodings

Property Value
Code pointU+014D
Unicode blockLatin Extended-A (U+0100–U+017F)
Decimal333
Hexadecimal0x014D
Octal0515
Binary101001101
UTF-8 bytes0xC5 0x8D
UTF-16 units0x014D
Named HTML entityNone
Decimal HTML entityō
Hex HTML entityō
CSS escape\014D
JavaScript escape\u014D
Python escape\u014D
URL encoding%C5%8D

Frequently asked questions

What is the Unicode code for ō?

Its code point is U+014D, which is 333 in decimal and 0515 in octal. In HTML you can write it as ō or ō.

Why does ō show up as a box or a question mark?

An empty box means the font has no glyph for U+014D. The character is still in the text: switching to a font that covers the block (Noto, DejaVu or Segoe UI Symbol) makes it appear.

Can I use ō in a filename, a URL or a password?

In a URL it must be encoded as %C5%8D. Modern filesystems accept it, though it is still risky when moving files between systems. For passwords, some forms reject non-ASCII characters outright.

Characters from the same block

ø ò õ ŏ ó