H

ASCII Code 72

Uppercase H

About This Character

ASCII code 72 (0x48) represents the Uppercase H character "H". The uppercase letter "H" has ASCII code 72. 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.

Character Encoding

Decimal 72
Octal 110
Hexadecimal 0x48
Binary 01001000
HTML Code H
HTML Entity
Unicode U+0048
Unicode Name LATIN CAPITAL LETTER H
URL Escape %48
Quoted-Printable H
UTF-8 (Hex) 48
Category Printable — Uppercase Letters

How to Type in Code

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

See Also

Copied!