GPTWatermarks

What zero-width characters do in text

Learn how zero-width spaces, joiners, and direction controls affect copying, wrapping, emoji, and mixed-direction text.

Quick steps

  1. Inspect the character code and note whether it is a space, joiner, or direction mark.
  2. Check the original language, emoji, and word boundaries before changing hidden formatting.
  3. Use Clean text for deliberate changes and keep the original for comparison.

A space and a joiner solve different problems

A zero-width space, U+200B, can suggest a place to wrap a line without adding a visible gap. A word joiner, U+2060, discourages a break where it appears. These characters are meaningful in some publishing contexts, even though they are invisible in the finished paragraph.

Preserve emoji and spelling

The zero-width joiner, U+200D, can connect characters into an emoji sequence. A zero-width non-joiner, U+200C, can control letter joining in writing systems that use connected letters. Removing either can change the displayed text. Leave them in unless you can test the effect in the original context.

In the woman technologist emoji, the woman and laptop are connected by U+200D. Removing it can display two emoji.

Read direction controls in context

Directional marks affect the order of punctuation and mixed left-to-right and right-to-left text. Use the character inspector to identify them. If you remove one while fixing copied text, compare the original and result in the intended editor and check numbers, brackets, and labels.

Open the editor

Related guides