Skip to content
All references

Writing reference

Invisible Unicode Characters & Safe Cleanup

Recognize zero-width spaces, nonbreaking spaces, direction controls and emoji joiners before changing copied text.

7 of 7 entries

Copy and paste

Zero-width space

U+200B ZERO WIDTH SPACE

A zero-width space can affect word boundaries or line breaking while remaining visually unobtrusive. Inspect where it occurs before removing it; removal can join adjacent text.

Whitespace

Nonbreaking space

U+00A0 NO-BREAK SPACE
U+202F NARROW NO-BREAK SPACE

These spaces can prevent a line break and may appear in copied formatted text or number grouping. The cleanup option can replace unusual spaces with ordinary spaces while keeping normal spaces and CR/LF line endings.

Preservation

Emoji joiners

U+200D ZERO WIDTH JOINER

A joiner can combine several code points into a single emoji. Removing it may turn a combined emoji into separate symbols. The detector preserves joiners and variation selectors by default.

Preservation

Language shaping

U+200C ZERO WIDTH NON-JOINER

Some languages use non-joiners as part of normal writing. A hidden-character report is not a reason to delete all such characters automatically. Review the source and intended language.

Display

Direction controls

U+202E RIGHT-TO-LEFT OVERRIDE
U+2066 LEFT-TO-RIGHT ISOLATE

Direction controls can change the visual order of text. They also have legitimate uses in multilingual writing. Their presence alone does not prove an attack or reveal every kind of Unicode spoofing.

Counting

Positions and visible characters

One-based code-point position ≠ UTF-16 index

A visible grapheme can contain multiple code points. The detector reports code-point positions, while the word counter separately reports graphemes and UTF-16 units. Use the appropriate index when investigating an editor or API.

Cleanup

Keep and review the source

Inspect → choose options → create a cleaned copy

Inspection does not modify the original input. Cleanup creates a separate copy, and changing the input or options clears the stale output. Check the copy before using it in code, identifiers or multilingual content.