Toolman

ASCII 66

ASCII 66 is Capital letter B, written B.

Every representation

CharacterB
NameCapital letter B
Decimal66
Hexadecimal0x42
Octal0102
Binary01000010
HTML entityB
Escape sequence\x42
UnicodeU+0042
GroupLetter

What it is for

The capital letter B. Capitals run from 65 to 90 and their lowercase counterparts from 97 to 122, exactly 32 apart, so changing case is a single bit flip.

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 66?

Capital letter B, the character B. In hexadecimal it is 0x42, in octal 0102, and in binary 01000010.

How do I type ASCII 66?

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

Is ASCII 66 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