W

ASCII Character: Uppercase W

ASCII Code 87 · Unicode U+0057 · Hex 0x57

W uppercase-w

About the Uppercase W Character

ASCII code 87 (0x57) represents the Uppercase W character "W". The uppercase letter "W" has ASCII code 87. 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 87
Hexadecimal 0x57
Octal 127
Binary 01010111
Unicode U+0057
Unicode Name LATIN CAPITAL LETTER W
HTML Numeric W
HTML Entity
URL Escape %57
UTF-8 (Hex) 57
Quoted-Printable W

Source Code Examples

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

Navigate

Copied!