U+2642

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.

Mars in every code representation: Unicode, HTML, CSS, JavaScript, UTF-8/UTF-16 and Windows alt code.
Symbol
UnicodeU+2642
NameMars (Male Sign)
HTML (decimal)♂
HTML (hex)♂
CSS content\2642
JavaScript / JSON\u2642
UTF-8 bytes0xE2 0x99 0x82
UTF-16 units0x2642

How to type the mars symbol

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.