Word joiner
What the Unicode word joiner actually inserts, when it is useful for keeping text together, and how copy, search, and assistive tools may treat it.
What the word joiner actually changes
The word joiner is the Unicode format character U+2060. Inserting it is a stored-character change: the code point becomes part of the string. It has no glyph and no advance width, so adjacent letters still look like ordinary running text. It does not reverse letters, mirror glyphs, substitute look-alike characters, or restyle a font. It is also not a bidirectional control, so it does not reorder reading direction.
Its defined job is line breaking. Unicode line-breaking rules treat U+2060 as class WJ. A word joiner inhibits a break before and after itself, so the characters on either side stay on the same line even when wrapping would otherwise split them. That is a formatting effect in the stored text, not a CSS or display-only overlay. If the destination ignores format characters or applies a different wrapping algorithm, the keep-together behavior may disappear while the invisible code point remains.
The name is easy to confuse with other zero-width controls. The zero-width joiner (U+200D) asks shaping engines to join glyphs or to build multi-code-point emoji sequences. The zero-width non-joiner (U+200C) asks them not to join. A no-break space (U+00A0) also prevents a wrap, but it is a space with width. A zero-width space (U+200B) does the opposite of a word joiner: it marks a permitted break. U+FEFF can act as a zero-width no-break space, but at the start of a file it is also the byte-order mark. The word joiner exists so that keep-together behavior can be stored without that file-signature meaning.
Input: 10 km/h
With WJ: 10[U+2060]km/h
Visible: 10km/h (no extra mark; wrapping should not split 10 from km/h)
Input: hello world
With WJ: hello[U+2060]world
Visible: helloworld as one unbreakable run, still two words only if a space remains
Because the character is invisible, an illustrative pair that only shows the letters will look unchanged. The transformation is confirmed only by inspecting code points, enabling an editor’s invisibles view, or watching whether a line wrap still splits the run. Combining marks and multi-code-point emoji are not reordered or mirrored by this character; they stay in their original sequence, with an extra format code point at the insertion site.
When the transformation is suitable
Use a word joiner when the stored text must keep a short run together across wrapping, and a visible non-breaking space would add an unwanted gap. Typical cases are a number glued to a unit, a short prefix glued to a name, or a punctuation cluster that should not split at the end of a line. The main benefit is a standard, font-independent keep-together mark that does not change how the letters look.
The decisive tradeoff is that you add an invisible format character to the data. Search, comparison, identifiers, and some editors will then see a different string than the one readers see. Prefer plain text with an ordinary space, hyphen, or unaltered run when wrapping control is not required, when the text will be matched or parsed as a token, or when recipients may strip format characters. If you only need a non-breaking gap that people can still see as a space, a no-break space is the clearer choice.
- Suitable: prevent a wrap inside a short visible unit without inserting a space.
- Poor fit: reversing, mirroring, or “styling” letters; those need different mechanisms.
- Poor fit: joining emoji or cursive glyphs; that is the zero-width joiner’s role.
- Prefer plain text: tokens, filenames, passwords, source code, and any string that must round-trip through search or exact match.
Copy, sharing, and practical usability
Copy and paste usually copies the word joiner with the letters, because it is in the string. The pasted result may still look identical. Downstream software then decides whether to honor, strip, or expose it. Some editors show a special mark for format characters; others hide them. Line wrapping that follows Unicode line-breaking rules should keep the joined run together; wrapping that ignores format characters will not.
Reading order of the visible letters is unchanged, so a human reading the screen typically sees the original wording. Assistive technology is not uniform. Screen readers and braille displays may skip format characters, which preserves spoken wording, or they may announce “word joiner” or a generic control, which interrupts the phrase. That difference is product-specific; a successful reading in one voice engine does not establish the same behavior in another. If the destination must be announced exactly as written, keep a plain-text copy without U+2060.
Search and editing are the usual breakage points. A find command that matches literal code points will miss a word that has a joiner in the middle. Unicode-aware search and collation sometimes ignore default-ignorable characters, including many format characters, but that is not guaranteed in every app, programming API, or database. Spellcheckers, diff tools, and character counts may treat the extra code point as content. There is no supplied test of a named browser, screen reader, or office suite here, so treat those surfaces as variable rather than settled.
Keep a plain-text equivalent whenever the string must be compared, hashed, localized by substitution, or edited by someone who cannot see invisibles. Apply the word joiner at the last presentation step if wrapping is the only goal. Do not stack it with letter-reversal, mirrored-glyph, or confusable-character tricks: those change meaning or security properties that the word joiner itself does not address.