HTML Entity for Peso Sign (₱)

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

What Is the Peso Sign Entity?

Peso Sign is the currency character at Unicode U+20B1 for the Philippine peso (PHP) (₱). HTML5 has no named entity — use ₱ or ₱.

Remember
Character     ₱
Unicode       U+20B1
Named entity  (none)
Hex entity    ₱
Decimal       ₱
CSS escape    \20B1

Hex, decimal, and CSS all produce the same peso sign. Do not confuse it with peseta (₧) or Mexican $ notation.

Quick Reference

One table for every form you will actually use.

FormCodeWhere it goes
Hex entity₱HTML
Decimal entity₱HTML
CSS escape\20B1Stylesheet content
Named entityNoneNot available for U+20B1
ISO codePHPPlain text / finance APIs

When to Use Which

SituationUse
Philippine peso price in HTML₱ 599.00
Need a decimal entity₱
Generated text via ::before / ::aftercontent: "\20B1"
Mexican peso (MXN)$ or MX$ — not U+20B1
Former Spanish pesetaSee Peseta Sign — U+20A7

Live Preview

Peso sign in pricing context, compared with lookalikes.

Example ₱ 1,250.00
Large glyph ₱
Hex entity ₱ → ₱
vs lookalikes ₱  |  ₧  |  $
With entities Hex: ₱ | Decimal: ₱

Complete HTML Example

One page that shows Peso Sign with hex, decimal, and CSS forms. Use View Output or open the live editor.

Hex + Decimal + CSS

Three ways to render U+20B1 (peso ₱) — no named entity.

html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Peso Sign (U+20B1)</title>
  <style>
    #point::after {
      content: "\20B1";
    }
  </style>
</head>
<body>
  <p>Using Hex Code: &#x20B1;</p>
  <p>Using HTML Code: &#8369;</p>
  <p id="point">Using CSS Entity: </p>
  <p>Price: &#x20B1; 599.00</p>
</body>
</html>
Try It Yourself

How It Works

1. Hex: &#x20B1; inserts U+20B1 from its hex value → ₱.

2. Decimal: same character as 8369 → &#8369;. Same visual result.

3. CSS: use \20B1 only inside content (e.g. on ::after).

4. No named form: there is no &peso; — stick to numeric or CSS escapes.

Pitfalls & Tips

Common mistakes when working with Peso Sign.

MXN

Not Mexican peso

₱ is Philippine peso (PHP). For MXN, use $ or MX$ with clear currency labels.

vs ₧

Not peseta

Peseta is U+20A7 (₧). Peso is U+20B1 — different historical currencies.

Named

No &peso;

HTML5 does not define a named entity for U+20B1. Use &#x20B1; or &#8369;.

A11y

Add currency context

Pair the glyph with PHP or visible text when the audience may not know ₱.

CSS vs HTML

Do not mix escapes

\20B1 belongs in CSS. &#x20B1; / &#8369; belong in HTML.

Semicolon

End references

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

Browser Support

Peso Sign (U+20B1) and its entity forms (&#x20B1;, &#8369;, CSS \\20B1) are supported in all mainstream browsers with a font that includes Currency Symbols.

✓ Universal support

Peso Sign (₱)

Encode with hex, decimal, or CSS escape. No named entity. Philippine peso (PHP).

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+20B1 Full support

Bottom line: Prefer &#x20B1; in HTML. Use \\20B1 only inside CSS content.

Key Takeaways

  • Unicode: Peso Sign is U+20B1 (decimal 8369) — Philippine peso (PHP).
  • HTML: prefer &#x20B1; (also &#8369;; no named entity).
  • CSS: use \20B1 inside content.
  • Lookalike: not peseta (₧) or Mexican $.

One line: U+20B1 → &#x20B1; (also &#8369; / CSS \20B1).

Frequently Asked Questions

Use &#x20B1; (hex), &#8369; (decimal), or the CSS escape \20B1 in the content property. All three render ₱. There is no named HTML entity for U+20B1.
U+20B1 (PESO SIGN). Hex 20B1, decimal 8369. It belongs to the Currency Symbols block and is the official symbol for the Philippine peso (PHP).
No. Use &#x20B1; or &#8369;. There is no HTML5 named entity such as &peso; for this character.
Use it for Philippine peso prices and financial UI — for example ₱ 599.00. Prefer the ISO code PHP in plain-text contexts where the glyph may be unclear.
No. U+20B1 is the Philippine peso sign. Mexican peso (MXN) is typically written with $ or MX$, not ₱.
U+20B1 is PESO SIGN (₱). U+20A7 is PESETA SIGN (₧), the former Spanish currency. Different characters — do not swap them.

Did you know?

Peso Sign is Unicode U+20B1 (decimal 8369) — in Currency Symbols. HTML5 has no named entity — use &#x20B1; or &#8369;. It is the official symbol for the Philippine peso (PHP). Mexican peso (MXN) usually uses $ / MX$, not ₱.

Next: Phi

Continue with the Phi (ɸ) entity tutorial.

Phi 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