O

ASCII Character: Uppercase O

ASCII Code 79 · Unicode U+004F · Hex 0x4F

O uppercase-o

About the Uppercase O Character

ASCII code 79 (0x4F) represents the Uppercase O character "O". The uppercase letter "O" has ASCII code 79. Uppercase letters A–Z span codes 65–90. The relationship between uppercase and lowercase ASCII letters is consistent: adding 32 to an uppercase letter’s code gives the corresponding lowercase letter (e.g., 'A' at 65 + 32 = 'a' at 97). The printable ASCII characters (codes 32–126) include the space, digits, uppercase and lowercase Latin letters, and common punctuation symbols. These 95 characters form the foundation of text representation in virtually all computing systems and are universally supported across all character encodings, programming languages, and operating systems.

Encoding Details

ASCII Code 79
Hexadecimal 0x4F
Octal 117
Binary 01001111
Unicode U+004F
Unicode Name LATIN CAPITAL LETTER O
HTML Numeric O
HTML Entity
URL Escape %4F
UTF-8 (Hex) 4F
Quoted-Printable O

Source Code Examples

JavaScript
// Character literal
let char = 'O';
// Using char code
let char2 = String.fromCharCode(79);
// Unicode escape
let char3 = '\x4F';
Python
# Character literal
char = 'O'
# Using chr()
char = chr(79)
# Using ord() to get code
code = ord('O')  # Returns 79
HTML
<!-- Direct character -->
O
<!-- HTML entity (numeric) -->
&#79;
<!-- Hex entity -->
&#x4F;
C#
// Character literal
char c = 'O';
// Using cast
char c2 = (char)79;
// To get code from char
int code = (int)'O';  // Returns 79

Navigate

Copied!