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

FormatValueCopy
Code pointOfficial Unicode notationU+1F3F4
Official nameUnicodeData.txt, Unicode 18.0.0WAVING BLACK FLAG
DecimalBase 10127988
HexadecimalBase 160x1F3F4
OctalBase 80o371764
BinaryBase 2000000011111001111110100
General categorySymbol, otherSo
Unicode blockU+1F300–U+1F5FFMiscellaneous Symbols and Pictographs
PlaneSupplementary Multilingual Plane (SMP, Plane 1)

HTML & CSS

FormatValueCopy
HTML entity (decimal)🏴
HTML entity (hex)🏴
CSS content escapeUse inside content: "…"\1F3F4
URL encodedPercent-encoded UTF-8%F0%9F%8F%B4

Programming languages

FormatValueCopy
JavaScript / TypeScript\u{1F3F4}
JSONUTF-16 surrogate pairs\uD83C\uDFF4
Python\U0001F3F4
Java / C# / Kotlin\uD83C\uDFF4

Byte encodings

FormatValueCopy
UTF-84 bytesF0 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.

View all office & objects