Invisible Character Detector
Detect and remove zero-width spaces, BOM, soft hyphens and 15+ hidden Unicode chars.
Mastering Invisible Unicode Characters: Detection, Sanitization, and Security
Detect and remove zero-width spaces (ZWSP), Byte Order Marks (BOM), soft hyphens, and hidden control characters 100% locally in your browser.
Frequently Asked Questions
How do invisible characters get into my code or text in the first place?
They are usually copied unknowingly from PDFs, rich-text word processors (like Microsoft Word or Google Docs), chat apps (Slack, Discord, Teams), or documentation websites that use zero-width spaces for hyphenation or typography formatting.
What is a Trojan Source attack?
A Trojan Source attack uses invisible Unicode bidirectional override characters (such as U+202E) to make source code appear harmless to human reviewers while executing malicious logic when compiled by the computer.
Does removing invisible characters break my emojis?
No! Standard emoji sequences that require Zero-Width Joiners (ZWJ) can be preserved, but in plain text strings, removing rogue ZWSPs and BOMs leaves standard letters and numbers completely clean.
Can invisible characters hurt my website's Google rankings?
Yes. Invisible characters inside <title> tags or meta descriptions can render as empty boxes, garbled question marks, or trigger search engine parsing errors that lower click-through rates.