Greek Capital Letter Pi HTML entity Π

Π is the HTML entity for Greek Capital Letter Pi Π (U+03A0). Copy the decimal Π and hex Π codes plus CSS, JavaScript, Python and URL escapes.

Entity
Π
Code point
U+03A0
Unicode name
GREEK CAPITAL LETTER PI
Block
Greek and Coptic
Category
Uppercase letter (Lu)
Since
Unicode 1.1
Defined in
HTML 4.01 and HTML5

Codes to copy

HTML namedΠWorks in HTML; in XML only & < > " ' are predefined.
HTML decimalΠWorks in HTML and XML.
HTML hexΠWorks in HTML and XML.
CSScontent: "\3A0";In a stylesheet, for ::before and ::after.
JavaScript"\u03A0"Also valid in JSON.
Python"\u03a0"Python 3 string literal.
Python by name"\N{GREEK CAPITAL LETTER PI}"Readable alternative using the Unicode name.
URL%CE%A0Percent-encoded UTF-8 bytes, for a path or query value.
UTF-8 bytesCE A02 bytes.
UTF-1603A01 code unit, which is what JavaScript length counts.

When to use it

Π writes U+03A0 (Greek Capital Letter Pi), a capital letter from the Unicode Greek and Coptic block, encoded since Unicode 1.1. In mathematics, single Greek letters are usually set in italic; MathML or a maths font handles that automatically.

The name dates from HTML 4, so it works in every browser and in old email clients.

More greek letters

All greek letters · Every HTML entity · Encode or decode text

Source: the WHATWG HTML Standard list of named character references and the Unicode Character Database (Unicode 18.0).