Skip to content
EmojiDB

U+21A6 · Math symbol

HTML entity

↦

LaTeX

\mapsto

Rightwards Arrow From Bar Symbol ↦

↦ is rightwards arrow from bar, U+21A6. Unicode also records it as “z notation maplet”. It was added in Unicode 1.1, and Unicode files it under Math symbol.

Also known as

  • z notation maplet

Unicode 1.0 called this character right arrow from bar. The standard renamed it later, but documents, fonts and font-editing tools from that era still use the old name.

Codes & technical data

UnicodeU+21A6
HTML hex↦
HTML decimal↦
CSS\21A6
JavaScript\u{21A6}
Python\U000021A6
Java / C#\u21A6
Rust\u{21a6}
Swift\u{21A6}
PHP\u{21A6}
URL encoded%E2%86%A6
UTF-8 bytesE2 86 A6
UTF-16 bytes21A6
Base644oam
Decimal8614
HTML entity↦
LaTeX\mapsto
CategoryMath symbol (Sm)
IntroducedUnicode 1.1

Will ↦ survive being pasted?

  • Normalisation. Yes. ↦ is unchanged by NFKC, so it survives normalising systems intact.
  • Legacy encodings. ↦ is Unicode-only — it has no Latin-1 equivalent, so a system stuck on an 8-bit encoding cannot represent it.
  • Size. 3 bytes in UTF-8. Character-limited fields — SMS, bios, some form validators — usually count bytes, not characters.

Other bar characters

Unicode names 24 characters ending in “bar”. They differ by direction, weight or decoration rather than by meaning.

Nearby in Arrows

The core arrow set: every direction, plus doubled, dashed, hooked and looped variants. Anything not here is in one of the four supplemental arrow blocks, which exist because this one filled up.

All 112 characters in Arrows →

How to type ↦

WindowsType 21A6 then press Alt+X
macOSPress Ctrl+Cmd+Space, then search for “rightwards arrow from bar”
LinuxPress Ctrl+Shift+U, type 21a6, press Enter
HTML↦

About Unicode’s Math symbol category

Unicode classifies this as a mathematical symbol, which means software that lays out formulas treats it as an operator or relation and gives it spacing accordingly, rather than setting it tight against its neighbours like a letter.

Frequently asked questions

How do I type the ↦ rightwards arrow from bar symbol?
On Windows, type 21A6 and press Alt+X. On Linux press Ctrl+Shift+U then 21a6. On any system the quickest route is the copy button on this page.
What is the code for ↦?
Rightwards Arrow From Bar is U+21A6, written in HTML as ↦ and in LaTeX as \mapsto. In UTF-8 it takes 3 bytes. The table above lists every escape format.
What kind of character is ↦?
Rightwards Arrow From Bar is filed under Math symbol in the Arrows block, and was introduced in Unicode 1.1. Unicode classifies this as a mathematical symbol, which means software that lays out formulas treats it as an operator or relation and gives it spacing accordingly, rather than setting it tight against its neighbours like a letter.