Detect and remove hidden Unicode characters from text. Visualize zero-width spaces, BOM, bidi marks, and control characters. Security scanning for Trojan Source attacks. Fast, free, and private.
Hidden Unicode character detection & removal
The Remove Invisible Characters tool detects and removes hidden Unicode characters that are invisible in normal text but can cause bugs, security issues, and data corruption. It covers zero-width characters, non-breaking spaces, byte order marks, control characters, and more.
A unique visualization mode reveals invisible characters as labeled badges so you can see exactly where they hide. All processing runs 100% in your browser.
Prevent Trojan Source attacks using bidi characters that disguise malicious code.
Invisible characters cause string comparison failures, broken regex, and mysterious bugs.
Clean CSV, JSON, and database imports from hidden characters that corrupt parsing.
Remove copy-paste artifacts from Word, web pages, and rich text editors.
Ensure clean text when migrating between platforms and content systems.
Scan source code for potentially malicious invisible characters.
Scan source code for hidden characters that cause mysterious bugs or security vulnerabilities.
Detect Trojan Source attacks and bidi control characters in code reviews.
Clean datasets from hidden characters that break CSV parsing and database imports.
Remove copy-paste artifacts from Word, Google Docs, and web pages.
Identify invisible characters causing test failures and inconsistent behavior.
Clean configuration files and scripts from encoding artifacts.
ZWSP (U+200B), ZWNJ (U+200C), ZWJ (U+200D) - take no visible space but affect text processing. Common in web content and East Asian text.
NBSP (U+00A0) and variants prevent line breaks. Often invisible but cause string matching failures. Commonly introduced by Word and web editors.
BOM (U+FEFF) appears at file starts to indicate encoding. Can cause 'unexpected character' errors when files are concatenated.
LRM, RLM, LRE, RLE, PDF, and isolate characters control text direction. Can be exploited in Trojan Source attacks to disguise malicious code.
Hello[ZWSP] World[ZWNJ]! (invisible chars between words)
Hello World! (clean text)
Text with[NBSP]non-breaking[NBSP]spaces and[BOM]byte order marks
Text with non-breaking spaces and byte order marks
if(isAdmin[RLM]) {
// bidi attack detected!if(isAdmin) {
// bidi characters removedYour data stays on your device
All invisible character detection and removal occurs entirely in your browser. Your text, code, and data are never transmitted or stored. Safe for source code, sensitive documents, and confidential content.