DevKits

ASCII 67

Latin Capital Letter C (C)

Printable ASCII

Uppercase letter C. ASCII code 67. In hex, C is the value 12. To uppercase a lowercase letter you can clear bit 5: c & ~0x20.

Common uses & context

Theuppercase letter 'C' has ASCII code 67 (0x43). Its lowercase twin 'c' sits exactly 32 code points away at 99. 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 C. ASCII code 67. In hex, C is the value 12. To uppercase a lowercase letter you can clear bit 5: c & ~0x20.

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

'C' is also a hexadecimal digit: in base-16 it represents the value 12. Hex uses 0–9 for 0–15's firstten values and A–F (or a–f) for 10–15, so 'C' is valid inside literals like 0xCC and colour codes like #CCCCCC.

All encodings at a glance

Decimal67
Hexadecimal0x43
Octal0103
Binary01000011
HTML numeric entity&#67;
URL encoding%43
UTF-8 bytes0x43

Code snippets

JavaScript

String.fromCharCode(67); // "C"
67.toString(16); // "43"

Python

chr(67)           # 'C'
ord(chr(67))      # 67
hex(67)           # '0x43'

HTML

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

Programming notes

  • Case toggle: 'C' | 0x20 = 'c' (a single-bit change).
  • Letter test: c >= 'A' && c <= 'Z' — the uppercase block is contiguous (65–90).
  • As a hex digit, 'C' has value 12 in base-16.

Frequently asked questions

What character is ASCII code 67?

ASCII code 67 is the character 'C' (Latin Capital Letter C). In hexadecimal it is 0x43, in octal 0103, and in binary 01000011.

What is 0x43 in ASCII?

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

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

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

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

'C' is code 67; its lowercase counterpart 'c' is code 99. The two always differ by 32, so you can convert by adding 32 (or setting bit 0x20).

Nearby codes

Encode & convert this character