Mars
♂ is the mars, assigned to Unicode code point U+2642. Because it is a real text character rather than an image, it survives copy and paste into documents, chat apps, spreadsheets and source code. Copy it with one click below, or grab the exact HTML entity, CSS escape and JavaScript string for your project.
| Symbol | ♂ | |
|---|---|---|
| Unicode | U+2642 | |
| Name | Mars (Male Sign) | |
| HTML (decimal) | ♂ | |
| HTML (hex) | ♂ | |
| CSS content | \2642 | |
| JavaScript / JSON | \u2642 | |
| UTF-8 bytes | 0xE2 0x99 0x82 | |
| UTF-16 units | 0x2642 |
How to type the mars symbol
- Copy and paste: click the ♂ at the top of this page, then paste with Ctrl+V (Windows) or Cmd+V (Mac). This is the fastest route on any device.
- HTML: write
♂in your markup. - CSS: use
content: "\2642"in a::beforeor::afterrule. - JavaScript: the escape
\u2642produces this character in a string.
Frequently asked questions
How do I copy the mars symbol?
Click the ♂ above or the copy button and it is placed on your clipboard. Paste it anywhere with Ctrl+V or Cmd+V. It is a real text character, so it works in documents, chats and code.
What is the Unicode code point for mars?
The mars has the Unicode code point U+2642. In HTML you can write it as ♂ or ♂.
Does the mars symbol work everywhere?
In almost every modern app and font, yes. If a font does not include this glyph you may see a placeholder box, but the underlying character U+2642 is still correct and will render in a font that supports it.
Related symbols
Browse the full zodiac symbols hub, or return to the searchable symbol grid.