Zero Width Space

Copy zero-width space characters (U+200B) for text tricks

 
Characters: 0

Zero Width Space (U+200B) — Copy the Invisible Character

There's a specific Unicode character that is literally width-less. It's not a small space, it's not a thin space — it has a width of zero. I first encountered it when debugging a web layout where a long URL was breaking the container. It wouldn't wrap because there were no spaces. By inserting a zero width space (ZWS) at intervals, the URL could wrap at those points, but the URL itself still looked like one continuous string when it didn't need to break. That's the power of zero width space — it's a structural character that the eye can't see.

A zero width space (U+200B) is a non-printing character used in computerized text-processing systems for custom line-breaking points. It's a valid Unicode character that takes up zero horizontal space, meaning it's truly invisible even when you select text, unless your text editor specifically marks hidden characters.

One click to copy U+200B. No registration, and always free.

What the Zero Width Space Character Is Used For

Controlling line breaks in long words or URLs is the most technical use. In web development and design, ZWS characters are inserted into long strings where you want to allow the browser to break the line if needed, without adding a visible hyphen or space. It keeps the text looking clean while preventing layout breaks.

Invisible separation in social media is a common "trick" use. On platforms like Instagram or Twitter, you can insert a zero width space between characters of a word or between hashtags. This can sometimes bypass basic text filters or prevent automatic link-joining that the platform might otherwise do. The hashtags look normal, but they're technically separated.

Hiding messages within text (steganography). Because ZWS characters take up no space, you can embed a "code" of ZWS characters within a normal-looking sentence. To a viewer, it's a normal sentence. To a script or someone who knows how to look, there's hidden data inside. For this specific use case, the invisible text generator handles the encoding for you.

If you need a blank character that actually takes up width for a username or bio line, the invisible character tool is a better choice, as many platforms strip truly zero-width characters from names.

How to Use the Zero Width Space Tool

Click the "Copy ZWS" button. The character is now on your clipboard. Paste it wherever you need it — a code editor, a social bio, or a message.

Because the character is zero-width, you won't see any movement when you paste. To confirm the paste worked, paste into a text editor like VS Code or Notepad++ and enable "Show Hidden Characters." You'll see the ZWS marker (usually a tiny dot or symbol) at the cursor position.

You can also generate multiple ZWS characters if you're using them as a hidden signal or count-based separator. The blank space generator can also produce batch counts for you.

Key Features

Standardized U+200B character. The tool provides the exact Unicode zero-width space character recognized globally. It's the standard for text processing and works across all modern operating systems and browsers.

Instant clipboard copy. Since you can't see the character to select it, the tool's primary feature is the one-click copy button. It handles the selection of the invisible character and puts it directly onto your clipboard.

Developer-friendly and lightweight. No scripts to load, no account to create. It's a utility for when you need a ZWS right now and don't want to dig through a character map. For more specialized development use cases, like creating invisible usernames with proper spacing, the invisible name generator covers those specifics.

According to the Wikipedia entry for Zero-width space, this character was originally used in languages that don't use visible spaces between words (like Thai or Japanese) to indicate where line breaks are allowed — a core part of global typography standards.

Situations Where Zero Width Space Saved the Day

The URL layout break mentioned in the intro is a common one. But here's another: a community manager was dealing with a spam bot that was looking for specific keywords to trigger replies. By inserting a zero width space in the middle of those keywords in their posts, the manager prevented the bot from detecting the words, while human readers saw the text perfectly normally. It was a simple, non-technical way to silence the bot.

Second situation: a writer was formatting an ebook and wanted specific control over how a long, made-up fantasy word broke across lines on Kindle devices. Standard hyphenation looked ugly. By placing zero width spaces at the desired break points within the word, they ensured the Kindle only broke the word exactly where they wanted it to, without ever showing a hyphen.

I also saw a designer use ZWS to manage spacing in a "justified" text block where a particular line wouldn't justify correctly because of word lengths. A few strategically placed ZWS characters gave the browser's layout engine the "permission" it needed to balance the line perfectly.

Tips for Using Zero Width Space

Use sparingly in code. If you're using ZWS in your source code, leave a comment explaining why. Because it's invisible, other developers might accidentally delete it or be confused why a string isn't matching what it looks like on screen.

Most word processors (Word, Docs) have their own internal characters for optional breaks. While ZWS works, it's often better to use the software's built-in "Optional Break" feature if you're only working within that one app. Use U+200B when the text needs to travel across different apps or onto the web.

Be aware of platform stripping. Many social platforms (like Instagram or Discord) are smart enough to strip zero-width characters from usernames to prevent people from impersonating others with "invisible" differences in names. If you need an invisible name character, try the options on the invisible character page. If you find unexpected invisible characters in text you've received, the remove special characters tool can clean them up.

Cross-Platform Compatibility

Zero width space is a core Unicode character. It is supported by all modern versions of Windows, macOS, Linux, iOS, and Android. It renders correctly (by not rendering at all) in Chrome, Safari, Firefox, and Edge.

The Essential Invisible Tool

The zero width space is the ultimate "hidden helper" in text processing. Whether you're fixing a broken web layout, bypassing a simple keyword filter, or embedding hidden data, this character does its job without ever being seen. Copying it manually is impossible — but with this tool, it's one click away.

Frequently Asked Questions

A zero-width space is a Unicode character that takes up zero horizontal space on screen. It acts as an invisible marker where a line break is permitted but not required. It is completely invisible to the eye.

Because it's invisible, you need a text editor that shows hidden characters (like VS Code or Notepad++) or a character analysis tool. In many editors, if you move your cursor past one, it will feel like you're pressing the arrow key without the cursor moving.

Usually no. Discord and many other platforms treat truly zero-width characters as empty input and strip them from usernames. For blank names, you generally need invisible characters that have a measurable width, like those found on the invisible character page.

They can if they're placed inside variable names or strings that need exact matching. Because they're invisible, they make strings that "look" identical behave differently. Use them intentionally and document their presence.

Yes. On almost every platform, a zero-width space counts as one character toward the total limit, even though it's not visible. If you paste 10 and your limit is 30, you only have 20 visible characters left.

You can use the 'Remove Special Characters' tool on this site to strip out invisible Unicode characters, including zero-width spaces, from any text block.

Instant Results

Process text immediately in your browser

100% Private

Your text never leaves your device

Completely Free

All tools, always free to use

Works Everywhere

Desktop, tablet, or mobile any device