| Name | What it does | Where it comes from | Remove? | |
|---|---|---|---|---|
U+200B | Zero-width space | Marks a place a line may break | Web pages, PDFs, word processors | Usually yes |
U+FEFF | Byte-order mark | Marks the start of a file's text | Files saved by some Windows apps | Yes, inside text |
U+2060 | Word joiner | Stops a line break | Typesetting, some editors | Usually yes |
U+00AD | Soft hyphen | A hyphen that shows only where a word breaks | Word, InDesign, long web words | Yes, for plain text |
U+00A0 | No-break space | A space that keeps two words on one line | Web pages, French and Hebrew typing | Turn into a space if code breaks |
U+202F | Narrow no-break space | A thin space that holds together | Times like 10:00 AM in macOS and newer browsers, French | Turn into a space if code breaks |
U+200C | Zero-width non-joiner | Keeps two letters from joining | Persian, Hindi and other scripts, some emoji | No |
U+200D | Zero-width joiner | Joins emoji into one, like 👩💻 | Emoji, Indic scripts | No |
U+200E | Left-to-right mark | Tells punctuation which way to go | Hebrew and Arabic text, apps that add it | Only if you know the text is all one direction |
U+200F | Right-to-left mark | The same, for right-to-left | Hebrew and Arabic text | Same |
U+2066 | Left-to-right isolate (and U+2067–2069) | Keeps a phrase's direction separate | Bidirectional text, some chat apps | Same |
U+202E | Right-to-left override (and U+202A–202D) | Forces letters to show backwards | Rarely legitimate; used to disguise file names | Yes, unless you placed it |
U+FE0F | Variation selector 16 | Shows a character as a colour emoji | Emoji | No |
U+E0041 | Tag characters (U+E0000–E007F) | Invisible copies of letters | Flag emoji of regions; also used to hide text | Yes, except inside flag emoji |
U+2800 | Braille pattern blank | An empty Braille cell | Braille; also used for “blank” names | Keep in Braille, else yes |
U+3164 | Hangul filler | An empty Korean letter | Korean; also used for “blank” names | Keep in Korean, else yes |
The copy button puts that one character on your clipboard, so you can test an app or a script with it.
Why they cause trouble
- Code and data. A zero-width space inside a variable name, an email address or a password makes it a different string that looks the same.
- Searches. “invoice” with a soft hyphen doesn't match “invoice”.
- Times from macOS. Since a 2022 change in the shared Unicode library, many systems put U+202F before AM and PM. Code that splits on a normal space then fails, and the same character appears in some screenshot file names.
- Hidden instructions. Tag characters copy each ASCII letter invisibly. Researchers have used them to hide instructions for AI models, and Microsoft has reported them splitting words in spam to get past filters. An app that shows only what you see can't warn you.
Which ones to keep
Keep joiners and variation selectors inside emoji, joiners in Persian and Indic scripts, and direction marks in Hebrew and Arabic. Removing them breaks the text quietly: a family emoji falls apart into four faces, a Hebrew sentence's full stop jumps to the other side.
How to see them
- In a browser: paste into our text cleaner. It names each one with its number and removes only the ones that cause trouble.
- In VS Code: it highlights invisible characters by default; hover to see the name.
- In Terminal:
pbpaste | perl -CSD -pe 's/([^\x00-\x7F])/sprintf("<U+%04X>", ord $1)/ge'prints every non-ASCII character as its number.
What can go wrong
- “Remove all invisible characters” tools that strip joiners break emoji and some languages.
- Normalising text (NFC, NFKC) doesn't remove tag characters or zero-width spaces.
- A no-break space can be on purpose, like in “10 kg” or before “?” in French.
Questions
How do I type a zero-width space on a Mac?
There's no key for it. Copy it with the button above, or use Edit → Emoji & Symbols and search “zero width”.
Are invisible characters a sign of AI-written text?
No. They come from many sources: web pages, word processors, PDFs, keyboards. Their presence proves nothing about who wrote the text.
Will removing them change how text looks?
Not for zero-width spaces, byte-order marks and soft hyphens in plain text. Removing joiners, variation selectors or direction marks can change emoji and Hebrew or Arabic text.