DevKits

ASCII 75

Latin Capital Letter K (K)

Printable ASCII

Uppercase letter K. ASCII code 75. In case-insensitive comparisons you normalise both sides with the 0x20 mask before comparing.

Common uses & context

Theuppercase letter 'K' has ASCII code 75 (0x4B). Its lowercase twin 'k' sits exactly 32 code points away at 107. 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 K. ASCII code 75. In case-insensitive comparisons you normalise both sides with the 0x20 mask before comparing.

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 'K' to its lowercase form youset bit 5: 'K' | 0x20 gives 'k'. 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

Decimal75
Hexadecimal0x4B
Octal0113
Binary01001011
HTML numeric entity&#75;
URL encoding%4B
UTF-8 bytes0x4B

Code snippets

JavaScript

String.fromCharCode(75); // "K"
75.toString(16); // "4b"

Python

chr(75)           # 'K'
ord(chr(75))      # 75
hex(75)           # '0x4b'

HTML

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

Programming notes

  • Case toggle: 'K' | 0x20 = 'k' (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 75?

ASCII code 75 is the character 'K' (Latin Capital Letter K). In hexadecimal it is 0x4B, in octal 0113, and in binary 01001011.

What is 0x4B in ASCII?

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

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

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

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

'K' is code 75; its lowercase counterpart 'k' is code 107. The two always differ by 32, so you can convert by adding 32 (or setting bit 0x20).

Nearby codes

Encode & convert this character