₿ is the Unicode character BITCOIN SIGN, code point U+20BF (decimal 8383) in the Currency Symbols block, added in Unicode 10.0. In HTML write ₿, and in UTF-8 it is the 3 bytes E2 82 BF.
Codes
| Where | How to write it |
|---|---|
| Code point | U+20BF |
| Decimal | 8383 |
| UTF-8 bytes | E2 82 BF |
| UTF-16 (big-endian) | 20BF |
| UTF-32 | 000020BF |
| HTML decimal | ₿ |
| HTML hex | ₿ |
| CSS | \20BF |
| JavaScript | \u20BF |
| JSON | \u20BF |
| Python | \u20BF |
| Python by name | \N{BITCOIN SIGN} |
| Java, C# | \u20BF |
| Rust, Swift | \u{20BF} |
| Go, C, C++ | \u20BF |
| URL (percent-encoded) | %E2%82%BF |
JavaScript and JSON strings store text as UTF-16, so this character is one code unit long. Python 3 strings count code points, so its length there is 1.
Properties
| Property | Value |
|---|---|
| Name | BITCOIN SIGN |
| Code point | U+20BF (decimal 8383) |
| Block | Currency Symbols (U+20A0–U+20CF) |
| General category | Sc: Currency symbol |
| Script | Common |
| Bidirectional class | ET: European number terminator |
| Mirrored in right-to-left text | No |
| First in Unicode version | 10.0 |
Nearby in Currency Symbols
- ₷ U+20B7 Spesmilo Sign
- ₸ U+20B8 Tenge Sign
- ₹ U+20B9 Indian Rupee Sign
- ₺ U+20BA Turkish Lira Sign
- ₻ U+20BB Nordic Mark Sign
- ₼ U+20BC Manat Sign
- ₽ U+20BD Ruble Sign
- ₾ U+20BE Lari Sign
- ⃀ U+20C0 Som Sign
- U+20C1 Saudi Riyal Sign
- U+20C2 Rufiyaa Sign
- U+20C3 Uae Dirham Sign
- U+20C4 Omani Rial Sign
All 37 characters: Currency Symbols.
Official reference
Questions people ask
- What is the HTML code for ₿?
- Use ₿ (decimal) or ₿ (hex).
- What is the UTF-8 encoding of U+20BF?
- E2 82 BF (hex), 3 bytes. In a URL it is %E2%82%BF.
- How do I write U+20BF in JavaScript or Python?
- JavaScript: \u20BF. Python: \u20BF.
Source
Unicode Character Database 18.0.0 (Unicode License v3); HTML entity names from the WHATWG HTML Standard (CC BY 4.0). The encodings above are computed from the code point and checked against Python's encoders. How the character looks depends on your fonts.
Legal entity
Devansh Yadav
Moradabad, Uttar Pradesh
Governing law: Courts at Moradabad, Uttar Pradesh
Phone: +91 8433475698
Legal: legal@analyzeit.in