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 a popular choice for attempting 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. Where a platform accepts it, a ZWSP display name appears blank to other users. Many platforms strip or reject it.
  • 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 text can use ZWSP to mark word boundaries, since these scripts do not use visible spaces between words.
  • AI-generated content artifacts. Text copied from AI chat tools sometimes contains invisible characters. The best-documented case involved narrow no-break spaces (U+202F) rather than ZWSP; see our page.

How to Type

PlatformMethod
WindowsNo direct keyboard shortcut. Copy from this page. In Microsoft Word, type 200B then press Alt+X.
macOSNo direct keyboard shortcut. Copy from this page, or enable the Unicode Hex Input source and hold Option while typing 200B.
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: Some players report pasting a ZWSP as their display name. Epic's display-name rules may reject it, so results vary.

Instagram: Often reported to work in bio text and display names for invisible spacing or a blank-looking name. Test first.

Discord: Reported to work in some message and name fields, but Discord may trim it. Results vary by field and client.

Among Us: ZWSP is generally reported not to work in Among Us. Players usually recommend the character (U+3164) instead.

WhatsApp: For blank messages on WhatsApp, the (U+200E) is the commonly suggested option. ZWSP may not work on all WhatsApp versions.

YouTube: For blank video titles, people commonly suggest 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 (line break class ZW) but without any visible gap.
  • It is ignored by the Unicode Bidirectional Algorithm (bidi class BN, Boundary Neutral), so it does not affect the display order of mixed left-to-right and right-to-left text.
  • 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
(U+200C)ZeroNoPrevents character joining
(U+200D)ZeroNoForces character joining (emoji combiner)
(U+2060)ZeroNo, prevents breakPrevents line break (opposite of ZWSP)
(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 (commonly suggested for Among Us), (often suggested for Discord), and (often suggested 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?
Possibly. Players have reported using a zero-width space in Fortnite (Epic Games) display names, but Epic enforces its own display-name rules and may reject names made only of invisible characters. Copy the character from this page, paste it, and see whether Epic accepts it.
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?
Not as a documented feature. Pasted AI output sometimes contains hidden characters, and in April 2025 users reported that OpenAI's o3 and o4-mini models were emitting narrow no-break spaces (U+202F). OpenAI said that was a quirk of large-scale reinforcement learning, not a watermark. Use our tool to detect and remove any invisible characters, whatever their source.

Related Characters

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

Open Invisible Character Viewer