Invisible Character & Zero-Width Cleaner
Detect, highlight, and strip hidden Unicode characters, zero-width spaces, BOM marks, non-breaking spaces, and hidden steganography text.
Fix Phantom Syntax Errors and Hidden Unicode
Have you ever encountered a syntax error in JavaScript, Python, or SQL where the code looks completely normal on your screen? In most cases, the culprit is an invisible Unicode character copied from a web tutorial, rich-text email, or chat application.
The TextSorter Invisible Character Cleaner provides visual highlighting of every hidden codepoint and gives you one-click cleanup tools to sanitize your text and code immediately.
Common Invisible Unicode Codepoints
- U+200B (Zero-Width Space): Commonly injected by text editors for soft-wrap boundaries; invisible in code editors.
- U+FEFF (Byte Order Mark / BOM): Prepended to UTF-8 files by certain Windows applications, corrupting JSON parsers and headers.
- U+00A0 (Non-Breaking Space / NBSP): Common in web pages and PDFs; causes unexpected tokens in compilers.
- U+200C / U+200D (Zero-Width Non-Joiner & Joiner): Used in complex scripts and emojis, but hazardous when copied into identifiers.
- U+200E / U+200F (Directional Marks): Forces text direction in bidirectional scripts, causing erratic cursor movements.