U+1F3F4
Black flag🏴
Black flag is a color emoji character from the Unicode Miscellaneous Symbols and Pictographs block, listed here under Office & Objects. 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 "flag", "pirate".
Quick facts
- Unicode
- U+1F3F4
- Decimal
- 127988
- Hex
- 0x1F3F4
- Octal
- 0o371764
Unicode identity
| Format | Value | Copy |
|---|---|---|
| Code pointOfficial Unicode notation | U+1F3F4 | |
| Official nameUnicodeData.txt, Unicode 18.0.0 | WAVING BLACK FLAG | |
| DecimalBase 10 | 127988 | |
| HexadecimalBase 16 | 0x1F3F4 | |
| OctalBase 8 | 0o371764 | |
| BinaryBase 2 | 000000011111001111110100 | |
| General categorySymbol, other | So | |
| Unicode blockU+1F300–U+1F5FF | Miscellaneous Symbols and Pictographs | |
| Plane | Supplementary Multilingual Plane (SMP, Plane 1) |
HTML & CSS
| Format | Value | Copy |
|---|---|---|
| HTML entity (decimal) | 🏴 | |
| HTML entity (hex) | 🏴 | |
| CSS content escapeUse inside content: "…" | \1F3F4 | |
| URL encodedPercent-encoded UTF-8 | %F0%9F%8F%B4 |
Programming languages
| Format | Value | Copy |
|---|---|---|
| JavaScript / TypeScript | \u{1F3F4} | |
| JSONUTF-16 surrogate pairs | \uD83C\uDFF4 | |
| Python | \U0001F3F4 | |
| Java / C# / Kotlin | \uD83C\uDFF4 |
Byte encodings
| Format | Value | Copy |
|---|---|---|
| UTF-84 bytes | F0 9F 8F B4 | |
| UTF-16 (BE) | D83C DFF4 | |
| UTF-32 (BE) | 0001F3F4 |
How to type Black flag
Windows
Hold Alt and type +1F3F4 with the hex numeric keypad option enabled, or type 1F3F4 then press Alt+X in Word and most Office apps.
macOS
Enable the Unicode Hex Input keyboard, hold Option, and type 1F3F4. Or open Character Viewer (Control+Command+Space) and search "Black flag".
Linux
Press Ctrl+Shift+U, type 1f3f4, 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, \1F3F4 in CSS, and \u{1F3F4} in JavaScript.
Official Unicode reference
- Character name
- WAVING BLACK FLAG
- Block
- Miscellaneous Symbols and Pictographs (U+1F300–U+1F5FF)
- General category
- So — Symbol, other
Data from the Unicode Character Database, version 18.0.0. See the official code chart for the Miscellaneous Symbols and Pictographs block: U1F300.pdf (PDF, unicode.org).
Frequently asked questions
How do I copy the Black flag 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 Black flag?
Black flag is U+1F3F4 (decimal 127988, hexadecimal 0x1F3F4, octal 0o371764). It lives in the Miscellaneous Symbols and Pictographs block (U+1F300–U+1F5FF) of the Supplementary Multilingual Plane (SMP, Plane 1).
What is the official Unicode name of Black flag?
The Unicode Standard (version 18.0.0) names this character "WAVING BLACK FLAG". Its General_Category is So (Symbol, other).
What is the HTML code for Black flag?
Use 🏴 or 🏴. In CSS, use content: "\1F3F4".
How do I type Black flag in code?
JavaScript: "\u{1F3F4}". Python: "\U0001F3F4". JSON and Java: "\uD83C\uDFF4". The UTF-8 byte sequence is F0 9F 8F B4.
Is Black flag an emoji?
Yes. Black flag has Emoji_Presentation in Unicode, so most platforms render it as a full-color emoji by default. Append U+FE0E to force a monochrome text glyph.
Related symbols in Office & Objects
View all office & objects- Flag in hole
- Fuel pump
- Sailboat
- Ferry
- Airplane
- Tent
- Umbrella on ground
- Mountain
- Fountain
- Church
- Shinto shrine
- Castle
- Historic site
- Map symbol for lighthouse
- Headstone graveyard
- Cup on black square
- White flag with horizontal middle black stripe
- Soccer ball
- Baseball
- Ice skate
- Skier
- Person with ball
- White flag
- Triangular flag