Zero Width Character Detector
Zero Width Character Detector is a free online tool that scans text for invisible Unicode characters and shows their positions, character types, and detection results.
Detect zero-width characters
Paste text containing possible hidden or invisible Unicode characters.
Detection results
| Character name | Unicode | Count | Positions |
|---|
Positions are 1-based UTF-16 character positions in the original text.
What Are Zero-Width Characters?
Zero-width characters are Unicode characters that usually do not occupy visible space when displayed. They can appear in copied text, source code, messages, and documents without being obvious to the reader.
Common examples include:
Zero Width Space (U+200B): Creates an invisible character boundary.
Zero Width Non-Joiner (U+200C): Prevents certain characters from joining in scripts that use contextual shaping.
Zero Width Joiner (U+200D): Connects characters in certain writing systems and emoji sequences.
Word Joiner (U+2060): Prevents a line break at its position.
Zero Width No-Break Space (U+FEFF): Can appear as a byte order mark or as an invisible character in text.
These characters have legitimate uses, but unexpected occurrences can affect text processing and comparison.
How to Detect Invisible Characters in Text
Use this online invisible character detector to scan text for hidden Unicode characters.
Enter your text: Paste the text into the Text to Scan field.
Scan the content: Click Scan Text to search for supported zero-width characters.
Review detection results: Check the number of characters scanned, hidden characters found, character types, and detection status.
Copy or clear results: Use Copy Results to copy the findings or Clear to start a new scan.
Solved Example: Detect Zero-Width Characters
Consider this text containing two invisible characters:
Input: HelloWorld! This is a test text with hidden characters.
Output:
Zero Width Character Detection Results
Characters Scanned: 58
Hidden Characters: 2
Character Types: 2
Character: Zero Width Space
Unicode: U+200B
Count: 1
Positions: 6
Character: Zero Width Non-Joiner
Unicode: U+200C
Count: 1
Positions: 12
The detector identifies the invisible characters without relying on how the text looks on screen. The character count and position values should match the tool's actual counting and indexing conventions.