The Zero-Width Space-Place
Nothing to see here.
Zero‑Width Space
Click the translucent pill (blue dot marks it) or the big Copy button.
What’s Zero-Width Space?
The zero‑width space (U+200B) is a Unicode glyph that renders nothing and occupies zero width. In the right hands, this “invisible ink” changes how software treats text.
Example
Below are seven tricks I actually use, each with a quick demo.
- Anchor an Alphabetical List
Prefix one or more ZWS characters to push an item ahead of "A".
Newsletter ← with ZWS
Apple
Zucchini
- Break Auto‑Linking
Drop a ZWS into a URL or email to foil scrapers while leaving it human‑readable.
hello@starikov.co
https://starikov.co
- Duplicate C++ Identifiers
ZWS is a valid identifier char in many compilers.
int total = 1; // normal
int total = 2; // looks the same, compiles fine
std::cout << total + total; // prints 3
- Python Indentation Gremlins
Slip a ZWS into leading spaces; code looks aligned but crashes.
def hello():
print("ok") # four spaces
print("boom") # four + ZWS → IndentationError
-
Hide Easter‑Egg Text
Insert a binary watermark every 100 chars; humans never see it, diff tools do. -
Zero‑Length Social Forms
Some platforms allow a username, bios, and other forms that is literally just ZWS. Pure minimalism. -
Control word‑wrapping
Add ZWS inside a super‑long URL to let browsers break the line without inserting a visible hyphen.
<span style="word-break:break-all">
https://example.com/superlongpaththatneverends
</span>