All tools Developer

Invisible Character Detector

Find zero-width spaces, non-breaking spaces and hidden bidirectional control characters in text.

Runs in your browser. Nothing you open or type here is uploaded.

How to use

  1. Paste the text to check into the input field.
  2. Read the findings list and the visualization to see which invisible characters are present and where.
  3. Use Remove all to strip them, then copy the cleaned text.

Details

Some Unicode characters take up no visible space but still change how text behaves. This tool scans for zero-width spaces, joiners and non-joiners, the word joiner, no-break spaces, soft hyphens, the byte-order mark and bidirectional control characters, and lists each one with its position. The visualization makes them visible in place. The cleaned output removes them all, which fixes the usual symptoms: string matches that fail for no visible reason, code or passwords that change when pasted, and text whose reading order has been altered by bidi controls.

  • Text copied from web pages and PDFs often carries no-break spaces and zero-width spaces. Scan before pasting into code, a terminal or a password field.
  • A byte-order mark at the start of a file (U+FEFF) can break parsers that expect the first character to be content.

Common questions

Which characters does it detect?

Zero-width space (U+200B), zero-width non-joiner (U+200C), zero-width joiner (U+200D), word joiner (U+2060), no-break space (U+00A0), soft hyphen (U+00AD), byte-order mark (U+FEFF) and bidirectional controls (U+200E, U+200F, U+202A–U+202E, U+2066–U+2069).

Why should I care about invisible characters?

They break string matching, cause copy-paste glitches, silently alter code and passwords, and bidi controls can even be used to disguise malicious code or text.

Does my text leave my browser?

No. The scan, visualization and removal all run locally in your browser. Nothing is sent anywhere.