Diameter (O with stroke)

Ø is the Unicode character “LATIN CAPITAL LETTER O WITH STROKE” (U+00D8). It is also known as diameter (O with stroke). It belongs to the Latin 1 Supplement block and was added in Unicode 1.1. Click it to copy, or use the codes below.

Ø codes

UnicodeCode point U+00D8
HTML codeDecimal, works in any HTML page Ø
HTML hexHexadecimal HTML code Ø
HTML entityNamed HTML entity Ø
CSSFor the CSS content property \00D8
JavaScriptEscape in JavaScript strings \u00D8
PythonEscape in Python strings \u00D8
URL encodedPercent-encoded UTF-8 %C3%98
UTF-8Bytes in UTF-8 C3 98
UTF-16Code units in UTF-16 00D8
Alt codeWindows, number pad Alt + 0216

How to type Ø

Copy and paste

Click to copy it, then paste with Ctrl + V (⌘ + V on a Mac) or a long press on phones.

Windows

Hold Alt and type 0216 on the number pad (Num Lock on), then let go of Alt.

In Microsoft Word, type 00D8 and press Alt + X.

Mac

Press Option + Shift + O.

Or open the Character Viewer with Control + ⌘ + Space.

iPhone and Android

Copy it here and paste it. To type it again later, save it as a text replacement (iPhone: Settings › General › Keyboard › Text Replacement; Gboard: Settings › Dictionary › Personal dictionary).

HTML and CSS

Unicode U+00D8. Every format is on the diameter (O with stroke) page.

About Ø

Unicode name
LATIN CAPITAL LETTER O WITH STROKE
Code point
U+00D8 (216)
Block
Latin 1 Supplement
Category
Uppercase Letter
Unicode version
1.1
Mac shortcut
Option + Shift + O