Skip to content
ASCII World
p

Lowercase p

PrintableASCII 112 | Hex 0x70 | U+0070
Lowercase p occupies ASCII 112. In HTML,

is the paragraph element, one of the most basic block-level tags. In CSS, px (pixels) is the most commonly used absolute length unit. In networking, port numbers follow a colon after a hostname (localhost:8080), and well-known ports below 1024 include 80 (HTTP) and 443 (HTTPS). In music, p stands for piano (soft dynamics).

ASCII Code

Decimal
112
Hexadecimal
0x70
Octal
160
Binary
0111 0000
URL Escape
%70

Unicode

Code Point
U+0070
Escape
\u0070
UTF-8 Hex
0x70
UTF-8 Binary
01110000
UTF-16
0x0070
UTF-32
0x00000070

HTML Entities

Numeric
p
Hex
p

How to Type

Windows Alt CodeAlt + 112
HTML Entity
p
Unicode InputU+0070

Source Code Representations

C / Java
"\u0070"
CSS
\0070
JavaScript
"\u0070"
Perl
\x{0070}
Python 2
u"\u0070"
Python 3
\u0070
Ruby
\u{0070}

Frequently Asked Questions

What is ASCII code 112?
ASCII code 112 represents the Lowercase p character. In hexadecimal it is 0x70, in binary 0111 0000, and in octal 160. It is a printable character that appears as "p" in text.
How do I type ASCII 112 on a keyboard?
On Windows, hold Alt and type 112 on the numeric keypad. On Mac, you can use the Character Viewer (Edit > Emoji & Symbols). In HTML, use the entity p or p.