Invisible Character Detector

Find and strip zero-width, non-breaking and control characters.

The Invisible Characters tool finds zero-width spaces, non-breaking spaces, byte order marks, control characters and similar hidden characters in text. It lists each one with its code point, name, line and column, highlights them in a preview, and can remove them. It helps explain why text that looks right fails comparisons or breaks code.

What are invisible characters?

Unicode includes many characters that take no visible space or look like an ordinary space. Examples are the zero width space (U+200B), zero width joiner (U+200D), the byte order mark (U+FEFF), the non-breaking space (U+00A0), soft hyphen, and text direction controls such as the right-to-left override (U+202E). They often arrive by copying from web pages, word processors and chat apps. They cause real problems: a string with a hidden character does not equal the visible one, a JSON key or a password may not match, a config value may fail to parse, and direction controls can make source code or file names look different from what they are. Some have legitimate uses, such as joining emoji or controlling hyphenation, so removing every one is not always right.

How to use Invisible Character Detector

  1. Paste the text Put the suspicious text in the Text box.
  2. Read the verdict A message says how many invisible or unusual characters were found, or that none were found.
  3. Inspect Use the Highlighted preview and the table of Code point, Name, Line and Column.
  4. Clean Press Clean (remove invisible characters). The text box is replaced with the cleaned text.

Frequently asked questions

Does it detect look-alike letters such as Cyrillic a?

No. It reports invisible and unusual whitespace or control characters, not homoglyphs.

Why does Clean change the non-breaking space to a normal space?

Removing it would join the words on either side, so space-like characters are turned into an ordinary space.

Is a byte order mark a problem?

At the start of a text file it can be harmless, but inside a string or at the start of a JSON or script it can break parsing. The tool reports U+FEFF wherever it appears.

Does the highlight change my text?

No, the preview is only a display. The text changes only when you press the Clean button.

Is the text sent anywhere?

No. It is analysed in the page and stays on your device.