DevKits

ASCII 88

Latin Capital Letter X (X)

Printable ASCII

Uppercase letter X. ASCII code 88. The 'x' in a \xHH hex escape is lowercase; uppercase X marks the hex value in some printf formats (%X).

Common uses & context

Theuppercase letter 'X' has ASCII code 88 (0x58). Its lowercase twin 'x' sits exactly 32 code points away at 120. That constant gap of 32 — a single bit, 0x20 — is why changing letter case is one of the cheapest operations a CPU can do: you flip or mask one bit rather than looking anything up. Uppercase letter X. ASCII code 88. The 'x' in a \xHH hex escape is lowercase; uppercase X marks the hex value in some printf formats (%X).

The uppercase Latin letters form the contiguous block 65–90, so range checks like c >= 'A' && c <= 'Z' work without a lookup table. To convert 'X' to its lowercase form youset bit 5: 'X' | 0x20 gives 'x'. Because uppercase (65–90) sorts before lowercase (97–122) in raw byte order, naive sorting places every capitalized wordahead of every lowercase one — the reason "Zebra" comes before "apple" unless you sort case-insensitively.

All encodings at a glance

Decimal88
Hexadecimal0x58
Octal0130
Binary01011000
HTML numeric entity&#88;
URL encoding%58
UTF-8 bytes0x58

Code snippets

JavaScript

String.fromCharCode(88); // "X"
88.toString(16); // "58"

Python

chr(88)           # 'X'
ord(chr(88))      # 88
hex(88)           # '0x58'

HTML

&#88;   <!-- numeric entity (no named entity for this character) -->

Programming notes

  • Case toggle: 'X' | 0x20 = 'x' (a single-bit change).
  • Letter test: c >= 'A' && c <= 'Z' — the uppercase block is contiguous (65–90).

Frequently asked questions

What character is ASCII code 88?

ASCII code 88 is the character 'X' (Latin Capital Letter X). In hexadecimal it is 0x58, in octal 0130, and in binary 01011000.

What is 0x58 in ASCII?

Hexadecimal 0x58 equals decimal 88, which is the character 'X' (Latin Capital Letter X). To convert hex to ASCII yourself, read the two hex digits as a base-16 number (0x58 = 88) and look up that code point.

How do I write the character with code 88 in code?

In JavaScript use String.fromCharCode(88); in Python use chr(88); in HTML use the numeric entity &#88;. In a URL it is percent-encoded as %58, and in UTF-8 it is stored as the byte sequence 0x58.

What is the lowercase form of 'X' in ASCII?

'X' is code 88; its lowercase counterpart 'x' is code 120. The two always differ by 32, so you can convert by adding 32 (or setting bit 0x20).

Nearby codes

Encode & convert this character