Text & Content · UNICODE

Invisible Unicode & Zero-Width Character Inspector

Reveal hidden zero-width spaces (U+200B), UTF-8 Byte Order Marks (U+FEFF), non-breaking spaces (U+00A0), and bidirectional override characters—and copy spotless sanitized text in one click.

✓ 100% Browser-Local · Zero Upload Reviewed: 2026-11-26

Initializing local browser workspace...

Diagnose Invisible Character Bugs in Code, CSVs, and Copy-Pasted Text

Text copied from PDFs, Slack, Notion, Word docs, or LLM chats routinely smuggles invisible zero-width spaces and BOM markers that silently break JSON parsers, SQL queries, URL slugs, and environment variables. Inspecting code points locally catches invisible corruption immediately.

  • Pinpoints every hidden character with exact string index, U+XXXX hex code point, and official Unicode name
  • Detects ZWSP (U+200B), ZWNJ (U+200C), ZWJ (U+200D), BOM (U+FEFF), Soft Hyphen (U+00AD), and NBSP (U+00A0)
  • Flags dangerous Trojan Source bidirectional overrides (U+202E / RLO) hidden inside copied code
  • Normalizes non-breaking spaces to normal ASCII spaces while cleanly removing zero-width clutter
  • Built-in hidden-character sample to test and demonstrate detection immediately
  • 100% browser-local inspection keeping source code, legal drafts, and AI text private

Step-by-Step Guide

  1. Paste suspicious source code, URLs, JSON keys, or prose into the left Suspicious Input Text box.
  2. Check the status bar and badge list below the editor for every detected invisible Unicode code point and its character offset.
  3. Review the right Sanitized Output pane where zero-width characters are removed and NBSPs are converted to regular spaces.
  4. Click Copy Cleaned Text to paste clean, parser-safe text back into your editor or terminal.

Three Real-World Failures Caused by Invisible Unicode

UTF-8 BOM (U+FEFF) Breaking CSV Headers and JSON.parse

Excel exports UTF-8 CSV files with a leading invisible BOM byte sequence. Programmers often wonder why row['id'] is undefined when the actual key is '\uFEFFid'.

Non-Breaking Spaces (U+00A0) Crashing Shell Commands & Code

Copying bash or Nginx commands from web pages frequently injects U+00A0 instead of ASCII space U+0020, producing baffling 'command not found' errors.

Zero-Width Watermarks & Bidi Overrides (Trojan Source)

Right-to-Left Override (U+202E) can visually reorder source code in code reviews so malicious logic looks harmless (CVE-2021-42574). Scanning untrusted snippets catches it instantly.

Debugging, Security & Editorial Cleanup

  • Stripping invisible U+200B and U+00A0 artifacts copied from Google Docs, PDFs, or AI drafts before CMS publishing.
  • Debugging mysterious JSON, YAML, or SQL syntax errors where two seemingly identical strings fail equality checks.
  • Auditing external code snippets for hidden Trojan Source bidirectional control characters.

Frequently Asked Questions

What happens to non-breaking spaces (U+00A0) during sanitization?

Rather than deleting spaces between words and mashing words together, U+00A0 is safely normalized into a standard ASCII space (U+0020) while true zero-width characters are stripped.

Will this remove emoji or international accented characters like Chinese, Japanese, or German umlauts?

No. Only invisible formatting, zero-width control, BOM, soft hyphen, and bidirectional override characters are flagged and stripped; normal multilingual letters stay untouched.

Is my code or document sent to any server for scanning?

Never. Character-code scanning iterates strictly inside local browser memory.

Local Privacy Guarantee: Unicode code-point inspection and cleaning execute 100% locally inside your browser with zero server transmission.