HTML Entity for Peso Sign (₱)

What You'll Learn
How to display the Peso sign (₱) in HTML using hexadecimal, decimal, and CSS escape methods. This character is U+20B1 (PESO SIGN) in the Currency Symbols block (U+20A0–U+20CF)—the official currency symbol for the Philippine peso (PHP).
Render it with ₱, ₱, or CSS escape \20B1. There is no named HTML entity for U+20B1. Do not confuse ₱ with ₧ (peseta) or the dollar-style notation used for Mexican peso (MXN).
⚡ Quick Reference — Peso Sign
U+20B1Currency Symbols block
₱Hexadecimal reference
₱Decimal reference
—Use numeric codes only
Name Value
──────────── ──────────
Unicode U+20B1
Hex code ₱
HTML code ₱
Named entity (none)
CSS code \20B1
Currency PHP (Philippine peso)
Related U+20A7 = peseta (₧); U+0024 = dollar ($)Complete HTML Example
A simple example showing ₱ using hexadecimal code, decimal HTML code, and a CSS content escape:
<!DOCTYPE html>
<html>
<head>
<style>
#point::after{
content: "\20B1";
}
</style>
</head>
<body>
<p>Peso (hex): ₱</p>
<p>Peso (decimal): ₱</p>
<p>Price: ₱ 599.00</p>
<p id="point">Peso (CSS): </p>
</body>
</html>🌐 Browser Support
U+20B1 is supported in modern browsers when rendered with a Unicode-capable font:
👀 Live Preview
See the Peso sign (₱) in pricing and currency contexts:
🧠 How It Works
Hexadecimal Code
₱ uses the Unicode hexadecimal value 20B1 to display the Peso sign.
Decimal HTML Code
₱ uses the decimal Unicode value 8369 for the same character.
CSS Entity
\20B1 is used in CSS stylesheets in the content property of pseudo-elements for price prefixes.
Same visual result
All three methods produce ₱. Unicode U+20B1 in Currency Symbols. Previous: Peseta Sign (₧).
Use Cases
The Peso sign (₱) is commonly used in:
Product prices and checkout totals on Philippine online stores.
Banking dashboards, balances, and transaction lists in PHP.
SaaS plans, subscriptions, and service quotes in pesos.
Exchange-rate widgets and travel finance tools listing PHP.
Web and PDF invoices for businesses operating in the Philippines.
Economic reports and articles referencing the Philippine peso.
💡 Best Practices
Do
- Use
₱or₱consistently per project - Pair ₱ with the ISO code
PHPfor clarity in international contexts - Serve pages with UTF-8 (
<meta charset="utf-8">) - Use
aria-label="Philippine peso"for screen readers when needed - Test currency glyph rendering across browsers and fonts
Don’t
- Use ₱ for Mexican peso (MXN)—that currency typically uses $ or MX$
- Confuse ₱ (peso) with ₧ (peseta) or € (euro)
- Expect a named entity—none exists for U+20B1
- Put CSS escape
\20B1in HTML text nodes - Use padded Unicode notation like U+020B1—the correct value is
U+20B1
Key Takeaways
Two HTML numeric references render ₱
₱ ₱For CSS stylesheets, use \20B1 in the content property
Unicode U+20B1 — PESO SIGN for Philippine peso (PHP)
Currency Symbols block (U+20A0–U+20CF)
Previous: Peseta Sign (₧) Next: Phi (ɸ)
❓ Frequently Asked Questions
₱ (hex), ₱ (decimal), or \20B1 in CSS content. All produce ₱. There is no named entity.U+20B1 (PESO SIGN). Currency Symbols block (U+20A0–U+20CF). Hex 20B1, decimal 8369. Official symbol for the Philippine peso (PHP).Explore More HTML Entities!
Discover 1500+ HTML character references — currency symbols, math operators, arrows, and more.
8 people found this page helpful
