AI CleaningAIText
🔒 100% In-Browser · Your text never leaves your device · Free & No Sign-Up

Invisible Character Detector & Viewer

X-Ray inspect hidden zero-width spaces, non-breaking spaces, Bidi overrides, and ASCII-smuggling payloads.

Source Input
0 Hidden Chars Found 0 Removed 0 Words 0 Characters
One-Click Presets:

How Do You See Invisible Characters in Text?

Updated

An invisible character detector scans text at the Unicode codepoint level and replaces non-printing characters—such as U+200B (ZWSP), U+202F (NNBSP), U+00A0 (NBSP), U+FEFF (BOM), and U+E0000–U+E007F tags—with visible, color-coded badges. CleaningAIText opens directly in Unicode X-Ray Mode so you can inspect and remove them in one click.

How to Detect Invisible Characters in 3 Steps

1

Paste Suspicious or Copied Text

Paste any text into the Source Input pane, or click "Load Sample AI Text" to test with real hidden characters.

2

Inspect Color-Coded X-Ray Badges

The Unicode X-Ray pane immediately highlights [ZWSP] in red, [NBSP] in yellow, [U+202F] in purple, [RTL] in rose, and [HOMOGLYPH] in orange.

3

Hover for Codepoints & Remove

Hover any badge to view its exact U+XXXX codepoint and official Unicode name, then switch to Cleaned Output or click Copy Clean Text.

Before Cleaning (Raw AI Output)
Check​ this string for hidden‮ markers and аpp homoglyphs.
After Cleaning (Clean Plain Text)
Check this string for hidden markers and app homoglyphs.

Common Use Cases & Who Benefits Most

Debugging Broken Code & JSON

Quickly spot stray U+200B or U+FEFF characters that cause mysterious "unexpected token" errors in JavaScript, Python, or JSON.

Auditing AI Prompt Injections

Detect hidden Unicode Tag payloads (U+E0000–U+E007F) used in ASCII-smuggling attacks against LLM pipelines.

SEO & Keyword Matching Checks

Verify that invisible zero-width characters aren’t splitting brand names or target keywords in your web copy.

Domain & Username Spoofing Prevention

Spot Cyrillic and Greek homoglyphs alongside Bidi Right-to-Left Overrides (U+202E) before trusting pasted strings.

Inside Unicode X-Ray: How Invisible Characters Hide in Plain Sight

Modern Unicode supports over 149,000 characters, and dozens of them have zero visual width or appear identical to a standard space. While originally designed for complex scripts like Arabic, Devanagari, and emoji sequences, these invisible codepoints are frequently abused or accidentally introduced during copy-paste.

Our Invisible Character Detector iterates over every Unicode scalar value using JavaScript codePointAt()—ensuring even supplementary plane characters above U+FFFF (such as Unicode Tags U+E0000–U+E007F) are accurately identified without surrogate-pair bugs.

Each detected anomaly is rendered as an interactive badge in the Unicode X-Ray viewer. Hovering over a badge reveals its exact hexadecimal codepoint and official Unicode standard name, while the Live Stats Bar totals the exact number of hidden characters found.

Because the entire scanner runs client-side, you can safely inspect API keys, proprietary source code, or confidential emails without risking data exposure.

What Hidden Unicode Characters Does This Tool Detect & Remove?

Click any codepoint below to copy it for testing or documentation.

Codepoint Character Name Common Source Why Remove It
Zero Width Space (ZWSP) ChatGPT, web copy-paste, hidden watermarks Breaks keyword search, URLs, and code linting silently
Narrow No-Break Space (NNBSP) Claude AI, macOS typography, French punctuation Causes odd spacing and word-wrap bugs in Google Docs & CMS
Non-Breaking Space (NBSP) ChatGPT, HTML copy-paste, Notion, Word Prevents normal line wrapping and fails strict string matching
Zero Width Non-Joiner (ZWNJ) LLM tokenization artifacts & watermarked text Splits words invisibly in databases and SEO crawlers
Zero Width Joiner (ZWJ) Emoji sequences & invisible text signatures Joins adjacent glyphs or hides metadata between words
Byte Order Mark (BOM) File exports, UTF-8 streams, AI code blocks Breaks JSON parsers, CSV imports, and shell scripts
Em Dash (—) ChatGPT & Claude default prose punctuation Often flagged as an AI writing tell; replaced with hyphen (-)
Right-to-Left Override (RLO) Bidi spoofing & Trojan Source code attacks Visually reverses text order to disguise malicious strings
Unicode Tag Characters ASCII smuggling & hidden prompt injections Embeds invisible ASCII instructions inside normal-looking text
Cite / Link to This Tool: <a href="https://cleaningaitext.com/invisible-character-detector">Invisible Character Detector & Viewer — CleaningAIText</a>

Related AI Text & Unicode Tools

Frequently Asked Questions

What invisible characters can this detector find?

It detects U+200B (ZWSP), U+200C (ZWNJ), U+200D (ZWJ), U+200E/F, U+FEFF (BOM), U+00AD (Soft Hyphen), U+2060, U+180E, U+034F, U+00A0 (NBSP), U+202F, U+2000–200A, U+205F, U+3000, Bidi overrides (U+202A–202E, U+2066–2069), Unicode Tags (U+E0000–E007F), and Cyrillic/Greek homoglyphs.

What do the different badge colors mean in Unicode X-Ray?

Red badges indicate zero-width characters ([ZWSP], [BOM], [ZWNJ]); Yellow indicates special spaces ([NBSP]); Purple indicates Narrow No-Break Space ([U+202F]); Rose indicates Bidi overrides ([RTL]) and Unicode Tags ([TAG]); Orange indicates [HOMOGLYPH] lookalikes.

How does the ASCII-Smuggling Decoder work?

If your text contains characters in the U+E0000–U+E007F block, the decoder subtracts 0xE0000 to reveal the hidden ASCII characters and displays them in a warning banner.

Can I just inspect text without modifying dashes or Markdown?

Yes! On this page, dash normalization, quote normalization, and Markdown stripping are OFF by default so you can focus purely on invisible characters and homoglyphs.

Does this detector work on emoji sequences?

Emoji sequences often use U+200D (ZWJ) to combine glyphs. The X-Ray viewer will flag U+200D so you can see where joiners exist.

Why does my string length in JavaScript differ from what I see?

Invisible characters add to string.length even though they take up zero pixels on screen. Our stats bar shows both Hidden Chars Found and total Characters.

What is a Soft Hyphen (U+00AD)?

U+00AD is an invisible hyphenation hint that only appears if a word wraps at the end of a line. It often breaks word searches.

What is a Byte Order Mark (U+FEFF)?

U+FEFF is a zero-width marker sometimes prepended to UTF-8 files that can break JSON.parse(), CSV headers, or shell scripts.

Is my inspected text stored anywhere?

No. Nothing leaves your browser.

Can I download the cleaned version after inspecting?

Yes, click "Download .txt" or "Copy Clean Text" at any time.