← Glossary

What a variation selector is

Last updated: 2026-10-31/~4 min

This article takes about 4 minutes to read.

The variation selector is the reason the red heart ❤️ becomes "one heart, 2 code points".A variation selector is an invisible control character for switching the display form of the preceding character. It supports fine-grained control in Unicode, such as switching between emoji and text presentation, specifying variant forms of kanji (such as old forms (kyujitai) / new forms (shinjitai)), and adjusting emoji sequences.

Definition

A variation selector is an invisible control character in Unicode whose role is to switch the display form of the preceding character. There are 16 basic selectors (VS-1 to VS-16, U+FE00 to U+FE0F) and 240 supplementary selectors (VS-17 to VS-256, U+E0100 to U+E01EF). The 2 that appear frequently in the context of emoji are VS-15 and VS-16.

VS-15 and VS-16

SelectorCode pointMeaningDisplay example
VS-15U+FE0EText presentation (monochrome text style)♥︎ (text-style heart)
VS-16U+FE0FEmoji presentation (color emoji style)❤️ (red emoji heart)

Many symbol characters (♥, ☂, ☀, ☘, ✉, and so on) were registered as text symbols when they were first added to Unicode. Because their use as emoji spread later, these 2 selectors were introduced to switch between "text style" and "emoji style".

Why ❤️ becomes 2 code points

❤️ as an emoji is internally a combination of the following 2 code points.

  • ❤ (U+2764) - the base heart symbol (which has long existed as a text symbol)
  • U+FE0F (VS-16) - the selector that requests emoji presentation

Some systems render it as the text-style heart symbol ❤ if VS-16 is omitted. To display the red heart as an emoji, VS-16 is needed. This 2-code-point structure is one of the main reasons why "one emoji uses up 2 characters" in character counts.

Appearance in emoji sequences

In ZWJ sequences, there is a pattern that puts VS-16 after the base emoji. For example, 🏳️🌈 (rainbow flag) is the following sequence.

  • 🏳 (U+1F3F3) - white flag
  • U+FE0F (VS-16) - emoji presentation
  • U+200D (ZWJ) - joining
  • 🌈 (U+1F308) - rainbow

Because some systems do not display the flag if VS-16 is omitted, it is safe to handle it in a form that includes VS-16 for compatibility.

Relationship with variant forms of kanji

Variation selectors were originally designed to specify the old forms (kyujitai) / new forms (shinjitai) / alternative forms of kanji. In the mechanism called IVS (Ideographic Variation Sequence), a specific glyph form can be specified explicitly with the combination of a base kanji + VS-17 to VS-256. For example, the variant forms of "葛" (such as whether the part under the grass radical is "曷" or "匂") are distinguished with IVS. It is not used in the context of emoji, but it is an important mechanism in Japanese text processing.

Points to note in practice

  • Character counting: Keep in mind that emoji containing VS-16 are made up of 2 code points
  • Text processing: Take care not to separate the VS from the base character when reversing a string or extracting part of it
  • Compatibility: In systems that ignore VS, emoji may be displayed in text style
  • Normalization: Unicode normalization (NFC, NFD, NFKC, NFKD) keeps the VS itself, but some implementations remove VS on their own, so check that it is preserved

Common misconceptions

  • ❌ "Variation selectors are only for kanji" → ✅ They are also used for emoji (VS-15/VS-16) and symbols
  • ❌ "VS does not affect display" → ✅ Switching the display form is its main role
  • ❌ "Emoji stay the same even if you delete VS-16" → ✅ Depending on the system, they change to text style

Related terms

  • Unicode - the character standard that defines variation selectors
  • Emoji - many are composed with VS-16
  • Surrogate pair - another factor that increases the character count

Was this article helpful?