★Black starU+2605. The filled star. Also ★. By number: ★ or ★.
☆White starU+2606. The outline. It has no second name. By number: ☆ or ☆.
★Black star, by numberU+2605. The decimal number. In hexadecimal: ★. By name: ★.
☆White star, by numberU+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">★★★★☆</span>. By number: ★★★★☆.
★★★★★Five stars out of five. With a label: <span role="img" aria-label="5 out of 5 stars">★★★★★</span>. By number: ★★★★★.
⭐White medium starU+2B50. An emoji, so it has a color of its own. In hexadecimal: ⭐.
⋆Star operatorU+22C6. A small star from math. Also ⋆, with a capital S. By number: ⋆ or ⋆.
Stars with a name
*AsteriskU+002A. The star of the keyboard. Also *. By number: * or *.
✶Six pointed black starU+2736. By number: ✶ or ✶.
Ratings, by name
★★★☆☆Three stars out of five. With a label: <span role="img" aria-label="3 out of 5 stars">★★★☆☆</span>. By number: ★★★☆☆.
★★☆☆☆Two stars out of five. With a label: <span role="img" aria-label="2 out of 5 stars">★★☆☆☆</span>. By number: ★★☆☆☆.
★☆☆☆☆One star out of five. With a label: <span role="img" aria-label="1 out of 5 stars">★☆☆☆☆</span>. By number: ★☆☆☆☆.
☆☆☆☆☆No stars out of five. With a label: <span role="img" aria-label="0 out of 5 stars">☆☆☆☆☆</span>. By number: ☆☆☆☆☆.
Ratings with a half
½☆☆☆☆Half a star out of five. With a label: <span role="img" aria-label="0.5 out of 5 stars">½☆☆☆☆</span>.
★½☆☆☆One and a half stars out of five. With a label: <span role="img" aria-label="1.5 out of 5 stars">★½☆☆☆</span>.
★★½☆☆Two and a half stars out of five. With a label: <span role="img" aria-label="2.5 out of 5 stars">★★½☆☆</span>.
★★★½☆Three and a half stars out of five. With a label: <span role="img" aria-label="3.5 out of 5 stars">★★★½☆</span>.
★★★★½Four and a half stars out of five. With a label: <span role="img" aria-label="4.5 out of 5 stars">★★★★½</span>.
⯪☆☆☆☆Half a star out of five, with the split star ⯪: ⯪☆☆☆☆. An empty box where no font has it.
★⯪☆☆☆One and a half stars out of five, with the split star ⯪: ★⯪☆☆☆. An empty box where no font has it.
★★⯪☆☆Two and a half stars out of five, with the split star ⯪: ★★⯪☆☆. An empty box where no font has it.
★★★⯪☆Three and a half stars out of five, with the split star ⯪: ★★★⯪☆. An empty box where no font has it.
★★★★⯪Four and a half stars out of five, with the split star ⯪: ★★★★⯪. An empty box where no font has it.
½One halfU+00BD. Stands for the half star in the ratings here. Also ½ and, by number, ½.
Five points
⚝Outlined white starU+269D. By number: ⚝ or ⚝.
✩Stress outlined white starU+2729. By number: ✩ or ✩.
✪Circled white starU+272A. By number: ✪ or ✪.
✫Open centre black starU+272B. By number: ✫ or ✫.
✬Black centre white starU+272C. By number: ✬ or ✬.
✭Outlined black starU+272D. By number: ✭ or ✭.
✮Heavy outlined black starU+272E. By number: ✮ or ✮.
✯Pinwheel starU+272F. By number: ✯ or ✯.
✰Shadowed white starU+2730. By number: ✰ or ✰.
⭑Black small starU+2B51. By number: ⭑ or ⭑.
⭒White small starU+2B52. By number: ⭒ or ⭒.
🟉Light five pointed black starU+1F7C9. By number: 🟉 or 🟉. An empty box where no font has it.
🟊Heavy five pointed black starU+1F7CA. By number: 🟊 or 🟊. An empty box where no font has it.
٭Arabic five pointed starU+066D. By number: ٭ or ٭. Written right to left.
Other numbers of points
🟂Three pointed black starU+1F7C2. By number: 🟂 or 🟂. An empty box where no font has it.
🟀Light three pointed black starU+1F7C0. By number: 🟀 or 🟀. An empty box where no font has it.
🟁Medium three pointed black starU+1F7C1. By number: 🟁 or 🟁. An empty box where no font has it.
🟃Medium three pointed pinwheel starU+1F7C3. By number: 🟃 or 🟃. An empty box where no font has it.
✦Black four pointed starU+2726. By number: ✦ or ✦.
✧White four pointed starU+2727. By number: ✧ or ✧.
🟄Light four pointed black starU+1F7C4. By number: 🟄 or 🟄. An empty box where no font has it.
🟅Medium four pointed black starU+1F7C5. By number: 🟅 or 🟅. An empty box where no font has it.
🟆Four pointed black starU+1F7C6. By number: 🟆 or 🟆. An empty box where no font has it.
🟇Medium four pointed pinwheel starU+1F7C7. By number: 🟇 or 🟇. An empty box where no font has it.
🟈Reverse light four pointed pinwheel starU+1F7C8. By number: 🟈 or 🟈. An empty box where no font has it.
✡Star of DavidU+2721. By number: ✡ or ✡. An emoji too: add ︎ for the plain text form.
🟋Medium six pointed black starU+1F7CB. By number: 🟋 or 🟋. An empty box where no font has it.
🟌Heavy six pointed black starU+1F7CC. By number: 🟌 or 🟌. An empty box where no font has it.
🟍Six pointed pinwheel starU+1F7CD. By number: 🟍 or 🟍. An empty box where no font has it.
✴Eight pointed black starU+2734. By number: ✴ or ✴. An emoji too: add ︎ for the plain text form.
✵Eight pointed pinwheel starU+2735. By number: ✵ or ✵.
✷Eight pointed rectilinear black starU+2737. By number: ✷ or ✷.
✸Heavy eight pointed rectilinear black starU+2738. By number: ✸ or ✸.
🟎Medium eight pointed black starU+1F7CE. By number: 🟎 or 🟎. An empty box where no font has it.
🟏Heavy eight pointed black starU+1F7CF. By number: 🟏 or 🟏. An empty box where no font has it.
🟐Very heavy eight pointed black starU+1F7D0. By number: 🟐 or 🟐. An empty box where no font has it.
🟑Heavy eight pointed pinwheel starU+1F7D1. By number: 🟑 or 🟑. An empty box where no font has it.
🟙Nine pointed white starU+1F7D9. By number: 🟙 or 🟙. An empty box where no font has it.
✹Twelve pointed black starU+2739. By number: ✹ or ✹.
🟒Light twelve pointed black starU+1F7D2. By number: 🟒 or 🟒. An empty box where no font has it.
🟓Heavy twelve pointed black starU+1F7D3. By number: 🟓 or 🟓. An empty box where no font has it.
🟔Heavy twelve pointed pinwheel starU+1F7D4. By number: 🟔 or 🟔. An empty box where no font has it.
❂Circled open centre eight pointed starU+2742. By number: ❂ or ❂.
Small and circled
⍟APL functional symbol circle starU+235F. By number: ⍟ or ⍟.
⊛Circled asterisk operatorU+229B. An asterisk in a circle, from math. Also ⊛. By number: ⊛ or ⊛.
Star emoji
⭐⭐⭐⭐⭐⭐ five times.
⭐⭐⭐⭐⭐ four times.
⭐⭐⭐⭐ three times.
⭐⭐⭐ two times.
🌟Glowing starU+1F31F. Emoji 0.6. In hexadecimal: 🌟.
🌠Shooting starU+1F320. Emoji 0.6. In hexadecimal: 🌠.
✨SparklesU+2728. Emoji 0.6. In hexadecimal: ✨.
💫DizzyU+1F4AB. Emoji 0.6. In hexadecimal: 💫.
🤩Star-struckU+1F929. Emoji 5.0. In hexadecimal: 🤩.
🌃Night with starsU+1F303. Emoji 0.6. In hexadecimal: 🌃.
🔯Dotted six-pointed starU+1F52F. Emoji 0.6. In hexadecimal: 🔯.
✴️Eight-pointed star, emojiU+2734 U+FE0F. Emoji 0.6. In hexadecimal: ✴️. The second number asks for the emoji form.
✡️Star of David, emojiU+2721 U+FE0F. Emoji 0.7. In hexadecimal: ✡️. The second number asks for the emoji form.
☪️Star and crescent, emojiU+262A U+FE0F. Emoji 0.7. In hexadecimal: ☪️. The second number asks for the emoji form.
Half stars, may be an empty box
⯪Star with left half blackU+2BEA. By number: ⯪ or ⯪. An empty box where no font has it.
⯫Star with right half blackU+2BEB. By number: ⯫ or ⯫. An empty box where no font has it.
⯨Left half black starU+2BE8. By number: ⯨ or ⯨. An empty box where no font has it.
⯩Right half black starU+2BE9. By number: ⯩ or ⯩. An empty box where no font has it.
Star in a sign
☪Star and crescentU+262A. By number: ☪ or ☪. An emoji too: add ︎ for the plain text form.
≛Star equalsU+225B. By number: ≛ or ≛.
⍣APL functional symbol star diaeresisU+2363. By number: ⍣ or ⍣.
𐫰Manichaean punctuation starU+10AF0. By number: 𐫰 or 𐫰. 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 ★ and the outline ☆ is ☆. 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 ★ or ★, ☆ is ☆, ⋆ is ⋆ or ⋆, and ✶ is ✶. Capitals count: ☆ is the outline, ⋆ the small star from math. None of them works without its semicolon. The star of the keyboard, *, is * 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 ︎ after the code to ask for the plain text form.
Questions and answers
What is the HTML code for a star?
By number, ★ is ★ and ☆ is ☆. In hexadecimal they are ★ and ☆. In a style sheet write content: "\2605".
How do I make a star rating in HTML?
Put five codes in a row: ★★★☆☆ 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 ⭐ is ⭐ and brings a color of its own.
Is there an HTML code for a half star?
Not by name. ⯪ is ⯪, in Unicode since version 11.0, and an empty box where no font has it. The ratings with ½ use ½, in Unicode since version 1.1.