Toolman

ASCII code for uppercase P

80

Capital letter P — P

Decimal80
Hexadecimal0x50
Octal0120
Binary01010000
HTML entityP

What it is

Capital letter P is one of the 95 printable ASCII characters, the set every text encoding in common use still agrees on. UTF-8 encodes it as the single byte 80, which is why ASCII text is also valid UTF-8.

The full entry

ASCII 80 in full — the code point page, with what sits either side of it and how the character is encoded elsewhere.

Frequently asked questions

What is the ASCII code for uppercase P?

The ASCII code for uppercase P is 80 in decimal, 0x50 in hexadecimal and 0120 in octal.

What is uppercase P in binary?

01010000 — eight bits, though ASCII only defines seven, so the top bit is always zero.

Is uppercase P a printable character?

Yes. Capital letter P is in the printable range, codes 32 to 126, which is everything ASCII can put on a screen.

Other characters

Every character by name · The ASCII table · Text to binary converter