Invisible Character Detector

Find zero-width spaces, BOMs, bidi controls and soft hyphens hiding in your text, see their line and column, then clean them out.

Findings

4 found

Zero-width

1

Bidi control

1

BOM

1

Soft hyphen

1

Braille blank

0

Character positions

PositionCode pointUnicode nameKind
2:15U+200BZERO WIDTH SPACEZero-width
3:13U+FEFFZERO WIDTH NO-BREAK SPACE (BOM)BOM
4:14U+00ADSOFT HYPHENSoft hyphen
5:14U+202ERIGHT-TO-LEFT OVERRIDEBidi control

Invisible characters are replaced by ⟨U+XXXX⟩ markers so you can see where they sit.

正常的一行文字
这一行中间有一个零宽空格:文⟨U+200B⟩本
这一行以 BOM 开头:⟨U+FEFF⟩hello
软连字符会被排版吃掉:co⟨U+00AD⟩operate
这一行有双向控制符:abc⟨U+202E⟩def

Cleaned result

Uncheck a kind to keep it, for example remove zero-width spaces but keep soft hyphens for typesetting.

正常的一行文字
这一行中间有一个零宽空格:文本
这一行以 BOM 开头:hello
软连字符会被排版吃掉:cooperate
这一行有双向控制符:abcdef

These characters are invisible but make two "identical" strings unequal: regex fails, deduplication misses, CSV gains an extra quote, and variable names in code stop matching.

Only the code points listed above are handled. No NFC / NFD normalisation is applied, because that changes glyph forms in some languages.

Comments

Sign in to join the discussion

No comments yet — be the first to say something