๐Ÿ•ต๏ธ
Text & Content100% Client-Side0 Bytes Uploaded

Invisible Character & Zero-Width Detector

Detect and sanitize hidden zero-width spaces (ZWSP), BOM markers, non-breaking spaces, and ghost Unicode characters.

๐Ÿ•ต๏ธ
Loading Invisible Character & Zero-Width Detector...
Ultra-low latency client-side execution

๐Ÿ•ต๏ธInvisible Character & Zero-Width Detector Documentation & Guide

Text & Content
The Invisible Character Detector reveals, counts, and strips zero-width spaces, UTF-8 BOM markers, non-breaking spaces, and hidden Unicode characters that cause mysterious code errors.

๐Ÿ“‹How to Use This Tool

  1. Paste Suspicious Text or Code: Paste text copied from websites, PDFs, or formatted documents into the inspection area.
  2. Click Scan & Clean: Perform regex scans across seven classes of zero-width and invisible Unicode points.
  3. Review Detection Report: Inspect total hidden characters found broken down by character name and hex codepoint.
  4. Copy Sanitized Code: Copy the thoroughly sanitized output text free of hidden ghost characters.

โš™๏ธTechnical & Algorithmic Details

โ€ข Zero-Width Code Points: Detects Zero-Width Space (U+200B), Non-Joiner (U+200C), Joiner (U+200D), and Zero-Width No-Break Space (U+FEFF).
โ€ข Byte Order Mark (BOM): Identifies U+FEFF headers at file starts which frequently break JSON parsers and PHP headers.
โ€ข Non-Breaking Spaces (U+00A0): Safely converts non-breaking web spaces into standard ASCII spaces (U+0020).

๐Ÿ’กPractical Use Cases & Best Practices

  • Fixing mysterious JavaScript "Unexpected token" errors caused by zero-width spaces copied from documentation.
  • Sanitizing source code copied from PDF tutorials or Google Docs before compilation.
  • Cleaning copy-pasted API keys, passwords, and tokens where trailing invisible characters cause auth failures.
100% Client-Side Privacy Guarantee:Your source code, proprietary snippets, and private keys remain 100% confidential in client RAM.
โœจ