Invisible characters from copied text and how they affect counts
Sometimes a count looks wrong: two words count as one, or the character count is higher than the visible text suggests. A common cause is characters you cannot see. They can end up in a text when you copy it from a document, a PDF or a web page. This article shows how WordCounter.Cloud treats the most important invisible characters. All results were checked with the counting rules the tool uses.
First: what gets lost when you paste
The editor in WordCounter.Cloud is a plain text field. Formatting such as bold text, fonts, colours or images is not pasted. Only the characters themselves arrive, including the invisible ones.
Characters that count as a space
WordCounter.Cloud separates words at white space. Besides the normal space, tab and line break, this includes several special spaces:
- Non-breaking space: looks like a normal space but prevents a line break, for example between a number and a unit. "10 km" with a non-breaking space counts as 2 words, as expected.
- Narrow non-breaking space and thin space: narrower spaces that are sometimes used in numbers or before units. They also separate words.
- Byte order mark (U+FEFF): an invisible character that sometimes appears at the very beginning of a text. The tool treats it as white space.
All of these characters count as one character each in "Characters" and are left out of "Characters (no spaces)", just like a normal space.
Characters that do not count as a space
Other invisible characters are not white space. They join words and count as characters:
| Character | Effect in WordCounter.Cloud |
|---|---|
| Zero-width space (U+200B) | Two words joined by it count as one word. It counts as 1 character, both with and without spaces. |
| Soft hyphen (U+00AD) | A hidden hyphenation point inside a word. It does not split the word, but it counts as 1 character. |
| Combining accents | An "é" can be stored as one character or as "e" plus an accent. In the second case it counts as 2 characters. |
Example: the word "Silbentrennung" with a hidden soft hyphen after "Silben" looks exactly like the word without it. WordCounter.Cloud counts 15 characters instead of 14.
Why this matters
- Character limits: if a platform has a strict limit, invisible characters can push you over it, or the platform may count them differently from the tool.
- Word counts: a zero-width space between two words makes them one word. In a long text with many such characters the count can be noticeably too low.
- Keyword density and unique words: "report" with a hidden character and "report" without it are two different words for the tool.
How to find invisible characters
WordCounter.Cloud does not highlight invisible characters. These steps help:
- Compare counts. Count the letters of a short word yourself and compare with the character count in the tool. If the tool shows more, there is something hidden.
- Check single words. Paste only a suspicious word or a short passage. If two visible words show as 1 word, they are probably joined by a zero-width character.
- Retype. Delete the suspicious spot and type it again. If the count changes, you have found the cause.
- Move the cursor. With the arrow keys you can sometimes notice that the cursor needs an extra key press at a certain spot. That is where a hidden character sits.
Try it
Paste a copied text into the WordCounter.Cloud editor and compare "Characters" with "Characters (no spaces)". The guide on characters with and without spaces explains the two values in detail, and the guide on character limits lists common platform limits.