Zero Width Joiner (U+200D)

Zero Width Joiner is a format character that asks its neighbors to join, and it is the glue inside many combined emoji.

Updated By Milind Sahu How we test

Copy tool
U+200D, 3 bytes

U+200DCf · formatzero width

Need the code?HTML, CSS, JS escapesFind it in text

How we test

An app result is shown only after a hand test on a named app version, with the date. Results older than 120 days are hidden until re-tested.

Read the method →

What is the Zero Width Joiner used for?

The Zero Width Joiner (U+200D) is used to ask the characters on either side of it to join. Its best-known job is emoji: Unicode's emoji standard builds combined emoji, such as a couple with a heart, from separate emoji linked by U+200D. Where a platform lacks the combined glyph, the parts show separately instead.

Commonly abbreviated ZWJ, it sits in the General Punctuation block and dates from Unicode 1.1. It has the Join_Control property, which only it and the zero width non-joiner have.

Unicode's emoji standard, UTS #51, defines an emoji ZWJ sequence as emoji joined by U+200D. Its example is woman, ZWJ, red heart, ZWJ, woman, which shows as one couple emoji where the platform supports it.

Where a platform has no glyph for a sequence, UTS #51 says the joiners are ignored and the separate emoji are shown. That is why a new combined emoji can appear as two or three emoji on an older phone.

It is Cf, Default Ignorable and not whitespace. Its line break class is ZWJ, a class of its own, and a line never breaks right after it.

Watch out for

  • Deleting ZWJ characters splits combined emoji back into their parts, so take care when cleaning text that has emoji.
  • In HTML write it as ‍ or ‍.
  • In UTF-8 it takes 3 bytes (E2 80 8D).

Sources: Unicode names list (NamesList.txt) · Unicode emoji (UTS #51) · Unicode blocks (Blocks.txt) · Unicode version each character arrived (DerivedAge.txt) · Unicode properties (PropList.txt) · Unicode character data (UnicodeData.txt) · Unicode derived properties (DerivedCoreProperties.txt) · Unicode line breaking (UAX #14) · Computed from the character itself (see Codes and escapes)

Codes and escapes

FormatValueCopy
HTML entity ‍ · ‍
CSS \200D
JavaScript / Java \u200D
Python \u200D
URL-encoded %E2%80%8D
UTF-8 bytes E2 80 8D

Properties

Unicode category
Cf (Format)
Treated as whitespace
No
Width
Zero
Unicode name
ZERO WIDTH JOINER

Where it works

Not tested yet. Results appear here with the app version and date once each app is tested by hand.

Similar characters

Back to all 13 invisible characters

FAQ

How do I type a zero width joiner?

To type a zero width joiner, copy it from the tool above; emoji keyboards also insert it for you inside combined emoji. In HTML write ‍ or ‍, and in JavaScript \u200D. On its own between two letters it shows nothing, since it only matters where a combined form exists.

Why did my emoji split into separate emoji?

Your emoji split because the zero width joiner that held it together was removed or isn't supported. UTS #51 says a platform without the combined glyph ignores the joiners and shows the separate emoji. Text cleaning that strips U+200D causes the same split on every platform.

Is it safe to remove zero width joiners?

Removing zero width joiners is safe only in text without emoji sequences or scripts that rely on joining. Combined emoji, such as a couple with a heart, use U+200D between their parts, so deleting it breaks them apart. Check what the detector found before you remove everything.