What Are Invisible Unicode Characters? Types, Codepoints, and Detection
A comprehensive technical guide to zero-width spaces, byte order marks, joiners, and how they sneak into digital text.
What Are Invisible Unicode Characters?
Unicode includes tens of thousands of characters, many of which do not render visible glyphs on screen. While designed for typography, script joining, and text directionality, these characters can cause hidden bugs, unexpected text behavior, and detection flags.
Key Invisible Characters to Know
| Name | Unicode Code Point | Purpose | Common Issue |
|---|---|---|---|
| Zero Width Space (ZWSP) | U+200B | Word boundary without visible space | Hidden copy-paste token |
| Zero Width Non-Joiner (ZWNJ) | U+200C | Prevents cursive ligature connections | Stray symbol in Persian/Arabic |
| Zero Width Joiner (ZWJ) | U+200D | Connects emoji sequences and ligatures | Multi-emoji fragmentation |
| Word Joiner | U+2060 | Prevents line breaks | Formatting rigidity |
| Byte Order Mark (BOM) | U+FEFF | Byte-order indicator | Web header glitches |
| Non-Breaking Space (NBSP) | U+00A0 | Space that prevents wrap | Unexpected layout bugs |
Why Detecting Invisible Characters Matters
Invisible characters can:
- Break search index matching (a word containing
U+200Bwill not match standard search queries) - Trigger formatting and parsing errors in code interpreters
- Inflate string length counters unexpectedly
- Indicate automated text scrapers or unvetted copy-pasting
To inspect a string, use the invisible character remover. For broader AI-generated drafts, the AI text cleaner also normalizes unusual whitespace.
This page is a catalog of what those characters are. For workflows, see how to detect hidden Unicode characters, how to remove invisible characters, and the dedicated U+200B (zero-width space) guide.
