Y

ASCII Character: Uppercase Y

ASCII Code 89 · Unicode U+0059 · Hex 0x59

Y uppercase-y

About the Uppercase Y Character

ASCII code 89 (0x59) represents the Uppercase Y character "Y". The uppercase letter "Y" has ASCII code 89. 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 89
Hexadecimal 0x59
Octal 131
Binary 01011001
Unicode U+0059
Unicode Name LATIN CAPITAL LETTER Y
HTML Numeric Y
HTML Entity
URL Escape %59
UTF-8 (Hex) 59
Quoted-Printable Y

Source Code Examples

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

Navigate

Copied!