½ One Half

All symbols
Fractions · NumbersU+00BD · Latin-1 Supplement
½

One Half

U+00BD · decimal 189 · Latin-1 Supplement

Every way to write it

7 forms
HTML entity

½

A named entity — readable, and safe in any HTML document without declaring a charset.

HTML numeric

½

The numeric form works everywhere a named one does, and exists for every character.

CSS content

\00BD

For a content property in a ::before or ::after rule. No semicolon, and mind the trailing space.

JavaScript

\u00BD

Valid in a JavaScript or JSON string literal, so it survives files and pipelines that are not UTF-8 clean.

Python

\u00BD

The escape for a Python string literal.

URL

%C2%BD

Percent-encoded UTF-8, for a query string or a path segment.

UTF-8 bytes

C2 BD

2 bytes on the wire. Seeing these as separate garbled characters means something decoded them as single-byte text.

Typing it without copying

system picker
macOS

Control + Command + Space, then search one half

Windows

Character Map or Alt + 189

Groups it belongs to

Characters near it

8
Code pointU+00BD
EntityNamed
UTF-82 bytes
ASCIINo