Planck Constant over Two Pi HTML entity ℏ

ℏ is the HTML entity for Planck Constant over Two Pi ℏ (U+210F). Copy ℏ, ℏ and the CSS, JavaScript, Python and URL escapes.

Entity
ℏ
Also written
ℏ ℏ ℏ
Code point
U+210F
Unicode name
PLANCK CONSTANT OVER TWO PI
Block
Letterlike Symbols
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: "\210F";In a stylesheet, for ::before and ::after.
JavaScript"\u210F"Also valid in JSON.
Python"\u210f"Python 3 string literal.
Python by name"\N{PLANCK CONSTANT OVER TWO PI}"Readable alternative using the Unicode name.
URL%E2%84%8FPercent-encoded UTF-8 bytes, for a path or query value.
UTF-8 bytesE2 84 8F3 bytes.
UTF-16210F1 code unit, which is what JavaScript length counts.

When to use it

&hbar; writes U+210F (Planck Constant over Two Pi), a small letter from the Unicode Letterlike Symbols block, encoded since Unicode 1.1. These characters exist mostly for compatibility with older character sets; for anything beyond simple cases, <sup>, <sub> or MathML give more control.

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 letterlike symbols, numbers and fractions

All letterlike symbols, numbers and fractions · 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).