Toolman

ASCII 120

ASCII 120 is Small letter x, written x.

Every representation

Characterx
NameSmall letter x
Decimal120
Hexadecimal0x78
Octal0170
Binary01111000
HTML entityx
Escape sequence\x78
UnicodeU+0078
GroupLetter

What it is for

The small letter x. Its capital is X at 88, exactly 32 lower — the difference is bit 5, which is why case conversion is a bitwise operation.

Where the number comes from

The alphabet was placed so that capitals start at 65 and lowercase at 97 — exactly 32 apart, a single bit. Changing case is therefore c ^ 32, and this was a deliberate design decision rather than a coincidence.

Frequently asked questions

What is ASCII 120?

Small letter x, the character x. In hexadecimal it is 0x78, in octal 0170, and in binary 01111000.

How do I type ASCII 120?

Type x directly. In a string literal it can also be written \\x78, and in HTML as x.

Is ASCII 120 printable?

Yes. Codes 32 to 126 are the printable range, which is every character ASCII can actually display.

Nearby codes

Full ASCII table · Text to binary converter · Number base converter