Skip to content

U+0024 · Basic Latin

Dollar Sign $

The dollar sign marks amounts in US, Canadian, Australian, and many other dollars, and it is also used for pesos and other currencies descended from the Spanish peso. Outside finance it has a busy second life in computing: shell variables, PHP and Perl variable names, jQuery, regular-expression end anchors, and absolute cell references in spreadsheet formulas all rely on it.

UnicodeU+0024
HTML$
$U+0024

Character codes

Unicode code pointU+0024
Decimal36
HTML named entity$
HTML (hex)$
HTML (decimal)$
CSS\0024
JavaScript\u0024
Python\u0024
UTF-8 bytes24
UTF-160024
URL-encoded%24

Character details

Official nameDOLLAR SIGN
Unicode blockBasic Latin
General categoryCurrency Symbol (Sc)
SymbolHero categoryCurrency Symbols
EmojiNo

How to type $

Windows

  • In Microsoft Word or Outlook: type 0024 then press Alt + X.
  • Open Character Map (search “Character Map” in Start), tick “Advanced view”, search for “dollar sign”, then Select and Copy.

Mac

  • Press Control + Command + Space to open the Character Viewer, search “dollar sign”, and double-click the result.
  • With the Unicode Hex Input keyboard enabled (System Settings → Keyboard → Input Sources), hold Option and type 0024.

iPhone & Android

  • Tap Copy at the top of this page, then long-press where you want it and choose Paste.

Docs & web

  • Google Docs: Insert → Special characters, then search “dollar sign” or enter U+0024.
  • HTML: $ or $
  • Excel / Google Sheets: =UNICHAR(36)

Examples

  • Lunch special: $12.99
  • Total due: US$1,250.00
  • echo $HOME
  • =SUM($B$2:$B$10)

Good to know

Don’t mix it up: Often confused with the fullwidth dollar sign $ (U+FF04) used in East Asian text, which is wider and will not match $ in code or search.

Tip: In US and Canadian English the sign goes before the number with no space ($5), while in French Canadian usage it follows the number after a space (5 $).

Display: the character itself is always the same code point, but its shape comes from the font on the device showing it. If you see an empty box, the font lacks this glyph—the text is still correct.

Questions

What is the Unicode for $?

It is U+0024 (DOLLAR SIGN), decimal 36.

Is there a Windows Alt code for it?

No standard Alt code exists for this character. In Word type 0024 then Alt+X, or copy it from this page.

How do I type it on a Mac?

There is no built-in Option shortcut. Use the Character Viewer (Control + Command + Space) and search “dollar sign”, or copy it from this page.

What is the HTML code?

Use the named entity $ or the numeric reference $.