U+1F171
Negative squared B🅱
Negative squared B is a monochrome text character from the Unicode Enclosed Alphanumeric Supplement block, listed here under Circled & Boxed Letters. Copy it with one click, or use the hex, octal, decimal and HTML entity codes below to embed it in web pages, code, and documents. It is often searched for as "letter", "square", "b", "blood".
Quick facts
- Unicode
- U+1F171
- Decimal
- 127345
- Hex
- 0x1F171
- Octal
- 0o370561
Unicode identity
| Format | Value | Copy |
|---|---|---|
| Code pointOfficial Unicode notation | U+1F171 | |
| Official nameUnicodeData.txt, Unicode 18.0.0 | NEGATIVE SQUARED LATIN CAPITAL LETTER B | |
| DecimalBase 10 | 127345 | |
| HexadecimalBase 16 | 0x1F171 | |
| OctalBase 8 | 0o370561 | |
| BinaryBase 2 | 000000011111000101110001 | |
| General categorySymbol, other | So | |
| Unicode blockU+1F100–U+1F1FF | Enclosed Alphanumeric Supplement | |
| Plane | Supplementary Multilingual Plane (SMP, Plane 1) |
HTML & CSS
| Format | Value | Copy |
|---|---|---|
| HTML entity (decimal) | 🅱 | |
| HTML entity (hex) | 🅱 | |
| CSS content escapeUse inside content: "…" | \1F171 | |
| URL encodedPercent-encoded UTF-8 | %F0%9F%85%B1 |
Programming languages
| Format | Value | Copy |
|---|---|---|
| JavaScript / TypeScript | \u{1F171} | |
| JSONUTF-16 surrogate pairs | \uD83C\uDD71 | |
| Python | \U0001F171 | |
| Java / C# / Kotlin | \uD83C\uDD71 |
Byte encodings
| Format | Value | Copy |
|---|---|---|
| UTF-84 bytes | F0 9F 85 B1 | |
| UTF-16 (BE) | D83C DD71 | |
| UTF-32 (BE) | 0001F171 |
How to type Negative squared B
Windows
Hold Alt and type +1F171 with the hex numeric keypad option enabled, or type 1F171 then press Alt+X in Word and most Office apps.
macOS
Enable the Unicode Hex Input keyboard, hold Option, and type 1F171. Or open Character Viewer (Control+Command+Space) and search "Negative squared B".
Linux
Press Ctrl+Shift+U, type 1f171, then press Space or Enter in GTK apps. IBus and most terminals support the same sequence.
HTML, CSS & code
Paste the character directly, or use the escapes above: 🅱 in HTML, \1F171 in CSS, and \u{1F171} in JavaScript.
Official Unicode reference
- Character name
- NEGATIVE SQUARED LATIN CAPITAL LETTER B
- Block
- Enclosed Alphanumeric Supplement (U+1F100–U+1F1FF)
- General category
- So — Symbol, other
Data from the Unicode Character Database, version 18.0.0. See the official code chart for the Enclosed Alphanumeric Supplement block: U1F100.pdf (PDF, unicode.org).
Frequently asked questions
How do I copy the Negative squared B symbol?
Click the Copy button at the top of this page, or select 🅱 and press Ctrl+C (Cmd+C on Mac). It is plain Unicode text, so it pastes into documents, chats, code, and design tools.
What is the Unicode code point for Negative squared B?
Negative squared B is U+1F171 (decimal 127345, hexadecimal 0x1F171, octal 0o370561). It lives in the Enclosed Alphanumeric Supplement block (U+1F100–U+1F1FF) of the Supplementary Multilingual Plane (SMP, Plane 1).
What is the official Unicode name of Negative squared B?
The Unicode Standard (version 18.0.0) names this character "NEGATIVE SQUARED LATIN CAPITAL LETTER B". Its General_Category is So (Symbol, other).
What is the HTML code for Negative squared B?
Use 🅱 or 🅱. In CSS, use content: "\1F171".
How do I type Negative squared B in code?
JavaScript: "\u{1F171}". Python: "\U0001F171". JSON and Java: "\uD83C\uDD71". The UTF-8 byte sequence is F0 9F 85 B1.
Is Negative squared B an emoji?
No. Negative squared B is a text symbol and renders as a monochrome glyph in the current font. Some platforms may offer an emoji variant when U+FE0F is appended.