ASCII 108
Latin Small Letter L (l)
Printable ASCII
Lowercase letter l. ASCII code 108. Visually collides with the digit '1' and uppercase 'I'; avoid it as a standalone identifier.
Common uses & context
Thelowercase letter 'l' has ASCII code 108 (0x6C). Its uppercase twin 'L' sits exactly 32 code points away at 76. 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. Lowercase letter l. ASCII code 108. Visually collides with the digit '1' and uppercase 'I'; avoid it as a standalone identifier.
The lowercase Latin letters form the contiguous block 97–122, so range checks like c >= 'a' && c <= 'z' work without a lookup table. To convert 'l' to its uppercase form youclear bit 5: 'l' & ~0x20 gives 'L'. 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
| Decimal | 108 |
| Hexadecimal | 0x6C |
| Octal | 0154 |
| Binary | 01101100 |
| HTML numeric entity | l |
| URL encoding | %6C |
| UTF-8 bytes | 0x6C |
Code snippets
JavaScript
String.fromCharCode(108); // "l"
108.toString(16); // "6c"Python
chr(108) # 'l'
ord(chr(108)) # 108
hex(108) # '0x6c'HTML
l <!-- numeric entity (no named entity for this character) -->Programming notes
- ▸Case toggle: 'l' & ~0x20 = 'L' (a single-bit change).
- ▸Letter test: c >= 'a' && c <= 'z' — the lowercase block is contiguous (97–122).
Frequently asked questions
What character is ASCII code 108?
ASCII code 108 is the character 'l' (Latin Small Letter L). In hexadecimal it is 0x6C, in octal 0154, and in binary 01101100.
What is 0x6C in ASCII?
Hexadecimal 0x6C equals decimal 108, which is the character 'l' (Latin Small Letter L). To convert hex to ASCII yourself, read the two hex digits as a base-16 number (0x6C = 108) and look up that code point.
How do I write the character with code 108 in code?
In JavaScript use String.fromCharCode(108); in Python use chr(108); in HTML use the numeric entity l. In a URL it is percent-encoded as %6C, and in UTF-8 it is stored as the byte sequence 0x6C.
What is the uppercase form of 'l' in ASCII?
'l' is code 108; its uppercase counterpart 'L' is code 76. The two always differ by 32, so you can convert by subtracting 32 (or clearing bit 0x20).