HTML Entity for Ruble Sign (₽)

Beginner
5 min read
Updated: Sep 2026
1 example
Unicode U+20BD

What Is the Ruble Sign Entity?

Ruble Sign (₽) is the Currency Symbols character at Unicode U+20BD (RUBLE SIGN). It is the official symbol for the Russian ruble — used in prices, invoices, and financial UI.

Remember
Character     ₽
Unicode       U+20BD
Hex entity    ₽
Decimal       ₽
Named entity  (none)
CSS escape    \20BD
Not the same  ₨ (rupee) · ₹ (INR) · € (€)

Hex, decimal, CSS, and a typed character all produce the same glyph: ₽. Prefer ₽ when you want an explicit entity.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Hex entity₽HTML markup (best entity default)
Decimal entity₽HTML markup
Named entityNoneHTML5 does not define one
CSS escape\20BDStylesheet content
Direct character₽UTF-8 HTML text

When to Use Which

SituationUse
Readable numeric entity in HTML₽
Decimal entity required₽
Generated text via ::before / ::aftercontent: "\20BD"
Indian rupee (₹)Use U+20B9
Euro (€)Use € (U+20AC)

Live Preview

Ruble Sign in price and currency comparison contexts.

Price snippet 1 500 ₽
Large glyph ₽
Hex entity ₽ → ₽
vs rupee / INR / euro ₽  |  ₨  |  ₹  |  €
With entities Hex: ₽ | Decimal: ₽

Complete HTML Example

One page that shows this symbol with hex, decimal, and CSS. Use View Output or open the live editor.

Hex + Decimal + CSS

Three ways to produce ₽ in a single document (no named entity).

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Ruble Sign (₽)</title>
  <style>
    #point::after {
      content: "\20BD";
    }
  </style>
</head>
<body>
  <p>Using Hex Code: &#x20BD;</p>
  <p>Using HTML Code: &#8381;</p>
  <p id="point">Using CSS Entity: </p>
  <p><code>Price: 1 500 &#8381;</code></p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: U+20BD → &#x20BD; in HTML. The browser turns it into ₽.

2. Decimal: same code point as 8381 → &#8381;. Same result as hex.

3. Named: HTML5 does not define a named entity for this character — use hex or decimal instead.

4. CSS: use \20BD in content (not an HTML entity). #point::after appends that ₽ after the paragraph text.

Pitfalls & Tips

Common mistakes when working with Ruble Sign.

Look-alikes

₽ ≠ ₨ ≠ ₹

U+20BD is Russian ruble. U+20A8 is generic rupee. U+20B9 is Indian rupee — different currencies.

Named

No &…; name

Do not invent a name. Use &#x20BD; or &#8381;.

Placement

Amount then symbol

Russian convention often places the symbol after the amount (for example 1 500 ₽).

Fonts

Glyph may be missing

U+20BD is newer than many currency signs. Test small sizes and provide a fallback font if needed.

CSS vs HTML

Do not mix escapes

\20BD belongs in CSS. &#x20BD; / &#8381; belong in HTML.

Semicolon

End references

Always finish with ; — write &#x20BD;, not &#x20BD.

Browser Support

Ruble Sign (U+20BD) and its entity forms (&#x20BD;, &#8381;, CSS \\20BD) are supported in all modern browsers. Glyph coverage depends on the font.

✓ Universal encoding

Ruble Sign (₽)

Encode with hex, decimal, or CSS escape — or type ₽ directly in UTF-8 HTML. No named entity.

100% Browser coverage
Google Chrome Supported
Yes
Microsoft Edge Supported
Yes
Mozilla Firefox Supported
Yes
Apple Safari Supported
Yes
Opera Supported
Yes
Internet Explorer IE 9+
Yes*
U+20BD Full support

Bottom line: Prefer &#x20BD; for readable HTML. Use \\20BD only inside CSS content.

Key Takeaways

  • Unicode: this symbol is U+20BD (decimal 8381).
  • HTML: prefer &#x20BD; — or use &#8381;. No named entity.
  • CSS: use \20BD inside content for generated text.
  • Watch out: U+20BD ≠ U+20A8 ≠ U+20B9.

One line: U+20BD → &#x20BD; / &#8381; / CSS \20BD (no named entity).

Frequently Asked Questions

Use &#x20BD; (hex), &#8381; (decimal), or the CSS escape \20BD in the content property. All render ₽ when the font supports Currency Symbols. There is no named HTML entity.
U+20BD (RUBLE SIGN). Hex 20BD, decimal 8381. It belongs to Currency Symbols (U+20A0–U+20CF). Official Russian ruble symbol since 2013.
No. HTML5 does not define a named entity for U+20BD. Use numeric references like &#x20BD; or &#8381;.
Use it for prices and currency labels on financial, e-commerce, and Russian-market pages (for example 1 500 &#x20BD;). Prefer numeric entities when encoding must be explicit.
HTML entities (&#8381; or &#x20BD;) go in markup. The CSS escape \20BD is used in stylesheets (usually in the content property of ::before/::after). Both render ₽.
&#x20A8; is the generic rupee sign. &#x20B9; is the Indian rupee sign. U+20BD is specifically the Russian ruble — different currencies and code points.

Did you know?

Ruble Sign is Unicode U+20BD (decimal 8381) — RUBLE SIGN, the official Russian ruble symbol (Currency Symbols). HTML5 has no named entity — use &#x20BD; or &#8381;. Do not confuse it with the generic rupee sign (₨) or Indian rupee sign (₹).

Next: Rupee Sign

Learn the HTML entity for Rupee Sign — next in this sequence.

Continue tutorial →

CODETOFUN NEWS

Stay Ahead in Tech

Get the latest IT news, programming updates, and technology trends directly on your phone.

Your daily dose of tech, straight to your feed.

About the author

Mari Selvan M P
Mari Selvan M P 🔗

Developer, cloud engineer, and technical writer

  • Experience 12 years building web and cloud systems
  • Focus Full Stack Development, AWS, and Developer Education

I write practical tutorials so students and working developers can learn by doing—from databases and APIs to deployment on AWS.

8 people found this page helpful