Invisible Unicode characters: how to inspect hidden text
A string can look empty or ordinary while still containing characters that affect matching, line breaks, identifiers, or display.
By Shadorux · Unicode guide · Reference
Fastest check:Paste suspicious text into Unicode Inspector and inspect the input character by character.
Why invisible characters are difficult
Some Unicode characters have no visible glyph in the font or context where you see them. Others influence how nearby characters join, how text is ordered, or where a line breaks. A normal-looking copy can therefore behave differently in search, code, filenames, usernames, or comparisons.
Common investigation clues
- A search or equality check fails even though two strings look identical.
- A copied username or URL contains an unexpected gap or cannot be found.
- A text editor reports a different character count than you expect.
- Text contains a box, replacement glyph, or a character that changes on another device.
Inspect the data, not the blank space
Record the individual character, its Unicode code point, hexadecimal form, and block. Do not assume every invisible character is malicious; some are meaningful in writing systems and text processing.
Use Unicode Inspector
Unicode Inspector separates pasted input into characters and reports code points, Unicode blocks, and closed or unsupported symbols. Its project page explains the rest of the tool's behavior.