Arrow Symbols

Left Right Arrow with Stroke ↮

U+21AE Added in Unicode 1.1 (1993)

↮ is the left right arrow with a diagonal stroke through it, showing that two things are not logically equivalent or not biconditional.

Alt code Alt+8622
Codes
Unicode
Unicode name
Decimal
Windows Alt code
HTML entity
HTML decimal
HTML hex
Encodings & code escapes +
UTF-8 (hex bytes)
UTF-16 (hex units)
UTF-32
URL encoded
CSS content
JavaScript / TypeScript
JSON, Java, C#, C/C++
Python
Go
Rust, Swift, PHP, Ruby
Perl

Click any value to copy it. All escapes refer to the same code point U+21AE.

How to type ↮ on Windows

The fastest method on a full-size keyboard is the Alt code Alt+8622.

  1. Make sure Num Lock is on.
  2. Hold down the Alt key.
  3. Type 8622 on the numeric keypad (the number row will not work).
  4. Release Alt. The left right arrow with stroke symbol ↮ appears.

Note: Alt+8622 is a Unicode decimal code, not a classic code-page Alt code. It works in Microsoft Word, WordPad and some other apps, but not in Notepad or most browsers. In those apps, copy the symbol from this page instead.

No numeric keypad?

Press Win+. to open the emoji panel, choose the Symbols tab (Ω) and search for "left right arrow with stroke". Or open Character Map from the Start menu, find ↮, click Select, then Copy.

How to type ↮ on a Mac

There is no direct keyboard shortcut for ↮ on a Mac.

For any symbol, the Character Viewer works: press Control+⌘+Space, type "left right arrow with stroke" in the search box and double-click the result. It will be remembered under Frequently Used.

How to type ↮ on iPhone and iPad

The iOS keyboard does not include ↮, so the reliable way is to copy it from this page, then press and hold in any text field and tap Paste.

If you use it often, create a shortcut: open Settings → General → Keyboard → Text Replacement, paste ↮ in the Phrase field and type a short code such as ;left in the Shortcut field. Typing that code will then insert ↮ anywhere.

How to type ↮ on Android

Copy the symbol from this page, then long-press in a text field and choose Paste. Gboard also keeps a clipboard history: tap the clipboard icon on the toolbar to paste it again later.

For a permanent shortcut, open Gboard settings → Dictionary → Personal dictionary, add ↮ as the word and a short code as the shortcut.

How to type ↮ in Microsoft Word

  1. Type the Unicode hex code 21AE where you want the symbol.
  2. Press Alt+X. Word converts the code into ↮.

This works on Windows in Word, Outlook and OneNote and needs no numeric keypad. You can also go to Insert → Symbol → More Symbols, set the font to a Unicode font and type 21AE in the Character code box. In Excel, the formula =UNICHAR(8622) returns the symbol.

How to type ↮ in Google Docs

Open Insert → Special characters, then either search for "left right arrow with stroke" or draw the symbol in the sketch box. Click the result to insert it. In Google Sheets, use =CHAR(8622).

↮ in HTML, CSS and code

FormatCode
HTML entity↮
HTML decimal↮
HTML hex↮
CSS content"\21AE"
JavaScript"\u21AE"
Python"\u21AE"
URL encoded%E2%86%AE

Because ↮ is a standard Unicode character (U+21AE), you can also paste it directly into any UTF-8 file. The escaped forms above are only needed when the file encoding is uncertain or the symbol must be entered on a keyboard without it.

Where the left right arrow with stroke symbol is used

It appears mainly in logic, mathematics, and computer science to state that two propositions do not imply each other, as in "P ↮ Q" meaning P and Q are not equivalent. It is less common in everyday writing and can be confused with ↔ (double arrow) or ≠.

Frequently asked questions

What does ↮ mean in logic? +

It denotes a negated biconditional, meaning the statements on either side are not logically equivalent; one can be true while the other is false.

Is ↮ the same as XOR? +

They are related: ↮ (not equivalent) matches the truth table of exclusive OR, so some texts use it interchangeably with XOR.

What is the Alt code for the left right arrow with stroke symbol? +

The Alt code for ↮ is Alt+8622. Hold Alt, type 8622 on the numeric keypad, then release Alt. This is a Unicode code, so it works in Word and WordPad but not in every app; in other apps paste the symbol instead.

How do I type ↮ on a Mac? +

There is no dedicated Mac shortcut for ↮. Open the Character Viewer with Control + Command + Space, search for "left right arrow with stroke", and double-click it. Or copy it from this page.

How do I type the left right arrow with stroke symbol on iPhone or Android? +

Phone keyboards do not include ↮ by default. Copy it from this page and paste it, or add it as a text replacement shortcut in Settings so you can type it with a short abbreviation.

What is the HTML code for ↮? +

Use ↮ in HTML. The numeric form ↮ works too. In CSS use content: "\21AE" and in JavaScript use "\u21AE".

✓ Copied to clipboard