Find and remove invisible characters
Paste text: every hidden character is listed by name.
What does it do to a real text?
A code copied from a message:
Before
Your OTP isNBSP4521ZWSP.⏎
Do not share it.U+2800
After
Your OTP is 4521.⏎
Do not share it.
Found 3 hidden characters: 2 removed and 1 made plain.
⏎ marks a line break, and a short name in a box a hidden character.
What the finder lists
| Code | Unicode name | Count | Line | What happens |
|---|---|---|---|---|
| U+00A0 | NO-BREAK SPACE | 1 | 1 | made a plain space |
| U+200B | ZERO WIDTH SPACE | 1 | 1 | removed |
| U+2800 | BRAILLE PATTERN BLANK | 1 | 2 | removed |
To a computer, 4521 with a zero width space after it is a different text from 4521, though the two look the same: a form that checks the code sees the difference.
What rules does it follow?
- Zero-width and format characters (U+200B, U+FEFF, U+2060, U+00AD, U+034F, U+180E, U+2061, U+2062, U+2063, U+2064): removed.
The other 7 rules
- Joiners (U+200C, U+200D): kept, unless Remove joiners too is on, and never touched inside an emoji.
- Direction marks (U+200E, U+200F, U+061C, U+202A, U+202B, U+202C, U+202D, U+202E, U+2066, U+2067, U+2068, U+2069): removed, unless you untick Remove direction marks.
- Spaces that are not the plain space (U+00A0, U+202F, U+2007, U+2009, U+200A, U+2002, U+2003, U+205F, U+3000, U+1680): made a plain space.
- Line and paragraph separators (U+2028, U+2029): made a line break.
- Blank letters (U+2800, U+3164, U+FFA0, U+115F, U+1160): removed.
- Control characters other than the tab and line breaks (U+0000 to U+001F, U+007F to U+009F): removed. Tag characters (U+E0001, U+E0020 to U+E007F) outside a flag emoji: removed.
- Each character is shown by its code and the name the Unicode names list gives it source; the list of invisible characters has each one with Unicode’s notes.
What do people ask?
Why does pasted text fail a search or a form?
A hidden character makes two texts that look the same different to a computer. Paste the text here: the table names every hidden character in it and the line it is on.
Why are joiners kept?
Emoji are built with them: 👩💻 is U+1F469, U+200D, U+1F4BB, and without the joiner it counts as 2 emoji, a woman and a computer. So joiners stay unless you tick Remove joiners too, and inside an emoji they stay even then.
Which characters does it look for?
All 41 in the list of invisible characters, and control and tag characters.