Identify invisible Unicode characters and blank text
How blank Unicode characters such as U+200B and U+3164 work, how to detect them, and when invisible text causes problems with copying, search and accessibility.
Short verdict: useful in narrow cases, risky as a general habit
Invisible and blank Unicode characters do a few jobs well. They can mark where a line may break, keep two words from separating, or join characters in scripts and emoji sequences that need joining. They can also fill a field that refuses to accept an empty value. The tradeoff is that the text no longer means what it appears to mean. A field that looks empty actually contains data. Search, sorting, screen readers, spam filters and platform rules all respond to that hidden data, often in ways you cannot predict. Use a blank character only when you know the destination and have checked how it behaves there. Plain text, or an empty field, is the better choice whenever people need to find, read aloud, edit, compare or trust the content.
What "blank" Unicode text actually is
Unicode has no character that is literally nothing. Searches for a "nothing" character or a blank Unicode symbol always end at a real, stored code point that happens to draw no visible ink. These code points fall into three broad families. Space characters have width but no glyph. Format characters have no width and exist to control layout or joining. Letters and symbols in the third family are blank by design, or blank in most fonts. Software treats these families very differently, which is why a blank that works in one app can be stripped, rejected or flagged in another.
| Code point | Name | Unicode category | Typical rendering | Why it usually appears |
| U+00A0 | No-break space | Zs (space separator) | Normal space width | Keeps words together; common in text pasted from web pages and word processors |
| U+2000 to U+200A | En quad through hair space | Zs | Fixed widths from wide to very thin | Typographic spacing carried over from publishing tools |
| U+3000 | Ideographic space | Zs | Full-width space | East Asian text |
| U+200B | Zero width space | Cf (format) | No width | Line-break hints; also used as a "blank" filler |
| U+200C, U+200D | Zero width non-joiner, zero width joiner | Cf | No width | Required for correct shaping in some scripts and for many emoji sequences |
| U+2060 | Word joiner | Cf | No width | Prevents a line break between characters |
| U+FEFF | Zero width no-break space / byte order mark | Cf | No width | Byte order mark at the start of a file; stray copies end up mid-text |
| U+00AD | Soft hyphen | Cf | Invisible unless a line breaks at that point | Hyphenation hint |
| U+200E, U+200F, U+202A to U+202E, U+2066 to U+2069 | Bidirectional controls | Cf | No width | Controls left-to-right and right-to-left display order |
| U+3164 | Hangul filler | Lo (letter) | Blank with visible width in many fonts | Blank usernames and messages |
| U+2800 | Braille pattern blank | So (symbol) | Blank cell with visible width | Blank messages and text art |
| U+E0000 block | Tag characters | Cf | No width | Emoji tag sequences; sometimes misused to hide text |
Zero width space (U+200B)
U+200B is a format character, not a space in the technical sense. It is not part of Unicode's White_Space property, so routines that trim or split on whitespace usually leave it in place. Python's str.strip() and str.split(), and JavaScript's trim(), all ignore it. Its intended job is to mark an allowed line break inside a long run of characters, such as a URL or a word in a script written without spaces. As a blank filler it is fragile: it has no width, so a field containing only U+200B looks completely empty, and many services remove or reject it for exactly that reason.
Hangul filler (U+3164)
U+3164 belongs to the Hangul Compatibility Jamo block and is classified as a letter. That classification explains its popularity for blank names. Validation that rejects whitespace-only input can let it through, because to that check it is just another letter. In many fonts it also draws as a blank with real width, so it looks like a space rather than nothing. Unicode lists it as a default ignorable code point, which means a renderer may legitimately show it as nothing at all, and that is one source of inconsistent behavior between apps. Halfwidth Hangul filler (U+FFA0) and the conjoining fillers U+115F and U+1160 are related characters that turn up for the same purpose.
Braille pattern blank (U+2800) and other lookalikes
U+2800 is the braille cell with no raised dots. It is a symbol, not whitespace, and it is not default ignorable, so it tends to survive trimming and render as a blank cell of fixed width. It has a real meaning in braille, and assistive software may treat it as a braille character rather than as silence. Visually, ordinary space variants such as the no-break space and the ideographic space are also "blank", but because they count as whitespace, many systems trim them or treat them as empty.
Stored characters versus visual tricks
All of the characters above are stored in the text itself. They travel with copy and paste and are present in every system that receives them. That differs from presentation effects, which are sometimes also called a "transparent character" or invisible text. Text styled with transparent colour, matching foreground and background colours, or hidden through CSS still consists of ordinary letters, and it reappears when copied or read by software that ignores the styling. Bidirectional controls fall in between: they are stored characters, but their effect is on display order, so the order you see can differ from the order a program reads. If you use a reverse or mirror text tool, invisible characters move along with everything else. Reversing code points can strand a zero width joiner or a direction control in a position where it breaks an emoji sequence or scrambles the display.
How to identify invisible characters
- The cursor seems to stick: an arrow key press moves nothing visible, or Backspace has to be pressed twice to delete one apparent character.
- Character or length counts are higher than the visible text suggests.
- Two strings look identical but do not match in search, comparison or login checks.
- A word refuses to wrap, or wraps in an odd place.
- A field that looks empty is accepted as filled in.
- Punctuation or numbers appear in the wrong order next to right-to-left text, which points to bidirectional controls.
- A text editor set to show whitespace or control characters displays an unexpected marker, box or code.
The most reliable test is to inspect code points rather than glyphs. A code editor can display invisible characters once its option to render whitespace or control characters is turned on, though the options and what they cover vary by editor. Escaping the text so each character appears as a code point removes the guesswork entirely. The short Python script below lists every format character, every space other than the ordinary space, and the common blank lookalikes, along with each one's position and official name. It runs locally, so the text never leaves your machine.
import unicodedata
# Letters and symbols that usually render as empty space
BLANK_LOOKALIKES = {'\u115F', '\u1160', '\u3164', '\uFFA0', '\u2800', '\u034F'}
def reveal(text):
for i, ch in enumerate(text):
cat = unicodedata.category(ch)
odd_space = cat == 'Zs' and ch != ' '
if cat in ('Cf', 'Cc', 'Zl', 'Zp') or odd_space or ch in BLANK_LOOKALIKES:
name = unicodedata.name(ch, 'UNNAMED')
print(f'{i:>4} U+{ord(ch):04X} {cat} {name}')
reveal('ok\u200bok\u3164')
For the sample string, the script should report U+200B ZERO WIDTH SPACE at index 2 and U+3164 HANGUL FILLER at index 5. It also lists tabs and line breaks, because they are control characters. It does not flag variation selectors or combining marks. Add them to the check if you need to catch those too, but expect matches on legitimate accented text. Your Python version's Unicode data determines the names and categories it reports.
| Character | UTF-8 bytes | HTML reference | JavaScript or Python escape |
| Zero width space (U+200B) | E2 80 8B | | \u200B |
| Hangul filler (U+3164) | E3 85 A4 | ㅤ | \u3164 |
| Braille pattern blank (U+2800) | E2 A0 80 | ⠀ | \u2800 |
| No-break space (U+00A0) | C2 A0 | | \u00A0 |
| Byte order mark (U+FEFF) | EF BB BF | | \uFEFF |
The byte sequences come in handy when a hex viewer or a log shows raw bytes instead of characters. Seeing E2 80 8B inside what should be plain ASCII text is a clear sign of a zero width space.
What happens after copying and sharing
Copy and paste usually preserves these characters, because they are ordinary text. Problems arise when the receiving system processes the text. Some services strip format characters, collapse unusual spaces, or reject fields made up only of blank characters. Some apply Unicode compatibility normalization (NFKC), which turns the no-break space and the typographic spaces into ordinary spaces while leaving zero width format characters alone. Because each destination makes its own choices, a blank that survives in one chat app or profile field tells you nothing reliable about the next one.
Search and editing suffer quietly. A zero width space inside a word stops that word from matching a search for it. Hidden characters also break exact comparisons in spreadsheets and databases and can cause errors in code and configuration files. A stray byte order mark at the start of a file is a common cause of parse errors. Hidden characters can also leak information: they can be used to fingerprint copied text or to hide content inside apparently normal text.
Accessibility is the least predictable area. Screen readers may say nothing, announce a character name, read a braille symbol, or pause, depending on the product, version, language and verbosity settings. A blank username or message gives a screen reader user no usable label. Invisible characters inside words can also break pronunciation. Bidirectional controls carry a separate risk. Because they change display order without changing stored order, they have been used to make source code and file names look different from what they actually contain, and that technique was publicized under the name Trojan Source. Many code review tools and editors now warn about these characters for that reason.
Platform rules matter as well. Some services treat blank names or messages as spam or impersonation, or as a way around their requirements. Whether that applies depends on the service's own terms, and those terms are worth reading before you rely on a blank character.
When plain text is the better choice
- Names, labels and anything people need to find, mention or report: use readable text.
- Content read by assistive technology: avoid blank fillers and zero width characters inside words.
- Passwords, usernames used for login, email fields and URLs: hidden characters cause mismatches that are hard to diagnose.
- Source code, data files and spreadsheets: remove stray format characters unless a specific one is required.
- Text in scripts that need ZWJ or ZWNJ for correct shaping, and emoji sequences: keep those joiners, because removing them changes how the text is shown or what it means.
- Layout spacing on web pages: CSS controls spacing more predictably than space characters do.
Finding a way to produce or check these characters
Searching by code point and official name works best. Queries such as "U+200B zero width space", "U+3164 Hangul filler" or "U+2800 braille pattern blank" lead to character reference pages that show the category, the encodings and an easy way to copy the character. For detection, try terms like "show invisible characters", "Unicode code point inspector" or "zero width character detector". To insert a character, you can use an HTML reference or a programming-language escape from the table above, or your operating system's character picker searched by name or code point. The exact steps depend on the system and are not covered here. This article has not checked any particular website or app. Do not assume what an online tool does with pasted text from how it looks or how it is marketed, so keep sensitive text in local methods such as the script above.
What this review could not verify
The descriptions above rely on Unicode character properties and the documented behavior of common programming functions. They do not come from tests of particular platforms. No specific social network, messaging app, game, browser or screen reader was tested. Claims about whether a given destination accepts, strips or announces a blank character therefore remain unconfirmed, and how fonts render U+3164 and U+2800 can vary. Before relying on a blank character anywhere that matters, run a test in that destination and, if accessibility matters, with the assistive technology your readers actually use.