Greek Phi Symbol HTML entity ϕ

ϕ is the HTML entity for Greek Phi Symbol ϕ (U+03D5). Copy the decimal ϕ and hex ϕ codes plus CSS, JavaScript, Python and URL escapes.

Entity
ϕ
Also written
ϕ ϕ
Code point
U+03D5
Unicode name
GREEK PHI SYMBOL
Block
Greek and Coptic
Category
Lowercase letter (Ll)
Since
Unicode 1.1
Defined in
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: "\3D5";In a stylesheet, for ::before and ::after.
JavaScript"\u03D5"Also valid in JSON.
Python"\u03d5"Python 3 string literal.
Python by name"\N{GREEK PHI SYMBOL}"Readable alternative using the Unicode name.
URL%CF%95Percent-encoded UTF-8 bytes, for a path or query value.
UTF-8 bytesCF 952 bytes.
UTF-1603D51 code unit, which is what JavaScript length counts.

When to use it

ϕ writes U+03D5 (Greek Phi Symbol), a small 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 comes from the HTML5 list (much of it shared with MathML), so it works in every current browser but not in XML or XHTML served as XML, where the numeric reference is the safe choice.

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).