What counts as an “invisible character”?

Unicode has a few hundred characters that take up no visible space or look exactly like a normal space. They exist for real reasons, such as controlling line breaks in Thai, joining emoji, or marking text direction in Arabic and Hebrew. Outside those jobs they are just noise. The ones we see most often in pasted text:

CharacterCodeWhat it doesTypical symptom
Zero-width spaceU+200BAllows a line break with no visible gapSearch can't find a word, a username "doesn't exist", a spreadsheet lookup fails
Zero-width joiner / non-joinerU+200D / U+200CGlues or separates characters in emoji and some scriptsWord counts are off, cursor "sticks" for one keypress
Word joinerU+2060Forbids a line breakOdd wrapping in emails and CMS editors
Byte order markU+FEFFFile encoding marker that leaked into textFirst column header in a CSV doesn't match, scripts fail on line 1
Soft hyphenU+00ADOptional hyphenation pointHyphens appear in the middle of words after pasting from PDFs
Left/right-to-left marks and overridesU+200E, U+200F, U+202A–U+202E, U+2066–U+2069Control text directionPunctuation jumps to the wrong end of a line; in code, text can display differently from how it runs
No-break and narrow no-break spaceU+00A0, U+202FA space that refuses to wrapTimes like "9:00 am" and numbers don't match searches or validation
Tag characters and variation selectorsU+E0000–U+E007F, U+FE00–U+FE0EMetadata for flags and glyph variantsText looks short but is far longer in bytes, can carry hidden content

Which hidden characters did we test?

We pasted the characters below into this site's own cleaner with invisible-character and unusual-space options selected. Its findings panel reported each code point. The cleaned output removes the invisible characters and changes the two no-break spaces to ordinary spaces. Emoji joiners between pictographs are intentionally kept, so this list is not a promise to remove every joiner in every context.

InputUnicode nameTool result
U+200BZero width spaceRemoved
U+200CZero width non-joinerRemoved
U+2060Word joinerRemoved
U+00ADSoft hyphenRemoved
U+200E / U+200FDirection marksRemoved
U+00A0 / U+202FNo-break spacesChanged to regular spaces

Character names and code points: Unicode Character Database, checked October 18, 2026. Tool behavior checked locally on the same date.

Why does AI-generated text have hidden characters?

There is no single cause, and it is worth being careful with claims you may have read online. In practice the most common sources are ordinary: chat interfaces render answers as formatted text, and copying from a browser brings across no-break spaces, narrow no-break spaces (often around times and units), and sometimes zero-width spaces used for line wrapping. PDFs add soft hyphens. Word processors add byte order marks and direction marks. Whatever the source, the fix is the same: find them and remove them before the text goes somewhere strict, like code, a spreadsheet, a form or a CMS.

How to check text for hidden characters without a tool

  • Count with your cursor. Put the cursor before a word and press the right arrow. If it takes two presses to move past one letter, a zero-width character is there.
  • Compare lengths. In a spreadsheet, =LEN(A1) returning more than the letters you can see means something invisible is in the cell.
  • Use a code editor. VS Code highlights many invisible and ambiguous Unicode characters with a box by default.

These work for one or two lines. For anything longer, pasting into the tool above is faster and shows the exact Unicode name of each character.

Will removing them break anything?

For English and most European-language text, no. Two exceptions are handled for you: zero-width joiners between emoji are kept so 👨‍👩‍👧 stays one emoji, and line breaks are preserved. If you work with Arabic, Hebrew, Persian, Hindi or other scripts that rely on joiners or direction marks, untick “Invisible characters” and use only “Unusual spaces”.

Ready to clean your text?

Use the cleaner on this page or return to the full tool.

Open the text cleaner ↗