Home·Special characters

½ Special characters

Numbers and fractions · U+00BD

UnicodeU+00BD (189)
HTML entity½
Named entity½
CSScontent: "\00BD"
JavaScript"\u00BD"
URL encoded%C2%BD
UTF-8 size2 bytes
CategoryNumbers and fractions

Circled numbers, fractions and superscripts.

How to read this

  • A Unicode code point is a name tag unique to each character. Different fonts, same number — still the same character.
  • In HTML, the numeric form &#number; works everywhere. Named entities like ♥ read nicer but exist only for some characters.
  • In CSS, use a backslash and hexadecimal: content: "\2764".
  • If the character shows as a box, the copy did not fail — that font simply has no glyph for it. Another font will show it.

Frequently asked questions

Q. What is the Unicode code point of ½?

U+00BD, which is 189 in decimal. Stored as UTF-8 it takes 2 bytes.

Q. How do I write ½ in HTML?

Use ½ and every browser shows the same character. The named form ½ also works.

Q. How do I use ½ in CSS or JavaScript?

In CSS, content: "\00BD". In JavaScript, "\u00BD". In a URL it becomes %C2%BD.

Q. What kind of character is ½?

It belongs to the numbers and fractions group. The rest of that group is listed further down this page, ready to copy.

Other characters in the same group