Skip to content
100% local

Invisible character detector

Find hidden Unicode characters in text and highlight, remove or replace them.

Input
Output

Invisible character detector

Text that looks clean can carry characters you cannot see. Copy from a chat assistant, Word, a PDF or a web page and zero-width spaces, non-breaking spaces, soft hyphens and direction marks ride along. Then a CSV import fails, two identical-looking strings refuse to match, code breaks on a character the editor doesn't show, or a search misses the obvious. This detector makes the hidden layer visible and removes it.

Paste your text and every invisible character is marked in place with a token like ⟨U+200B⟩. Below the text, a summary lists each character found with its Unicode code point, name and count, such as zero width space × 3 or no-break space × 2, so you know what you are dealing with before you change anything.

Switch the action to remove to strip every hidden character, or to replace with space to turn space-like characters into ordinary spaces while zero-width characters vanish, which keeps words from gluing together. Non-breaking spaces are often intentional typography, so a separate switch protects them. Detected are zero-width spaces and joiners, the word joiner, the byte-order mark, soft hyphens, bidirectional marks and overrides, exotic Unicode spaces, the hangul filler, the braille blank and control codes. Tabs and line breaks are structure, not junk, and are left alone.

The tool finds characters that are invisible. Letters that merely look alike, such as a Cyrillic а in a Latin word, are a different problem: use the homoglyph detector for those, or the Unicode inspector to see every code point.

Everything runs in your browser and nothing is uploaded.

FAQ

Why does my pasted string fail when it looks identical?
Two strings can look the same and still differ by a zero-width space, a no-break space or a soft hyphen. Comparison, validation and search treat those as real characters. Paste the text here: each one is marked with its code point, and Remove or Replace with space cleans it.
What is the difference between ZWSP, ZWNJ, ZWJ and the word joiner?
The zero width space (U+200B) marks a place where a line may break. The zero width non-joiner (U+200C) stops two letters from joining, as in Persian. The zero width joiner (U+200D) joins them, and holds combined emoji together. The word joiner (U+2060) forbids a line break at that spot.
Can invisible characters hide a watermark or a security trick?
Yes. A pattern of zero-width characters can mark a text without changing how it looks, and right-to-left overrides can make a filename or URL read differently from what it is. The summary names each one found. For lookalike letters, use the homoglyph detector instead.
Why does the tool flag my emoji?
Combined emoji such as families and profession emoji are held together by zero-width joiners (U+200D), which the detector reports honestly. Removing them splits the emoji into its parts, so run highlight first.
Is my text uploaded anywhere?
No. Scanning runs entirely in your browser. Your text stays local and nothing is analyzed on a server.