ASCII 84
Latin Capital Letter T (T)
Printable ASCII
Uppercase letter T. ASCII code 84. The date-time separator in ISO 8601 timestamps (2026-08-08T12:00).
Common uses & context
Theuppercase letter 'T' has ASCII code 84 (0x54). Its lowercase twin 't' sits exactly 32 code points away at 116. 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 T. ASCII code 84. The date-time separator in ISO 8601 timestamps (2026-08-08T12:00).
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 'T' to its lowercase form youset bit 5: 'T' | 0x20 gives 't'. 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 | 84 |
| Hexadecimal | 0x54 |
| Octal | 0124 |
| Binary | 01010100 |
| HTML numeric entity | T |
| URL encoding | %54 |
| UTF-8 bytes | 0x54 |
Code snippets
JavaScript
String.fromCharCode(84); // "T"
84.toString(16); // "54"Python
chr(84) # 'T'
ord(chr(84)) # 84
hex(84) # '0x54'HTML
T <!-- numeric entity (no named entity for this character) -->Programming notes
- ▸Case toggle: 'T' | 0x20 = 't' (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 84?
ASCII code 84 is the character 'T' (Latin Capital Letter T). In hexadecimal it is 0x54, in octal 0124, and in binary 01010100.
What is 0x54 in ASCII?
Hexadecimal 0x54 equals decimal 84, which is the character 'T' (Latin Capital Letter T). To convert hex to ASCII yourself, read the two hex digits as a base-16 number (0x54 = 84) and look up that code point.
How do I write the character with code 84 in code?
In JavaScript use String.fromCharCode(84); in Python use chr(84); in HTML use the numeric entity T. In a URL it is percent-encoded as %54, and in UTF-8 it is stored as the byte sequence 0x54.
What is the lowercase form of 'T' in ASCII?
'T' is code 84; its lowercase counterpart 't' is code 116. The two always differ by 32, so you can convert by adding 32 (or setting bit 0x20).