Identify the Unicode warning symbol

How to identify the Unicode warning sign (U+26A0), tell its text and emoji forms apart, enter it correctly, and keep it readable and accessible when shared.

The triangle with an exclamation mark that appears in chat messages, documentation and code comments is a standard Unicode character, not an image or a special font. Knowing exactly which character it is, and which of its two display forms you have, decides whether it stays recognizable, searchable and accessible once you copy it somewhere else.

The short answer

The Unicode warning symbol is U+26A0 WARNING SIGN (⚠), in the Miscellaneous Symbols block. The colorful emoji version (⚠️) is the same character followed by an invisible variation selector, U+FE0F. If you need a warning marker that survives copying between apps, U+26A0 is the right character. If the warning carries real meaning, such as a safety notice or a destructive action, pair it with the word "Warning" in plain text, because the symbol alone can render differently, be skipped or be announced vaguely.

Identifiers for the warning sign

Property | Value
Character | ⚠
Official name | WARNING SIGN
Code point | U+26A0
Decimal value | 9888
Block | Miscellaneous Symbols
UTF-8 bytes | E2 9A A0
UTF-16 | 26A0
HTML entity (hex) | ⚠
HTML entity (decimal) | ⚠
CSS content escape | \26A0
JavaScript, JSON, Python escape | \u26A0
Emoji presentation sequence | U+26A0 U+FE0F (⚠️)
Text presentation sequence | U+26A0 U+FE0E

What actually differs between ⚠ and ⚠️

Both forms store the same base code point. The difference is a variation selector: U+FE0F requests emoji presentation (usually a colored glyph from the system emoji font), while U+FE0E requests text presentation (usually a monochrome glyph that follows the surrounding text color). With no selector at all, the platform chooses a default, and that default is not the same everywhere. This is why the bare character may look like a small outline triangle in one app and a yellow emoji in another.

The selector is a real, stored character. A string containing ⚠️ is one code point longer than a string containing ⚠, and in JavaScript its length is 2 rather than 1. The selector is invisible but it travels with copy and paste, affects string comparisons and can be stripped by tools that clean "unusual" characters, which silently switches the symbol back to whatever the destination's default presentation is.

"⚠"   -> U+26A0              (text or default presentation)
"⚠️"  -> U+26A0 U+FE0F       (emoji presentation requested)
"⚠︎"  -> U+26A0 U+FE0E       (text presentation requested)

Telling it apart from look-alikes

Several characters are easy to confuse with the warning sign, and searching by appearance often lands on the wrong one. Useful distinguishing clues:

  • U+2621 CAUTION SIGN (☡) is not a triangle; it is a winding-road shape. Searching for "caution" alone can return it instead of the warning sign.
  • U+26A1 HIGH VOLTAGE SIGN (⚡) is a lightning bolt, not a triangle, despite being next to the warning sign in the code chart.
  • U+25B2 BLACK UP-POINTING TRIANGLE (▲) and U+25B3 WHITE UP-POINTING TRIANGLE (△) are geometric shapes with no exclamation mark.
  • U+2757 HEAVY EXCLAMATION MARK SYMBOL (❗) and U+203C DOUBLE EXCLAMATION MARK (‼) carry urgency without the triangle.
  • U+26D4 NO ENTRY (⛔) and U+1F6A8 POLICE CARS REVOLVING LIGHT (🚨) are sometimes used as warnings but are separate characters with different names.
  • A triangle-with-exclamation built from an icon font or SVG is not a Unicode character at all; it will not paste as text.

The most reliable check is to inspect the code points rather than the glyph. A Unicode inspector, a character info tool, or a one-line script will show whether you have U+26A0 and whether a variation selector follows it.

# Python
for ch in "⚠️":
    print(f"U+{ord(ch):04X}")
# U+26A0
# U+FE0F

// JavaScript
[..."⚠️"].map(c => "U+" + c.codePointAt(0).toString(16).toUpperCase())
// ["U+26A0", "U+FE0F"]

Where to find it and how to enter it

Search terms that reliably find the character in pickers and Unicode references are "warning sign", "U+26A0" and "26A0". Emoji pickers usually list it under the short name "warning". Common entry methods, which are built-in features of the respective systems and apps:

  • Windows: the emoji panel opens with Windows key + period; search "warning". In Microsoft Word, type 26A0 and press Alt+X to convert it to the character.
  • macOS: the Character Viewer opens with Control + Command + Space; search "warning".
  • Linux with GTK-based apps or IBus: press Ctrl+Shift+U, type 26a0, then press Space or Enter. Support depends on the input method in use.
  • HTML: write ⚠ or ⚠. Append ︎ or ️ if you want to request text or emoji presentation.
  • CSS: content: "\26A0"; in a pseudo-element. Note that generated content is decorative to some assistive technology and is not selectable or copyable as page text.
  • Source code and JSON: "\u26A0", optionally followed by "\uFE0F".

Will it stay readable after copying or sharing?

As a character, U+26A0 is widely supported and copies as ordinary text, so it generally survives pasting into documents, chat, email and code. What does not travel reliably is its appearance. The destination's fonts decide whether it is drawn in color or monochrome, how large it looks relative to the text, and in rare older or restricted environments whether it is drawn at all (a missing glyph shows as an empty box or a replacement shape). No platform-by-platform rendering tests were part of this review, so treat any single good-looking result as true only for that app and device.

Search and matching can be affected by the variation selector. Unicode normalization (NFC or NFKC) does not remove variation selectors, so ⚠ and ⚠️ are different strings to software that compares text exactly. Some search systems ignore such invisible characters and some do not. If you need to find or filter warning markers in data, search for U+26A0 with an optional following U+FE0E or U+FE0F.

Editing can also catch people out. Because the selector is invisible, deleting "one character" with Backspace may remove only the selector in some editors, leaving the base symbol with a changed look, while other editors remove both at once.

Accessibility

Screen readers typically announce emoji and symbols using a short name from their own data, often something like "warning", but the wording, and whether the symbol is read at all, varies by screen reader, browser, operating system and verbosity settings. No assistive-technology testing was available for this review. The safe pattern is to make the plain-text word carry the meaning and treat the symbol as decoration, or to give it an explicit label when it stands alone.

<!-- Symbol is decorative; the word carries the meaning -->
<p><span aria-hidden="true">⚠️</span> Warning: this deletes all saved drafts.</p>

<!-- Symbol stands alone and needs a label -->
<span role="img" aria-label="Warning">⚠️</span>

Avoid strings of repeated symbols such as ⚠️⚠️⚠️, which some screen readers announce one by one, and do not rely on the yellow color of the emoji form to convey severity, since the text form and many fonts render it without color.

Reversal, mirroring and bidirectional text

If the warning sign passes through a reverse-text or mirror-text tool, the outcome depends on which form you started with. The bare U+26A0 is a single code point and reverses cleanly. The emoji form is a two-code-point sequence, and a tool that reverses code point by code point will place U+FE0F before U+26A0. The selector then no longer follows the warning sign, so the symbol loses its requested emoji presentation and the stray selector may attach to whatever character now precedes it. A reversal tool that works on grapheme clusters, the units a reader perceives as single characters, keeps the pair together.

Input:            A⚠️B   ->  U+0041 U+26A0 U+FE0F U+0042
Code-point flip:  B️⚠A   ->  U+0042 U+FE0F U+26A0 U+0041   (selector detached)
Grapheme flip:    B⚠️A   ->  U+0042 U+26A0 U+FE0F U+0041   (pair intact)

Mirroring has no visible effect on the shape itself because the triangle and exclamation mark are symmetrical, and Unicode does not mark U+26A0 as a bidi-mirrored character, so right-to-left text does not swap it for a different glyph. Its position in a right-to-left line follows the bidirectional algorithm for neutral characters, which means a warning sign placed between a right-to-left word and a left-to-right word can appear on an unexpected side. Placing it at the start of a paragraph whose direction is set explicitly avoids most of that ambiguity.

When plain text is the better choice

U+26A0 is a good fit for informal messages, documentation callouts, commit messages, chat alerts and UI labels where it accompanies a written warning. Its main benefit is instant visual recognition at no cost: it is ordinary text, not an image. The decisive tradeoff is that its appearance, size and spoken name are controlled by the destination, not by you. Use the plain word "Warning" or "Caution" instead of, or in addition to, the symbol for safety-critical instructions, legal or compliance notices, plain-text logs that may be read in limited terminals, data that will be searched or compared exactly, and any content where a screen reader user must understand the warning without relying on the symbol.

Gaps in this review

The character identity, code point, encodings and presentation selectors described here are defined by the Unicode Standard. Specific rendering on named apps, devices or fonts, and the exact announcements made by particular screen readers, were not tested and are not claimed. Check those directly in the environments you care about before relying on the symbol for important messages.