Characters with and without spaces explained
Many counters show two character counts: with spaces and without spaces. This guide explains exactly how WordCounter.Cloud counts, so you know which number to use.
How WordCounter.Cloud counts
- Characters (with spaces): every character in your text, including spaces, tabs and line breaks.
- Characters without spaces: the same count after removing all whitespace, that is spaces, tabs and line breaks.
- Words: everything separated by whitespace. "don't", "e-mail" or "2026" each count as one word. A dash standing alone between spaces also counts as a word.
Examples
| Text | Words | Characters with spaces | Characters without spaces |
|---|---|---|---|
Hello world! | 2 | 12 | 11 |
don't stop | 2 | 10 | 9 |
Wait – what? | 3 | 12 | 10 |
Two lines: Line one / Line two | 4 | 17 (the line break counts) | 14 |
Results as counted by WordCounter.Cloud on 14 November 2026.
Emoji and special characters
WordCounter.Cloud runs in your browser and uses the browser's own string length. Browsers measure text in UTF-16 code units, so some characters, for example many emoji, count as 2 characters (source: MDN Web Docs: String length). Platforms can count differently. X, for example, weights some characters, such as emoji and links, differently (source: X Developer Platform: Counting characters).
Which number should I use?
- If a requirement says "characters without spaces", use the count without spaces.
- If it only says "characters", it usually does not exclude spaces. To be safe, use the count with spaces. The character limits of popular platforms are also stated in characters without exceptions for spaces.
- If a requirement names a specific program, check the count there as well. Word processors such as Microsoft Word count characters too (source: Microsoft Support: Show word count), and their rules can differ slightly from ours.
How to check your text
Paste your text on the WordCounter.Cloud start page. You see characters with and without spaces, words, sentences and paragraphs at the same time. Your text is processed locally in your browser.