The Accent Letters

How to Type ø (O with stroke) on LaTeX

Published August 5, 2026, 2 min read

ø is o with stroke, a letter used in Norwegian, Danish and Faroese. On LaTeX, the quickest way to get it is \o. This guide covers every method that works, including the capital Ø and fixes for common problems.

ø 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.

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+00F8, named LATIN SMALL LETTER O WITH STROKE. It is used in Norwegian, Danish and Faroese. A line through the letter itself. Examples are ø (Danish, Norwegian), ł (Polish), đ (Vietnamese, Croatian) and ħ (Maltese). 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+00F8. In HTML it is ø.

Related guides

All accent shortcuts for LaTeX