The Accent Letters

How to Type õ (O with tilde) on LaTeX

Published August 6, 2026, 2 min read

Need õ on LaTeX for a name, an address or a word in another language? You do not have to copy it from a website every time. The fastest method is \~{o}, and there are a few backups below for when that one is not available.

õ on LaTeX: \~{o}

Õ on LaTeX: \~{O}

Or copy it:

Method 1: LaTeX command

Write \~{o} in text mode. Load \usepackage[T1]{fontenc} for correct hyphenation and copy-paste from the PDF.

Method 2: Type the character directly

Since 2018 pdfLaTeX reads UTF-8 by default, so you can paste õ into your source. On Overleaf, set the compiler in Menu → Compiler.

Method 3: In math mode

For a variable with this accent, use $\tilde{o}$. Math accents are for symbols, so use the text command for words.

How to type the capital Õ

The uppercase form works the same way with Shift added where a letter is typed.

LaTeX command

Write \~{O} in text mode. Load \usepackage[T1]{fontenc} for correct hyphenation and copy-paste from the PDF.

Type the character directly

Since 2018 pdfLaTeX reads UTF-8 by default, so you can paste Õ into your source. On Overleaf, set the compiler in Menu → Compiler.

About the letter õ

õ is Unicode U+00F5, named LATIN SMALL LETTER O WITH TILDE. It is used in Portuguese, Estonian and Vietnamese. A wavy line above a letter. Spanish uses it for ñ, Portuguese for nasal vowels (ã, õ), Estonian for õ, and Vietnamese for the broken rising tone. See the õ character page for every code and shortcut.

Troubleshooting

Frequently asked questions

What is the shortcut for õ on LaTeX?

\~{o}.

Can I just copy and paste õ?

Yes. Click the copy button above, then paste with Ctrl+V on Windows and Chromebook, Cmd+V on a Mac, or touch and hold and choose Paste on a phone.

What is the Unicode code for õ?

U+00F5. In HTML it is õ.

Related guides

All accent shortcuts for LaTeX