Zero-Width Space - Copy, Paste & Learn What It Does

Copy U+200B and understand how the zero-width space affects wrapping, validation, and hidden text.

  • Aucune limite de longueur
  • Sans inscription
  • Gratuit pour toujours
  • Votre texte ne quitte jamais votre navigateur
Options
Résultat
Votre résultat apparaîtra ici dès que vous tapez.

What Is a Zero-Width Space (U+200B)?

U+200B is a format character that indicates an optional line-break opportunity: a place where text may wrap if needed, without forcing a break and without showing any visible mark. It was designed for scripts such as Thai and Khmer, which do not use ordinary spaces between words, so a text layout engine needs a hint about where a line may safely break.

In normal rendering the character has no width, which is why it is invisible in browsers, editors, and word processors by default. It is still a real Unicode code point with a defined format role, not whitespace and not an empty string.

That duality — present in the data, absent on screen — is the source of both its usefulness and its notoriety: the property that hints at line breaks also hides inside text unnoticed.

Common Unintended Uses Today

Most encounters with U+200B are accidental: it arrives inside text copied from the web, survives conversion between document formats, or is inserted by rich editors as a break hint. Writers and developers then see strings that fail to match, count oddly, or refuse to behave as expected for no visible reason.

Deliberate uses exist too: bypassing character-count validation, breaking keyword strings so exact-match filters no longer see them, and padding usernames with invisible “space”. Each exploits the gap between how text looks and what it contains.

Either way the text renders normally but no longer compares, matches, or filters the way the plain version would — which is precisely when detection and removal become useful.

How to Detect and Remove Zero-Width Spaces

If text is behaving strangely, paste it into the Invisible Character Detector first. The detector lists every hidden code point with its position and identity, so a U+200B hiding inside a username, a product key, or a keyword becomes visible in seconds.

For cleanup, the Text Cleaner group’s Remove Invisible Characters tool strips the whole family — zero-width spaces, joiners, and related format characters — leaving the visible words untouched. Run the cleaned result through the detector again when the content matters, to confirm nothing was missed.

Questions fréquentes

Does a zero-width space count toward character limits?

Usually yes: it is a Unicode code point, and most platforms count code points even when they render nothing, so invisible padding consumes real space in a bio or username limit. A few platforms normalize or strip format characters before counting, so test the exact field to be sure.

Why does Word sometimes contain zero-width spaces?

Word and other rich editors insert U+200B as an optional line-break hint, and the character travels with content through copy-paste and format conversion. Invisible by design, it survives unnoticed until the text lands somewhere that counts or compares strictly — when the detector earns its keep.

Votre texte ne quitte jamais votre navigateur

Chaque outil fonctionne localement sur votre appareil. Rien de ce que vous collez n’est envoyé, stocké ou suivi.