Octagon Unicode Characters

Identify octagon Unicode characters by code point, see how the stop sign emoji differs from geometric octagons, and check copy, font and accessibility limits.

Searches for an octagon in Unicode usually come from one of two needs: a red stop-sign symbol for a message or interface, or a plain geometric octagon for a diagram, list marker or decorative label. Unicode covers both, but they are different characters with different code points, rendering behavior and accessibility outcomes. This review identifies the characters, explains what inserting them actually changes in your text, and sets out when a plain word or another approach works better.

Is an octagon character suitable for your use?

Recommendation: use an octagon character as a visual supplement, not as the only carrier of meaning. The main benefit is that a single character gives a recognizable shape anywhere plain text is accepted, with no image upload or custom font. The decisive tradeoff is that appearance depends on the reader's device and fonts, and the meaning a sighted reader takes from the shape is not reliably conveyed by search, screen readers or systems that strip symbols.

  • Reasonable fits: social posts, chat messages, informal headings and decorative markers where the surrounding words already state the point.
  • Use with care: interface labels, usernames, file names and form fields, where font coverage, validation rules or character-length limits can interfere.
  • Prefer plain text: safety warnings, legal or compliance notices, error messages and any instruction a reader must not miss. Write the word, such as Stop or Warning, and add the symbol only if it helps.

Which characters are octagons

The characters below are the commonly cited octagon code points. Names are the formal Unicode character names; confirm them with a Unicode inspector or the Unicode character database before relying on them, since this article has no supplied test evidence.

Character | Code point | Unicode name | UTF-8 bytes | HTML reference
🛑 | U+1F6D1 | OCTAGONAL SIGN | F0 9F 9B 91 | 🛑
⯃ | U+2BC3 | HORIZONTAL BLACK OCTAGON | E2 AF 83 | ⯃
⯄ | U+2BC4 | BLACK OCTAGON | E2 AF 84 | ⯄

U+1F6D1 is an emoji and is commonly labeled stop sign in emoji pickers. U+2BC3 and U+2BC4 sit in the Miscellaneous Symbols and Arrows block and are ordinary symbols, not emoji; they differ in orientation (one is rotated so a flat edge faces up, the other so a vertex does). This review does not confirm an outline or white octagon counterpart, so check the character database before assuming one exists.

Shapes that are often mistaken for octagons include U+2B22 BLACK HEXAGON (⬢), U+2B23 HORIZONTAL BLACK HEXAGON (⬣) and U+26D4 NO ENTRY (⛔). If a copied symbol looks slightly off, inspecting its code point is the quickest way to tell whether you have an octagon or a look-alike.

What inserting an octagon actually changes

Adding one of these characters is a Unicode character insertion: the stored text gains a real code point that travels with the text when copied, saved or sent. That is different from a CSS shape, an icon font or an image, which change only the visual presentation and leave the underlying text unchanged or empty. It is also not a font: a site offering an octagon font style is either inserting these characters or applying styling that will not survive copying.

The stored character is fixed, but its drawing is not. The stop sign emoji is rendered with each platform's own emoji artwork, so color, proportions and any lettering vary by vendor. The geometric octagons are drawn by whatever font on the reader's system contains them; if none does, the reader sees an empty box or a replacement symbol.

Reverse and mirror tools have little effect here. Reversing a string moves a single-code-point octagon to a new position without altering it, and an octagon looks the same when flipped horizontally. CSS mirroring can flip any lettering in a particular vendor's emoji artwork, but that is a display effect only; the stored character is unchanged. Variation selectors can request text or emoji presentation only for characters with defined variation sequences, so check before relying on one to force a monochrome or color glyph.

How to identify an octagon by code point

Any Unicode inspector will show the code point and name of a pasted character. If you prefer a local check, a short script prints the same information without sending text anywhere. The example uses escape sequences so the source file does not depend on the characters rendering correctly.

import unicodedata

for ch in "\U0001F6D1\u2BC3\u2BC4":
    print(f"U+{ord(ch):04X}", unicodedata.name(ch, "<unnamed>"))

Names reported depend on the Unicode version bundled with the runtime, so an older environment may not recognize newer characters. In JavaScript, the stop sign can be written as "\u{1F6D1}" or as the surrogate pair "\uD83D\uDED1"; the geometric octagons need only "\u2BC3" or "\u2BC4".

Will it stay readable after copying or sharing?

Copy and paste: because these are real characters, they normally copy intact between apps that handle Unicode text. Problems tend to come from the destination rather than the copy, such as a font without the glyph, a field that rejects symbols or emoji, or a system that strips characters outside a basic set. A successful paste in one app does not show it will work in another; test the specific destination.

Length and editing: U+1F6D1 lies outside the Basic Multilingual Plane, so it occupies two UTF-16 code units and four UTF-8 bytes. Systems that count length in UTF-16 units, including JavaScript string length, count it as two, which can matter against character limits. The geometric octagons count as one UTF-16 unit and three UTF-8 bytes.

Assistive technology: screen readers commonly announce emoji using a short name from emoji data, which for this character is typically stop sign, but output varies by screen reader, version, language and verbosity settings. Geometric symbols such as U+2BC3 and U+2BC4 may be read by name, read as something generic or skipped. No scoped screen reader test was supplied for this review, so treat these behaviors as unverified for any particular setup.

Search and reading order: a reader searching for stop or octagon will not usually match the symbol itself, and symbols at the start of headings or names can disrupt alphabetical sorting. Octagon characters are not right-to-left characters, so they do not alter bidirectional reading order on their own, though their visual position can shift when placed beside right-to-left text.

When you need a plain-text equivalent

  • When the symbol carries meaning: pair it with the word, or in web pages give decorative symbols aria-hidden and meaningful ones an accessible label.
  • When the destination is unknown: include the word so the message survives a missing glyph or stripped symbol.
  • When text must be searchable or sortable: keep the key term in plain letters and treat the octagon as decoration.
  • When the shape itself is the content, such as a diagram: an SVG or image with alt text gives consistent appearance that a font-dependent character cannot guarantee.

Gaps in this review

No platform renderings, screen reader output or destination-specific copy tests were supplied, so claims about how a named app, site or assistive technology handles these characters are not made here. Verify code point names in a current Unicode reference, and test the exact destinations and assistive technologies your readers use before depending on an octagon symbol.