
Several dozen Unicode characters occupy zero pixels on the screen while being treated as valid text by software. Their behavior varies depending on the platform, browser, and targeted input field. Understanding these differences helps avoid form bugs, rejected passwords, or broken layouts.
Comparison table of the main invisible Unicode characters

Not all invisible spaces are created equal. Some are accepted by social networks, others are standardized or silently removed. The table below groups the most commonly used characters, their Unicode code, and their typical behavior.
Related reading : B2B Digitalization: How to Automate and Optimize Your Business Transactions in 2024
| Character | Unicode Code | Visible Width | Accepted in Pseudonyms/Bios |
|---|---|---|---|
| Non-breaking Space | U+00A0 | Identical to a regular space | Often yes |
| Zero Width Space | U+200B | None | Variable by platform |
| Hangul Filler | U+3164 | None | Yes on most networks |
| Braille Pattern Blank | U+2800 | None | Yes in most cases |
| En Space | U+2002 | Em dash | Rarely filtered |
| Em Space | U+2003 | Full em dash | Rarely filtered |
| Hair Space | U+200A | Very thin | Sometimes standardized |
The Hangul Filler (U+3164) and the Braille Pattern Blank (U+2800) pass most validation filters because they belong to legitimate language blocks. Platforms hesitate to block them to avoid breaking the display of Korean or Braille.
When looking for an invisible space character to copy and paste, the choice of the right Unicode code directly depends on where it will be used.
See also : How to Transform Your Office into an Inspiring and Functional Space?
Keyboard shortcuts to insert an invisible space without online tools

Web generators are convenient, but they add unnecessary dependency when a simple shortcut suffices. Two combinations cover most situations.
Non-breaking Space on Windows and macOS
On Windows, the combination Alt+0160 inserts a non-breaking space (U+00A0) in Word, Excel, most text editors, and many web fields. On macOS, Option+Space produces the same character.
This non-breaking space prevents a line break between two words. It also serves to fill a form field that refuses to remain empty, as the system considers it a valid character and not just an empty input space.
Zero Width Space via the Character Map
For a strictly invisible character (zero width), the Windows Character Map or the macOS keyboard viewer allows you to search for U+200B. The process is slower than a shortcut, but it gives access to all Unicode characters without extensions or third-party sites.
Concrete pitfalls related to copying and pasting invisible spaces
The use of these characters is not without risk. Several scenarios can cause hard-to-diagnose errors.
- Corrupted passwords: an invisible space pasted at the end of a string from a notes manager turns “MyPassword” into “MyPassword[U+00A0]”. The login system sees two different strings, authentication fails, and nothing on the screen explains why.
- Broken source code: a non-breaking space or a Zero Width Space copied into a variable, filename, or URL produces compilation errors or broken links. The character is invisible in the standard editor.
- Silent normalization: some platforms (messaging apps, CMS) automatically replace non-standard Unicode spaces with a regular space (U+0020) or remove them. The invisible text disappears without warning after publication.
These problems affect both content creators and developers. An “empty” pseudonym on a social network may work for months, then stop displaying after a platform update that adds a normalization filter.
Detecting and displaying invisible characters in a code editor
Editors like Visual Studio Code now display invisible characters via a dedicated option. This feature highlights non-breaking spaces, Zero Width Spaces, and unusual carriage returns directly in the source code.
Activation is usually done in the editor’s rendering settings. Once activated, each invisible character appears as a dot, symbol, or colored highlight. The developer can immediately spot a non-standard Unicode space that may have slipped in during a copy-paste from a web page or document.
Legitimate use cases in development
Aside from bugs, invisible spaces are sometimes intentionally used in development. A Zero Width Space placed in a long URL allows the browser to break it cleanly for display without altering the actual link. A non-breaking space between a number and its unit (“42 kg”) prevents an awkward line break at the end of the line.
The line between useful use and a source of bugs hinges on a single criterion: the invisible character must be placed intentionally and documented. Any invisible space resulting from uncontrolled copy-pasting is a risk.
Which invisible character to choose based on your usage
The right character depends on what you are trying to achieve, not on an abstract technical preference.
- For an empty pseudonym or bio on a social network: prefer the Hangul Filler (U+3164) or the Braille Pattern Blank (U+2800), which pass the most filters.
- To prevent a line break between two words in a document: the non-breaking space (U+00A0) via Alt+0160 or Option+Space remains the most reliable.
- To insert an invisible hyphen in a long URL: the Zero Width Space (U+200B) serves exactly this purpose.
- To fill a form field that refuses to be empty: first test U+00A0, then U+3164 if the first is filtered.
The choice boils down to a question of compatibility with the target. A character accepted today may be filtered tomorrow by a platform update. Testing the paste in the real context, before publication, remains the only reliable check.