Zero-Width Space U+200B

Codepoint
U+200B
Decimal
8203
HTML
​
CSS
\200B
JS
\u200B
URL
%E2%80%8B
UTF-8
E2 80 8B
Category
Format (Cf)
Block
General Punctuation

The zero-width space (ZWSP, U+200B) is one of the most widely used invisible characters in Unicode. Despite taking up absolutely no visible space on screen, it serves a critical role in text processing: it creates a potential line-break point. Think of it as a silent suggestion to the browser or app that says, "you can break the line here if you need to."

Originally designed for scripts like Thai, Khmer, and Myanmar that do not use visible spaces between words, the zero-width space has taken on a much larger role in modern digital communication. It is now the go-to character for creating invisible usernames in games like Fortnite, hiding text in social media bios, watermarking content, and bypassing text filters.

If you have ever pasted text from a website or document and found that search, matching, or formatting broke in unexpected ways, there is a good chance a zero-width space was hiding in your text.

Common Uses

  • Invisible usernames in Fortnite, Instagram, and Discord. Paste a ZWSP as your display name and it appears blank to other users.
  • Creating line-break opportunities in long strings. Web developers insert ZWSP into long URLs, email addresses, or technical terms so browsers can wrap the text without adding a visible hyphen.
  • Text watermarking and fingerprinting. Organizations embed unique patterns of zero-width spaces into documents to trace leaks. Each copy gets a different invisible pattern that identifies the recipient.
  • Bypassing text filters and validation. ZWSP can slip past simple keyword filters because the filter sees "bad" + ZWSP + "word" as two separate tokens, not one banned phrase.
  • Word segmentation in Southeast Asian scripts. Thai, Khmer, and Myanmar use ZWSP to mark word boundaries since these scripts do not use visible spaces between words.
  • AI-generated content artifacts. ChatGPT, Claude, and other language models sometimes inject zero-width spaces into their output as a side effect of their training data.

How to Type

PlatformMethod
WindowsNo direct keyboard shortcut. Copy from this page, or try Alt+8203 on the numeric keypad (limited app support).
macOSNo direct keyboard shortcut. Copy from this page.
LinuxPress Ctrl+Shift+U, type 200B, press Enter.
Mobile (iOS/Android)Copy from this page and paste. No native keyboard input.
HTMLType ​ or ​ in your source code.
JavaScriptUse the escape sequence \u200B in strings.
CSSUse content: '\200B'; in pseudo-elements.
PythonUse \u200B in strings: text = "word\u200Bword"

Platform Guide

Fortnite: Copy the ZWSP from this page and paste it as your display name. Your name will appear completely invisible to other players in the lobby and in-game.

Instagram: Works for bio text and display names. Paste ZWSP to create invisible spacing or a blank-looking name.

Discord: Works for display names and message content. You can send messages that appear empty.

Among Us: ZWSP does NOT work for Among Us. Use the character (U+3164) instead, which is the only character that creates a truly invisible name in Among Us.

WhatsApp: For sending blank messages on WhatsApp, use the (U+200E) instead. ZWSP may not work on all WhatsApp versions.

YouTube: For blank video titles, use the (U+200C) instead.

Technical Details

The zero-width space is classified as a Format character (category Cf) in Unicode. It has no visible width, no visible height, and produces no glyph. However, it is a real character in the text stream with real effects:

  • It creates a line-break opportunity (like a regular space) but without any visible gap.
  • It resets the bidirectional algorithm, which can affect how mixed left-to-right and right-to-left text is displayed.
  • It is preserved by most text processing systems, meaning it survives copy-paste, database storage, and transmission.

In regular expressions, you can match it with \u200B in most languages. In JavaScript, string.includes('\u200B') will detect it. To remove all zero-width spaces from a string: string.replace(/\u200B/g, '').

Security Considerations

Zero-width spaces pose several security risks that developers and security teams should be aware of:

  • Visually identical but technically different strings. Two URLs or email addresses can look identical but contain hidden ZWSP characters, sending users to different destinations. This is used in phishing attacks.
  • Bypassing content filters. Inserting ZWSP into banned words can evade keyword-based moderation systems.
  • AI prompt injection. Attackers can use ZWSP and other invisible characters to hide instructions in text that is fed to AI systems, causing the AI to follow hidden commands.
  • Breaking string comparison. Code that compares user input to expected values can fail silently when invisible characters are present, potentially bypassing authentication or validation checks.

Always sanitize user input by stripping zero-width characters when processing text in security-sensitive contexts.

How ZWSP Differs from Similar Characters

These five zero-width and space characters are often confused. The key difference is what they do to line breaking and character joining:

CharacterWidthLine break?Use case
Zero-Width Space (U+200B)ZeroYes, allows breakLine-break opportunity
Zero-Width Non-Joiner (U+200C)ZeroNoPrevents character joining
Zero-Width Joiner (U+200D)ZeroNoForces character joining (emoji combiner)
Word Joiner (U+2060)ZeroNo, prevents breakPrevents line break (opposite of ZWSP)
Non-Breaking Space (U+00A0)Normal widthNo, prevents breakKeeps words together with visible space

For invisible usernames, ZWSP is not always the best choice. See our pages on (best for Among Us), (best for Discord), and (best for WhatsApp blank messages) for platform-specific recommendations.

Frequently Asked Questions

What is a zero-width space used for?
A zero-width space (U+200B) is used to create invisible line-break opportunities in text, make invisible usernames in games and social media, watermark text content, and help word segmentation in languages like Thai that don't use visible spaces.
How do I copy a zero-width space?
Click the copy button at the top of this page to instantly copy a zero-width space to your clipboard. You can then paste it anywhere with Ctrl+V (Windows/Linux) or Cmd+V (Mac).
Can I use zero-width space for an invisible Fortnite name?
Yes. Copy the zero-width space from this page and paste it as your Fortnite display name. Your name will appear blank or invisible to other players.
How do I detect zero-width spaces in my text?
Paste your text into our Invisible Character Viewer tool on the homepage. It will highlight all zero-width spaces and other hidden characters, showing their Unicode code points on hover.
Does ChatGPT insert zero-width spaces?
Yes, ChatGPT and other AI language models occasionally insert zero-width spaces into their output. This is a side effect of training data, not intentional watermarking. Use our tool to detect and remove them.

Related Characters

Need to detect or remove Zero-Width Space characters in your text?

Open Invisible Character Viewer