Free Zero-Width & Invisible Character Detector
Find and remove hidden zero-width spaces (ZWSP), non-breaking spaces (NBSP), and invisible Unicode characters from text.
About This Tool
The Zero-Width & Invisible Character Detector reveals hidden characters that often cause syntax errors in code, broken database queries, or unexpected string comparison bugs. It detects Zero-Width Spaces (U+200B), Zero-Width Joiners (U+200D), Byte Order Marks (U+FEFF), Soft Hyphens (U+00AD), and Non-Breaking Spaces (U+00A0).
How to Use This Tool
- Paste your text, code snippet, or database string.
- Review the highlighted badges indicating exact positions of hidden characters.
- Inspect the character count breakdown table.
- Click 'Remove All Invisible Characters' to copy a cleaned version.
Why Use This Tool
- Fix mystery code syntax errors caused by copied zero-width characters.
- Sanitize copy-pasted text from PDFs, formatted documents, and LLMs.
- Audit string tokens and credentials for hidden trailing whitespace.
- 100% private in-browser detection.
Frequently Asked Questions
What are Zero-Width Spaces (ZWSP)?
A Zero-Width Space (Unicode U+200B) is an invisible character used in typesetting to indicate word boundaries without rendering a visible space.
Why do invisible characters break code?
Compilers, JSON parsers, and regex engines treat invisible Unicode control characters as invalid syntax tokens, causing errors that are impossible to spot visually.
Related Tools
SSL / X.509 Certificate Inspector
Inspect and decode PEM / CRT SSL certificates to view Common Name, Issuer, SANs, and Expiry.
CRC32 Checksum Calculator
Compute standard 32-bit CRC32 checksums (IEEE 802.3) in Hexadecimal, Decimal, and Binary.
FAQ Page JSON-LD Schema Generator
Build interactive FAQPage JSON-LD structured data for Google Search rich snippets.