Inspect Unicode · browser-local
Invisible Character Detector
Reveal hidden formatting code points that can affect matching, moderation, display order, or copy-and-paste behavior. Four groups are checked: zero-width characters, other invisible formatting characters, bidirectional controls, and the byte order mark. Use the zero-width filter (or ?filter=zero-width) for a focused audit of zero-width spaces and joiners only. Detection stays separate from removal so meaningful joiners are not deleted without review.
Works on up to 5,000 characters and 20,000 code points per field (at most 64 code points per character), processed in your browser.
Output
U+200BZero width space · offset 7Zero-width · Invisible
Safer version
First applies Unicode NFC normalization (for example, e + combining acute becomes the single character é), then removes bidi controls and the invisible set below, including stray tag characters and variation selectors (well-formed emoji flags, emoji presentation selectors and ideographic variation selectors after Han characters are kept). Joiners (ZWJ/ZWNJ) and special spaces are kept, because they can be meaningful, and U+2028/U+2029 become ordinary line breaks. It does not apply NFKC, so characters such as ① stay as they are. Review before you replace your source.
visiblehidden
Which characters are checked?
Zero-width: U+200B, U+200C, U+200D, U+2060, U+FEFF.
Invisible / filler: U+00AD, U+034F, U+115F, U+1160, U+17B4, U+17B5, U+180E, U+200B, U+2060, U+2061, U+2062, U+2063, U+2064, U+2800, U+3164, U+FEFF, U+FFA0; plus U+E0000–U+E007F (tag characters, unless they form an emoji tag sequence such as a subdivision flag); U+FE00–U+FE0F (variation selectors 1–16, unless they follow an emoji-capable base); U+E0100–U+E01EF (variation selectors 17–256, unless they follow an emoji-capable base).
Bidi controls: U+061C, U+200E, U+200F, U+202A, U+202B, U+202C, U+202D, U+202E, U+2066, U+2067, U+2068, U+2069.
Special spaces and line separators: U+00A0, U+1680, U+2000, U+2001, U+2002, U+2003, U+2004, U+2005, U+2006, U+2007, U+2008, U+2009, U+200A, U+202F, U+205F, U+3000, U+2028, U+2029.
Other format characters (Unicode category Cf) are not all covered; open the Unicode Character Inspector for a full code-point listing.
Good fit
Use this tool when
- A username or code looks normal but validation fails.
- Search, deduplication, or moderation behaves unexpectedly.
- You suspect zero-width or bidi manipulation.
Keep the original
Avoid it when
- You intend to delete every joiner automatically.
- You need a guarantee that all spoofing techniques are covered.
- The text uses scripts where joiners carry linguistic meaning.
Reviewed truth vectors
Examples that expose the edge cases
a[ZWSP]bU+200B at offset 1Zero-width space is hidden between letters.
visible[ZWSP]hiddenU+200B at offset 7With the zero-width filter on, only zero-width and invisible marks are listed.
abc[RLO]defU+202E · Bidi controlRight-to-left override is high risk.
Transparent implementation
How it works
- 01
Inspect each code point and its UTF-16 offset.
- 02
Match reviewed zero-width, invisible, bidi-control, and byte-order-mark sets, plus the Braille blank, Unicode line and paragraph separators, tag characters and variation selectors. Each one is judged where it stands: tags are expected only in a well-formed emoji flag sequence, and a variation selector only directly after a character that takes it (an emoji for U+FE0E/U+FE0F, a Han ideograph for U+E0100–U+E01EF). A repeated selector or one after a plain letter or digit is flagged.
- 03
Label the type and build a cleaned copy separately: it applies NFC normalization, then removes bidi controls, the suspicious invisible set, and stray tag characters and variation selectors.
Known limitations
What the result cannot promise
Some legitimate shaping characters are visually hidden.
The V1 set is high-signal, not every Unicode format character.
Removal can alter emoji sequences and language shaping.
Questions before copying
Frequently asked questions
Are all zero-width characters bad?
No. Joiners and non-joiners can be meaningful in languages and emoji sequences.
What does the offset mean?
It is the JavaScript UTF-16 code-unit offset, useful for locating the exact position in the source string.
Can GlyphSift remove them safely?
It offers a cleaned copy that removes high-risk controls and applies NFC normalization, so composed accents may change form. Review joiners before removal.
Are zero-width joiners always bad?
No. Joiners are essential in emoji sequences and some scripts. The zero-width filter lists them so you can decide case by case.
Does it catch tag characters and variation selectors?
Yes. Tag characters (U+E0000–U+E007F) can carry an invisible copy of ASCII text, and variation selectors (U+FE00–U+FE0F, U+E0100–U+E01EF) can be stacked after ordinary letters. Each is checked in position: tag characters pass only inside a well-formed subdivision flag such as the England flag, and a selector passes only directly after a character that takes it — the emoji presentation selector in ❤️, or an ideographic variation selector after a Han character such as 葛. A doubled selector, a selector after a plain letter or digit, or a malformed flag is flagged, and the detector shows which hidden letter a tag character spells.
Testing and sources
How this tool is tested
Automated evidence
- Tool-contract & coverage suiteShared suite · 37 cases across all tools it covers
tests/tools-30.test.mjs mirrors the ToolRunner dispatch and asserts every registered engineId returns the contracted output shape, plus a coverage guard: every style keeps one output character per input character with unmapped characters passed through in place, and strikethrough, zalgo and upside-down never drop or split a grapheme cluster.
Run in: node --test after a production build (vinext build) - Rendered-HTML suiteShared suite · 26 cases across all tools it covers
tests/rendered-html.test.mjs renders the deployed server bundle and asserts the Unicode-version manifest and each wave's tool markup are present in the server-rendered HTML.
Run in: node --test against the built dist/server bundle - Unicode inspection suiteShared suite · 21 cases across all tools it covers
tests/unicode-inspection.test.mjs verifies grapheme/code-point/byte counting and hidden-control detection using explicit \u escapes for combining and bidirectional characters.
Run in: node --test against the runtime's Unicode data - Compatibility risk suiteShared suite · 13 cases across all tools it covers
tests/compatibility.test.mjs checks that bidirectional controls, invisible characters, mixed scripts, and NFKC-changing input raise the documented risk status, and that safe-text stripping preserves ordinary content.
Run in: node --test, deterministic analyzer
Standards this tool follows
- UTS #39: Unicode Security Mechanisms
Confusable and mixed-script detection methodology.
- UAX #9: Unicode Bidirectional Algorithm
Bidirectional control characters flagged during inspection.
- UAX #15: Unicode Normalization Forms
NFC/NFKC normalization comparisons.
- RFC 3629: UTF-8
Byte-length counting for the UTF-8 encoding.