Character Count Online: What It Means and How to Count It Right
What a character count is, whether spaces count, how many characters fit in an SMS or a post, and how to count characters in Word, Google Docs and Sheets.
The short answer: a character count is the number of individual characters in a piece of text — letters, digits, punctuation, symbols and, on nearly every platform, spaces. Paste your text into the character counter and the figure appears instantly. The complication is that “character” means four different things depending on who is asking, and mixing them up is what breaks form validation, SMS budgets and database inserts.
Character count vs word count
They measure the same text with different rulers. “Hello, world!” is two words and thirteen characters.
Characters are what you need wherever a field has a hard cap: a post, an SMS, a meta tag, a database column. Words are what you need wherever work is delivered: an essay, an article, a translation. If the brief is stated in words or pages, the word counter is the better tool — it adds sentences, reading time and a words-to-pages table.
Do spaces count as characters?
On virtually every platform, yes. X, Instagram, LinkedIn, SMS and HTML maxlength all treat a space exactly like a letter.
The exception is paid writing work, where a brief may specify characters without spaces. On English prose the difference is about 15–18% — “The quick brown fox jumps over the lazy dog.” is 44 characters with spaces and 36 without. On a 20,000-character commission that gap is roughly 3,000 characters of work, so it is worth settling before you start rather than at delivery.
Character limits worth knowing
| Where | Characters | Worth knowing |
|---|---|---|
| SMS, GSM-7 alphabet | 160 | then 153 per segment |
| SMS, emoji or non-Latin | 70 | then 67 per segment |
| X (Twitter) post | 280 | every link counts as exactly 23 |
| X bio | 160 | line breaks count too |
| Instagram caption | 2200 | only ~125 show before “more” |
| Instagram bio | 150 | the tightest field most people hit |
| LinkedIn post | 3000 | company page updates: 700 |
| Telegram message | 4096 | longer text splits automatically |
| Telegram media caption | 1024 | 2048 with Premium |
| YouTube title | 100 | search truncates around 60 |
| Meta title | ≈60 | Google measures pixels, not characters |
| Meta description | ≈160 | truncated by snippet width |
| Google Ads headline | 30 | description lines: 90 |
Notice the gap between the limit and the visible part. An Instagram caption allows 2,200 characters but shows about 125 before “more”; a YouTube description allows 5,000 and shows about 157. The limit tells you what fits, the visible part tells you what gets read, and the first sentence has to carry the post either way.
The two meta-tag rows are the ones most often stated wrongly as hard limits. Google truncates a title by the rendered width of the snippet in pixels, so a title in wide capitals gets cut sooner than a narrow one at the same character count. Treat 60 and 160 as the lengths that reliably survive, not as caps. The meta tag generator shows the result as an actual snippet.
How many characters fit in one SMS?
160 — if the text stays inside GSM-7, a fixed 128-character table of Latin letters, digits, basic punctuation and a handful of European accents like é, ä and ñ.
Step outside it with an emoji, a curly quote, an em dash, or any Cyrillic or CJK character, and the carrier re-encodes the whole message as two-byte UCS-2, where a single message holds 70. Longer text is split into segments of 153 (GSM-7) or 67 (UCS-2), because the concatenation header takes space in every segment, and you are billed per segment.
The effect is worse than halving. A 139-character English message is one segment. The same message with a smiley on the end is three. The quieter version of the same trap is Word’s autocorrect: the em dash and curly quotes it substitutes are not in GSM-7, while the hyphen and straight quotes it replaced were. The worked examples on the tool page show both cases with real segment counts.
Four different answers to “how many characters is this”
| Text | Characters | Visible | UTF-16 | UTF-8 bytes |
|---|---|---|---|---|
| hello | 5 | 5 | 5 | 5 |
| café | 4 | 4 | 4 | 5 |
| 🙂 | 1 | 1 | 2 | 4 |
| 👨👩👧 | 5 | 1 | 8 | 18 |
| 日本語 | 3 | 3 | 3 | 9 |
Characters are Unicode code points — the figure platforms and input fields use. Visible is what a reader counts: the family emoji is three people joined by two invisible zero-width joiners, one thing on screen. UTF-16 is what String.length returns in JavaScript and what SQL Server’s LEN() measures, which is why naive truncation can slice an emoji in half and leave a replacement glyph. UTF-8 bytes is storage.
That last column causes the most backend bugs. Byte-limited columns and APIs are common, and in UTF-8 a Latin letter is 1 byte, an accented or Cyrillic letter is 2, a CJK character 3, most emoji 4. So 日本語 is 3 characters but 9 bytes, and it will not fit a byte-limited varchar(6) even though the character count says there is room. The full table is on the tool page.
Counting characters in Word, Docs and Sheets
Microsoft Word. Review → Word Count, or click the word count in the status bar. The dialog gives both figures, with and without spaces. “Include textboxes, footnotes and endnotes” is off by default, and that single checkbox explains most disagreements between Word and an online counter. Select a passage first to count only the selection.
Google Docs. Tools → Word count, or Ctrl+Shift+C, and tick “Display word count while typing” to keep it in the corner.
Sheets and Excel. =LEN(A1) for length, =LEN(SUBSTITUTE(A1," ","")) for characters without spaces, =SUMPRODUCT(LEN(A1:A100)) to total a column. Note that LEN counts UTF-16 units, so an emoji counts as two.
Command line. wc -m counts characters, wc -c counts bytes. They agree on an ASCII file and nowhere else — that difference is the bytes column above.
Why two counters disagree
Trailing whitespace. Some tools silently trim a trailing space or final newline before counting; others do not. This is the usual source of a one- or two-character difference.
Line endings. Windows ends a line with two characters (CR + LF), Unix with one. The same file genuinely has different character counts on different systems.
Emoji. Counted as code points by some tools, as visible characters by others — a difference of four on a single family emoji.
“Without spaces” is defined differently. Here it means without all whitespace: spaces, tabs and line breaks. Word subtracts only spaces, so on text broken into many short lines Word reports slightly more. If the text came from a layout tool, strip the extra whitespace before counting — double spaces are paid for and never seen.
Using the tool
The character counter runs entirely in your browser — no server, no upload, no account. Paste your text and everything updates at once: characters with and without spaces, letters by script, digits, spaces, punctuation, visible characters, unique characters, UTF-8 bytes, how much room is left against the X, Instagram, LinkedIn and title-tag limits, and how many SMS segments the text costs.