Dollar Sign $
The dollar sign is the currency symbol for the United States dollar and is also used by many other countries including Canada, Australia, and numerous Latin American nations. It is one of the most widely recognized currency symbols in the world. The HTML5 specification includes the named entity $ for explicit encoding.
All Representations
$$$U+0024Rendered Output
$ renders as the character shown above
When to Use Dollar Sign
Use the dollar sign entity when you need to ensure the $ character is not misinterpreted in templating engines or programming contexts where it has special meaning (variable interpolation). In standard HTML text, the dollar sign can usually be typed directly without entity encoding.
Try It — HTML Examples
<p>Symbol: $</p><p>Symbol: $</p><p>Symbol: $</p><div title="The Dollar Sign: $">Hover to see</div>About the Dollar Sign Entity
The Dollar Sign character ($) is a standard HTML entity defined in the HTML specification. In HTML source code, it can be written using the named entity reference $, the decimal numeric character reference $, or the hexadecimal numeric reference $. The character is assigned Unicode code point U+0024 in the Universal Character Set.
The dollar sign is the currency symbol for the United States dollar and is also used by many other countries including Canada, Australia, and numerous Latin American nations. It is one of the most widely recognized currency symbols in the world. The HTML5 specification includes the named entity $ for explicit encoding.
Currency symbol entities are essential for e-commerce platforms, financial dashboards, and any web content that displays monetary values across different markets. Using the correct HTML entity or Unicode code point ensures that currency symbols render consistently regardless of the visitor's operating system, installed fonts, or browser configuration. For international websites, properly encoded currency entities enable accurate localization of prices and financial data.
When deciding how to encode the Dollar Sign character in your HTML documents, the named entity $ is generally the most readable choice for developers reviewing or maintaining source code. The decimal form $ and hexadecimal form $ are equally valid alternatives that work in contexts where named entities may not be supported, or when generating HTML output programmatically from server-side code. All three representations produce identical visual output in every modern web browser.
Use the dollar sign entity when you need to ensure the $ character is not misinterpreted in templating engines or programming contexts where it has special meaning (variable interpolation). In standard HTML text, the dollar sign can usually be typed directly without entity encoding.
Related Entities
Explore More HTML Entities
Browse our complete reference of 262 HTML entities with codes, examples, and usage tips.