| Symbol Name | Mercury |
| Unicode Version | 1.1 |
| Unicode | U+263F |
| Unicode block | |
| General category | Other Symbol (So) |
| CSS Code | \263F |
| Hex Code | 0x263F |
| HTML Code | ☿ |
| LaTeX | \mercury |
| Symbol | ☿ |
| URL encode (UTF-8 percent) | %E2%98%BF |
| Spoken / screen reader name | Mercury |
| UTF-8 | E2 98 BF |
| UTF-16 | 263F |
| UTF-32 | 0000263F |
1\documentclass{article}2\usepackage{pifont}3\mercury 4\end{document}You can type the mercury symbol on most modern devices with the help of following methods:
Alt + 9791 on Windows (numeric keypad with Num Lock), or insert via Character Map.
Edit → Emoji & Symbols, search "mercury", or use Unicode Hex Input with 263F.
Ctrl + Shift + U, type 263f, then Enter (layout-dependent).
Paste from this page, use text replacement, or pick from the emoji keyboard.
Paste from this page or use a keyboard with astrology symbol support.
1span.mercury::before { content: "\263F"; }1<span>☿</span>Mercury symbol's representation in different programming languages can be found in the table below:
| Language | Representation |
|---|---|
| JavaScript / TypeScript | '\u263F' or String.fromCodePoint(9791) |
| Python | '\N{MERCURY}' or chr(9791) |
| Rust | '\u{263F}' |
| C / C++ | UTF-8 source or wchar_t with U+263F |
| Go | string(rune(0x263F)) |
| Ruby | "\u{263F}" |