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, Hangul, and emoji sequences, these invisible codepoints are frequently abused or accidentally introduced when copying from ChatGPT, Claude, Gemini, Perplexity, or PDFs.

Our Invisible Character Detector iterates over every Unicode scalar value using full-codepoint iteration (codePointAt(0))—ensuring even supplementary plane characters above U+FFFF (such as Unicode Tags U+E0000–U+E007F and Variation Selectors U+E0100–U+E01EF) are accurately identified without UTF-16 surrogate-pair bugs. It also detects invisible math operators (U+2061–U+2064), Braille Pattern Blank (U+2800), and Hangul Fillers (U+3164, U+FFA0) often used to bypass character-count or moderation checks.

In real-world workflows, invisible characters cause silent failures across nearly every stack: JSON.parse() throws unexpected token errors on U+FEFF, Git diffs show phantom changes on U+200B, ATS resume parsers miss keywords split by U+200C, and LLM pipelines fall victim to ASCII-smuggling prompt injections hidden inside U+E0000–U+E007F tag sequences.

Each detected anomaly is rendered as a keyboard-accessible, interactive badge in the Unicode X-Ray viewer. Hovering or focusing any badge reveals its exact hexadecimal codepoint and official Unicode standard name, while the Live Stats Bar totals the exact number of hidden characters found—and smartly ignores legitimate Emoji ZWJ sequences (👨‍👩‍👧‍👦) and RTL script marks.

Because the entire scanner runs client-side in your browser, you can safely audit API keys, proprietary source code, untrusted prompts, or confidential emails offline with zero risk of 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+2064, U+180E, U+034F, U+2800, U+3164, U+00A0 (NBSP), U+202F, U+2000–200A, U+205F, U+3000, Bidi overrides (U+202A–202E, U+2066–2069), Variation Selectors, Unicode Tags (U+E0000–E007F), and mixed-script homoglyphs.

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

Red badges indicate zero-width/variation characters ([ZWSP], [BOM], [ZWNJ], [VS]); Yellow indicates special spaces ([NBSP], [BRL]); Purple indicates Narrow No-Break Space ([U+202F]); Rose indicates Bidi overrides ([RTL]) and Unicode Tags ([TAG]); Orange indicates mixed-script [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 break combined emojis like 👨‍👩‍👧‍👦?

No. Our engine recognizes Emoji ZWJ and U+FE0F contexts and preserves legitimate multi-glyph emojis intact.

Will it flag legitimate Russian, Greek, or Arabic text?

No. Homoglyph detection only flags mixed-script tokens containing Latin letters alongside Cyrillic/Greek lookalikes, and RTL marks adjacent to Arabic/Hebrew scripts are preserved.

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 navigate X-Ray badges with a keyboard?

Yes. Every X-Ray badge supports keyboard Tab focus to display its codepoint tooltip.