Star HTML Codes

Tap a star’s code to copy it, or take a whole rating as code.

★Black starU+2605First in the list

61 stars and ratings. Tap any value to copy it.

61 stars and ratings. A character and its name both copy the character. A code copies the code; keys are for typing.
CharacterHTMLName

All stars and ratings

Start here

  • Black star U+2605. The filled star. Also ★. By number: ★ or ★.
  • White star U+2606. The outline. It has no second name. By number: ☆ or ☆.
  • Black star, by number U+2605. The decimal number. In hexadecimal: ★. By name: ★.
  • White star, by number U+2606. The decimal number. In hexadecimal: ☆. By name: ☆.
  • ★★★★☆ Four stars out of five. With a label: <span role="img" aria-label="4 out of 5 stars">&starf;&starf;&starf;&starf;&star;</span>. By number: &#9733;&#9733;&#9733;&#9733;&#9734;.
  • ★★★★★ Five stars out of five. With a label: <span role="img" aria-label="5 out of 5 stars">&starf;&starf;&starf;&starf;&starf;</span>. By number: &#9733;&#9733;&#9733;&#9733;&#9733;.

Sources: the HTML Standard, Unicode, w3.org. Read November 30, 2026.

Show all 92

Start here, continued

  • White medium star U+2B50. An emoji, so it has a color of its own. In hexadecimal: &#x2B50;.
  • Star operator U+22C6. A small star from math. Also &Star;, with a capital S. By number: &#8902; or &#x22C6;.

Stars with a name

  • Asterisk U+002A. The star of the keyboard. Also &midast;. By number: &#42; or &#x2A;.
  • Six pointed black star U+2736. By number: &#10038; or &#x2736;.

Ratings, by name

  • ★★★☆☆ Three stars out of five. With a label: <span role="img" aria-label="3 out of 5 stars">&starf;&starf;&starf;&star;&star;</span>. By number: &#9733;&#9733;&#9733;&#9734;&#9734;.
  • ★★☆☆☆ Two stars out of five. With a label: <span role="img" aria-label="2 out of 5 stars">&starf;&starf;&star;&star;&star;</span>. By number: &#9733;&#9733;&#9734;&#9734;&#9734;.
  • ★☆☆☆☆ One star out of five. With a label: <span role="img" aria-label="1 out of 5 stars">&starf;&star;&star;&star;&star;</span>. By number: &#9733;&#9734;&#9734;&#9734;&#9734;.
  • ☆☆☆☆☆ No stars out of five. With a label: <span role="img" aria-label="0 out of 5 stars">&star;&star;&star;&star;&star;</span>. By number: &#9734;&#9734;&#9734;&#9734;&#9734;.

Ratings with a half

  • ½☆☆☆☆ Half a star out of five. With a label: <span role="img" aria-label="0.5 out of 5 stars">&half;&star;&star;&star;&star;</span>.
  • ★½☆☆☆ One and a half stars out of five. With a label: <span role="img" aria-label="1.5 out of 5 stars">&starf;&half;&star;&star;&star;</span>.
  • ★★½☆☆ Two and a half stars out of five. With a label: <span role="img" aria-label="2.5 out of 5 stars">&starf;&starf;&half;&star;&star;</span>.
  • ★★★½☆ Three and a half stars out of five. With a label: <span role="img" aria-label="3.5 out of 5 stars">&starf;&starf;&starf;&half;&star;</span>.
  • ★★★★½ Four and a half stars out of five. With a label: <span role="img" aria-label="4.5 out of 5 stars">&starf;&starf;&starf;&starf;&half;</span>.
  • ⯪☆☆☆☆ Half a star out of five, with the split star ⯪: &#11242;&star;&star;&star;&star;. An empty box where no font has it.
  • ★⯪☆☆☆ One and a half stars out of five, with the split star ⯪: &starf;&#11242;&star;&star;&star;. An empty box where no font has it.
  • ★★⯪☆☆ Two and a half stars out of five, with the split star ⯪: &starf;&starf;&#11242;&star;&star;. An empty box where no font has it.
  • ★★★⯪☆ Three and a half stars out of five, with the split star ⯪: &starf;&starf;&starf;&#11242;&star;. An empty box where no font has it.
  • ★★★★⯪ Four and a half stars out of five, with the split star ⯪: &starf;&starf;&starf;&starf;&#11242;. An empty box where no font has it.
  • One half U+00BD. Stands for the half star in the ratings here. Also &frac12; and, by number, &#189;.

Five points

  • Outlined white star U+269D. By number: &#9885; or &#x269D;.
  • Stress outlined white star U+2729. By number: &#10025; or &#x2729;.
  • Circled white star U+272A. By number: &#10026; or &#x272A;.
  • Open centre black star U+272B. By number: &#10027; or &#x272B;.
  • Black centre white star U+272C. By number: &#10028; or &#x272C;.
  • Outlined black star U+272D. By number: &#10029; or &#x272D;.
  • Heavy outlined black star U+272E. By number: &#10030; or &#x272E;.
  • Pinwheel star U+272F. By number: &#10031; or &#x272F;.
  • Shadowed white star U+2730. By number: &#10032; or &#x2730;.
  • Black small star U+2B51. By number: &#11089; or &#x2B51;.
  • White small star U+2B52. By number: &#11090; or &#x2B52;.
  • Light five pointed black star U+1F7C9. By number: &#128969; or &#x1F7C9;. An empty box where no font has it.
  • Heavy five pointed black star U+1F7CA. By number: &#128970; or &#x1F7CA;. An empty box where no font has it.
  • Arabic five pointed star U+066D. By number: &#1645; or &#x66D;. Written right to left.

Other numbers of points

  • Three pointed black star U+1F7C2. By number: &#128962; or &#x1F7C2;. An empty box where no font has it.
  • Light three pointed black star U+1F7C0. By number: &#128960; or &#x1F7C0;. An empty box where no font has it.
  • Medium three pointed black star U+1F7C1. By number: &#128961; or &#x1F7C1;. An empty box where no font has it.
  • Medium three pointed pinwheel star U+1F7C3. By number: &#128963; or &#x1F7C3;. An empty box where no font has it.
  • Black four pointed star U+2726. By number: &#10022; or &#x2726;.
  • White four pointed star U+2727. By number: &#10023; or &#x2727;.
  • Light four pointed black star U+1F7C4. By number: &#128964; or &#x1F7C4;. An empty box where no font has it.
  • Medium four pointed black star U+1F7C5. By number: &#128965; or &#x1F7C5;. An empty box where no font has it.
  • Four pointed black star U+1F7C6. By number: &#128966; or &#x1F7C6;. An empty box where no font has it.
  • Medium four pointed pinwheel star U+1F7C7. By number: &#128967; or &#x1F7C7;. An empty box where no font has it.
  • Reverse light four pointed pinwheel star U+1F7C8. By number: &#128968; or &#x1F7C8;. An empty box where no font has it.
  • Star of David U+2721. By number: &#10017; or &#x2721;. An emoji too: add &#65038; for the plain text form.
  • Medium six pointed black star U+1F7CB. By number: &#128971; or &#x1F7CB;. An empty box where no font has it.
  • Heavy six pointed black star U+1F7CC. By number: &#128972; or &#x1F7CC;. An empty box where no font has it.
  • Six pointed pinwheel star U+1F7CD. By number: &#128973; or &#x1F7CD;. An empty box where no font has it.
  • Eight pointed black star U+2734. By number: &#10036; or &#x2734;. An emoji too: add &#65038; for the plain text form.
  • Eight pointed pinwheel star U+2735. By number: &#10037; or &#x2735;.
  • Eight pointed rectilinear black star U+2737. By number: &#10039; or &#x2737;.
  • Heavy eight pointed rectilinear black star U+2738. By number: &#10040; or &#x2738;.
  • Medium eight pointed black star U+1F7CE. By number: &#128974; or &#x1F7CE;. An empty box where no font has it.
  • Heavy eight pointed black star U+1F7CF. By number: &#128975; or &#x1F7CF;. An empty box where no font has it.
  • Very heavy eight pointed black star U+1F7D0. By number: &#128976; or &#x1F7D0;. An empty box where no font has it.
  • Heavy eight pointed pinwheel star U+1F7D1. By number: &#128977; or &#x1F7D1;. An empty box where no font has it.
  • Nine pointed white star U+1F7D9. By number: &#128985; or &#x1F7D9;. An empty box where no font has it.
  • Twelve pointed black star U+2739. By number: &#10041; or &#x2739;.
  • Light twelve pointed black star U+1F7D2. By number: &#128978; or &#x1F7D2;. An empty box where no font has it.
  • Heavy twelve pointed black star U+1F7D3. By number: &#128979; or &#x1F7D3;. An empty box where no font has it.
  • Heavy twelve pointed pinwheel star U+1F7D4. By number: &#128980; or &#x1F7D4;. An empty box where no font has it.
  • Circled open centre eight pointed star U+2742. By number: &#10050; or &#x2742;.

Small and circled

  • APL functional symbol circle star U+235F. By number: &#9055; or &#x235F;.
  • Circled asterisk operator U+229B. An asterisk in a circle, from math. Also &circledast;. By number: &#8859; or &#x229B;.

Star emoji

  • ⭐⭐⭐⭐⭐ &#11088; five times.
  • ⭐⭐⭐⭐ &#11088; four times.
  • ⭐⭐⭐ &#11088; three times.
  • ⭐⭐ &#11088; two times.
  • Glowing star U+1F31F. Emoji 0.6. In hexadecimal: &#x1F31F;.
  • Shooting star U+1F320. Emoji 0.6. In hexadecimal: &#x1F320;.
  • Sparkles U+2728. Emoji 0.6. In hexadecimal: &#x2728;.
  • Dizzy U+1F4AB. Emoji 0.6. In hexadecimal: &#x1F4AB;.
  • Star-struck U+1F929. Emoji 5.0. In hexadecimal: &#x1F929;.
  • Night with stars U+1F303. Emoji 0.6. In hexadecimal: &#x1F303;.
  • Dotted six-pointed star U+1F52F. Emoji 0.6. In hexadecimal: &#x1F52F;.
  • Eight-pointed star, emoji U+2734 U+FE0F. Emoji 0.6. In hexadecimal: &#x2734;&#xFE0F;. The second number asks for the emoji form.
  • Star of David, emoji U+2721 U+FE0F. Emoji 0.7. In hexadecimal: &#x2721;&#xFE0F;. The second number asks for the emoji form.
  • Star and crescent, emoji U+262A U+FE0F. Emoji 0.7. In hexadecimal: &#x262A;&#xFE0F;. The second number asks for the emoji form.

Half stars, may be an empty box

  • Star with left half black U+2BEA. By number: &#11242; or &#x2BEA;. An empty box where no font has it.
  • Star with right half black U+2BEB. By number: &#11243; or &#x2BEB;. An empty box where no font has it.
  • Left half black star U+2BE8. By number: &#11240; or &#x2BE8;. An empty box where no font has it.
  • Right half black star U+2BE9. By number: &#11241; or &#x2BE9;. An empty box where no font has it.

Star in a sign

  • Star and crescent U+262A. By number: &#9770; or &#x262A;. An emoji too: add &#65038; for the plain text form.
  • Star equals U+225B. By number: &#8795; or &#x225B;.
  • APL functional symbol star diaeresis U+2363. By number: &#9059; or &#x2363;.
  • Manichaean punctuation star U+10AF0. By number: &#68336; or &#x10AF0;. Written right to left.

How this list was compiled: The names are those of the HTML standard (html.spec.whatwg.org): looked through for every character whose Unicode name holds the word star, it names four, ★ ☆ ⋆ and ✶. The asterisk, the circled asterisk and the half fraction have names as well. Where a character has two names, the column shows one and the note gives the other. Numbers are the code points. Character names are from UnicodeData.txt, version 18.0.0 (unicode.org), in sentence case; emoji names and versions from unicode.org; which stars are emoji as well: unicode.org. That a thing with role img needs an aria-label: w3.org. The color names: w3.org. Every character with star in its Unicode name is on the page. The ratings, their labels, the groups and the order are this page’s own. All read on November 30, 2026. License: own work (facts from the HTML standard, WAI-ARIA 1.2, CSS Color Module Level 4 and the Unicode Character Database, Unicode License v3, unicode.org)

How it works

In HTML the filled star ★ is &starf; and the outline ☆ is &star;. Every other character that Unicode names a star is on this page with its number, and a rating such as ★★★★☆ is one code to copy.

Read the full guide

Four stars have a name

★ is &starf; or &bigstar;, ☆ is &star;, ⋆ is &sstarf; or &Star;, and ✶ is &sext;. Capitals count: &star; is the outline, &Star; the small star from math. None of them works without its semicolon. The star of the keyboard, *, is &ast; when it has to be a code.

A rating with words

To give a row of stars words, put it in a span with role="img" and a label, as WAI-ARIA asks, such as aria-label="4 out of 5 stars". The full list further down has that span written out for the ratings with whole stars and with ½.

  • Stars that can show as an empty box, the three-pointed ones among them, are in the full list and not in the table.
  • For ✡, ✴ and ☪, which are emoji too, add &#65038; after the code to ask for the plain text form.

Questions and answers

What is the HTML code for a star?

By number, &#9733; is ★ and &#9734; is ☆. In hexadecimal they are &#x2605; and &#x2606;. In a style sheet write content: "\2605".

How do I make a star rating in HTML?

Put five codes in a row: &starf;&starf;&starf;&star;&star; is ★★★☆☆. Each rating from none to five is one row of the table, and its note in the full list has it by number too.

How do I make an HTML star yellow?

★ takes a text color as a letter does: write color: gold in CSS. CSS has gold, #ffd700, and the darker goldenrod, #daa520, by name. The emoji &#11088; is ⭐ and brings a color of its own.

Is there an HTML code for a half star?

Not by name. ⯪ is &#11242;, in Unicode since version 11.0, and an empty box where no font has it. The ratings with &half; use ½, in Unicode since version 1.1.