Invisible Character Checker: How to Find and Handle Hidden Characters in Text
Learn what an invisible character checker does, which hidden Unicode characters it finds, and how to detect, clean and verify text without breaking meaningful content.
Text copied from web pages, chat apps, PDFs or word processors can carry characters that take up no visible space or look exactly like an ordinary space. These hidden characters can break a password match, a search, a spreadsheet formula, a data import or a line of code, even though the text looks normal. An invisible character checker makes them visible so you can decide what to keep, replace or remove.
What an invisible character checker does
The input is plain text: anything you paste or load into the tool. The checker examines the text one character at a time. In Unicode, every character has a code point, a unique number written as U+ followed by hexadecimal digits, such as U+200B. The checker flags code points that do not print a visible glyph or that look like whitespace but are not the ordinary space (U+0020).
The output is usually a marked-up view of the same text where each hidden character is highlighted or replaced by a label showing its code point and name, sometimes with its position and a total count. Some tools also offer removal or replacement, but inspection alone should not change your text. A checker reports what is present; it cannot know whether a character was placed there on purpose. That decision stays with you.
Hidden characters a checker typically looks for
| Code point | Name | Common source | Can it be meaningful? |
| U+200B | Zero width space | Web pages, content management systems, copied social media text | Sometimes marks allowed line breaks, for example in languages written without spaces |
| U+200C | Zero width non-joiner | Persian and several Indic scripts | Yes, it changes how neighboring letters join |
| U+200D | Zero width joiner | Emoji sequences, several Indic scripts | Yes, it combines emoji such as family or profession emoji into one symbol |
| U+2060 | Word joiner | Word processors and typesetting | Prevents a line break; rarely needed in data |
| U+FEFF | Byte order mark / zero width no-break space | Start of files saved with a byte order mark | At the very start of a file it can signal encoding; elsewhere it is usually unwanted |
| U+00A0 | No-break space | HTML non-breaking spaces, word processors | Yes in typography, where it keeps a number and its unit together; it breaks exact matching |
| U+00AD | Soft hyphen | Word processors, hyphenated web text | Marks an optional hyphenation point |
| U+200E, U+200F | Left-to-right mark, right-to-left mark | Mixed Arabic, Hebrew and Latin text | Yes, they control the display order of mixed-direction text |
| U+202A–U+202E, U+2066–U+2069 | Bidirectional embedding, override and isolate controls | Mixed-direction text | Legitimate in some multilingual text; suspicious in source code, where they can make code display differently from how it runs |
| U+FE00–U+FE0F | Variation selectors | Emoji and some symbols | Yes, U+FE0F, for example, requests emoji-style display of the preceding character |
| U+E0000–U+E007F | Tag characters | Certain flag emoji sequences | Yes within those emoji sequences |
Depending on the tool, you may also see ordinary whitespace and control characters flagged, such as tab (U+0009), carriage return (U+000D) and line feed (U+000A), or other space characters such as the em space (U+2003) and ideographic space (U+3000). These are often expected, but a stray carriage return or tab is a common cause of failed comparisons.
Example: what a hidden character looks like once revealed
The following is an illustrative example, not output from a specific tool. It uses escape notation (\u followed by the code point) because the real characters cannot be seen on the page.
What you see: hello world
Actual content: hello\u00A0world\u200B
Checker-style view: hello[U+00A0 NO-BREAK SPACE]world[U+200B ZERO WIDTH SPACE]
Here the text looks like two words and a normal space, but it contains a no-break space between the words and a zero width space at the end. A search for "hello world" typed with an ordinary space would not match it exactly. Different tools format their labels differently; the bracketed style above only shows the idea.
How to detect invisible characters step by step
- 1. Copy the exact text from where the problem occurs. Avoid passing it through an editor or messaging app first, since some of them change whitespace or strip characters.
- 2. Paste or load the text into the checker. If the tool has options, include whitespace-like characters as well as zero-width ones so nothing is filtered out.
- 3. Read the flagged results. Note each character's code point, name and position.
- 4. Decide what each one is doing, using the table above. Emoji joiners, variation selectors, script-specific joiners and direction marks are often intentional; zero width spaces, word joiners and a mid-text byte order mark usually are not.
- 5. Apply targeted changes. For example, replace a no-break space with an ordinary space where exact matching matters, and remove a zero width space. Prefer specific replacements over a blanket "remove all invisible characters" action, which can break emoji and some languages.
- 6. Verify the result using the checks in the next section.
Verifying the cleaned text
- Run the cleaned text through the checker again and confirm only the characters you chose to keep remain.
- Compare character counts before and after. The difference should equal the number of characters you removed. Note that counts can differ between tools, because some count UTF-16 units while others count code points, so an emoji may count as more than one.
- Check that emoji still display as single combined symbols and that text in scripts such as Persian, Arabic or Hindi still renders correctly.
- Repeat the original task that failed, such as the search, login, formula or import, to confirm the hidden character was actually the cause.
Checking text with a regular expression or a short script
If you prefer not to paste text into a tool, many editors and programming languages can search for these characters directly. A regular expression is a search pattern; the one below matches the zero-width, direction-control and space-like characters listed earlier. Escape syntax varies: some engines use \u200B, while others use \x{200B}. Treat this as an example pattern to adapt, not a verified universal one.
[\u00A0\u00AD\u200B-\u200F\u202A-\u202E\u2060\u2066-\u2069\uFEFF]
The following Python example lists every format character (Unicode category Cf), unusual space and control character with its position, code point and name. It is an illustrative example; run it on your own text to see actual results.
import unicodedata
text = "hello\u00A0world\u200B"
for i, ch in enumerate(text):
if ch in (" ", "\n"):
continue
if unicodedata.category(ch) in ("Cf", "Zs", "Cc"):
print(i, f"U+{ord(ch):04X}", unicodedata.name(ch, "<no name>"))
Control characters such as tab have no Unicode name in Python's database, which is why the script supplies a fallback label.
What this guide does not cover
No specific checker tools were evaluated for this guide, so it does not compare products, accuracy or supported character lists. Before relying on a tool, check its documentation for which characters it flags and whether it processes text in your browser or sends it to a server. Avoid pasting passwords, keys or other sensitive text into an online tool unless you know how that text is handled; the script approach above keeps the text on your own machine.