A character counter counts every letter, digit, punctuation mark, symbol and space in a piece of text. Paste your text in and it shows two totals: characters with spaces, which most limits use, and characters without spaces. The sentence Hello, world! 2026 has 18 characters with spaces and 16 without.
Most of the time that is all you need. This guide explains the cases where counts get less obvious, such as line breaks, emoji, accented letters and invisible characters, and why a platform like X or a text message can disagree with your counter.
What a character counter counts
Here is how a typical character counter treats each kind of character:
| Type | Examples | Counted? |
|---|---|---|
| Letters | a, Z, é, ß, ж | Yes, one each |
| Digits | 0–9 | Yes, one each |
| Punctuation and symbols | . , ! ? ’ @ # $ % & | Yes, one each |
| Spaces | The space bar, tabs, non-breaking spaces | Yes, in the “with spaces” total |
| Line breaks | Pressing Enter | Usually yes, as one character |
| Emoji | 🙂 👍🏽 🇵🇰 | Depends on the tool (see below) |
Character count versus word count
A word count tells you how many words there are; a character count tells you how long the text physically is. You can’t convert reliably from one to the other, because word length varies. “I saw it” is three words and 8 characters, while “Unquestionably extraordinary” is two words and 28 characters.
Use whichever unit the limit is set in. Essays and articles are usually limited in words. Social media posts, text messages, page titles and many form fields are limited in characters. If you need both, a counter that shows them side by side saves switching tools.
With spaces and without spaces
Take this short note, written on two lines:
Café opens at 8.
See you there!- 31 characters with spaces: 22 letters, 1 digit, 2 punctuation marks, 5 spaces and 1 line break.
- 25 characters without spaces: the same total minus the 5 spaces and the line break, because line breaks and tabs count as whitespace.
When instructions don’t say which figure to use, assume spaces count. Our guide to counting words and characters lists common limits and when each figure applies.
Characters, letters and numbers
A character count is not the same as a letter count. In Hello, world! 2026, there are 18 characters, but only 10 letters. The rest are 4 digits, 2 punctuation marks and 2 spaces.
Most limits count every character, so a letter count is rarely what you need. It does come up in word games, puzzles and some handwriting or typing exercises. Our Word Counter doesn’t show letters on their own, so for a short phrase the simplest method is to take the count without spaces and subtract the digits and punctuation marks you can see.
How emoji and accented letters are counted
What you see as one character is sometimes stored as several pieces. Computers can count text in three main ways:
- Visible characters (Unicode calls them grapheme clusters): what a reader sees as one character.
- Code points: the individual Unicode values. An emoji with a skin tone is two code points: the emoji and the skin-tone modifier.
- UTF-16 code units: the storage units used inside many programming languages and web browsers. Most emoji take two.
The same characters give quite different totals depending on the method:
| Character | Visible characters | Code points | UTF-16 units |
|---|---|---|---|
| é (typed as one letter) | 1 | 1 | 1 |
| é (e plus a combining accent) | 1 | 2 | 2 |
| 👍 thumbs up | 1 | 1 | 2 |
| 👍🏽 thumbs up with skin tone | 1 | 2 | 4 |
| 🇵🇰 flag | 1 | 2 | 4 |
| 👨👩👧 family | 1 | 5 | 8 |
The two forms of “é” look identical. Which one you get depends on the keyboard, the app or where the text was copied from, so the same word can have different counts in some tools.
The Word Counter counts visible characters, so every row in the table counts as one. That matches what you see on screen, but it means a tool that counts UTF-16 units can report a higher number for text with emoji.
Limits that count characters their own way
Posts on X
X doesn’t count every character equally. According to X’s developer documentation, most Latin letters, digits and punctuation count as 1 toward the 280 limit, while Chinese, Japanese and Korean characters and every emoji count as 2. Every link counts as 23 characters, however long or short it is. A post with several emoji or links can therefore be rejected even though a plain counter shows it under 280.
Text messages (SMS)
A single SMS holds 160 characters when it uses only the basic GSM character set, which covers English letters, digits and common punctuation. If the message contains even one character outside that set, such as an emoji or many non-Latin letters, the phone switches to a different encoding and one message holds only 70 characters. Longer messages are split into parts, and each part holds slightly less (153 or 67 characters) to make room for the information that joins them back together.
Web forms
A form field with a character limit usually counts characters the way the browser stores them, in UTF-16 units. An emoji can therefore use two of the allowed characters. If a field rejects text that your counter says fits, emoji or other symbols are a likely cause.
Six real messages, measured five ways
To show how far apart the methods can be, we measured six realistic messages on December 1, 2026: once with our Word Counter’s code, and once each with the counting rules of browsers, file storage, text messages and X. The SMS and X columns apply the published rules (the GSM 03.38 alphabet for SMS, and X’s weighting) with our own script; carriers and apps can differ slightly in edge cases.
| Message | Word Counter | Browser (UTF-16) | Bytes (UTF-8) | As a text message | X weighted |
|---|---|---|---|---|---|
| Appointment reminderHi Sara, your appointment is on Tue 3 Dec at 10:30. Reply YES to confirm or call 0300 1234567 to change it. | 107 | 107 | 107 | 1 part (GSM-7, 107 of 160) | 107 |
| The same reminder with 🙂 added… to change it. 🙂 | 109 | 110 | 112 | 2 parts (UCS-2, 110 units; limit 70) | 110 |
| Sale text with € and bracketsSale [today only]: jackets €40 {was €60}. | 41 | 41 | 45 | 1 part (GSM-7, 47 of 160) | 43 |
| Urdu delivery messageالسلام علیکم! آپ کا آرڈر کل پہنچ جائے گا۔ | 41 | 41 | 73 | 1 part (UCS-2, 41 of 70) | 41 |
| Post with a link and 👇New guide: … 👇 https://www.quicktoolsworld.com/blog/how-to-create-a-qr-code | 114 | 115 | 117 | 2 parts (UCS-2) | 78 |
| Family and flag emoji👨👩👧 🇵🇰 | 3 | 13 | 27 | 1 part (UCS-2, 13 units) | 5 |
What the measurements show:
- One emoji can double the cost of a text message. The plain reminder fits in one 160-character message. Adding a single 🙂 switches the whole message to the larger encoding, where the limit is 70, so the same reminder becomes two parts. If you pay per message, check for emoji before sending in bulk.
- Some ordinary symbols count double in SMS. €, [ ], { }, ^, ~, | and \ are in the GSM extension table and take two places each, which is why the 41-character sale text uses 47 of its 160.
- Non-Latin scripts are not “heavier” on X, but they are in SMS. The Urdu message counts as 41 on X, the same as its visible length, because Arabic script is weighted 1. As a text message it must use the 70-character encoding.
- Links are fixed-length on X. The post’s 60-character address counts as 23, so the post scores 78 even though it is 114 characters long.
- Bytes matter for storage, not for reading. The Urdu text is 41 characters but 73 bytes, because each Arabic letter takes two bytes in UTF-8. Databases and some QR code limits count bytes, which is why our QR Code Generator shows a byte counter rather than a character counter.
Why tools report different totals
- Emoji and combined characters, counted as visible characters by some tools and as several units by others.
- Line breaks. Windows can store a line break as two characters (carriage return and line feed). Some tools count them as two, others as one.
- Invisible characters. Text copied from web pages or documents can contain zero-width spaces or non-breaking spaces. You can’t see them, but they are counted. A zero-width space even counts toward the “without spaces” total in many tools, because it isn’t treated as whitespace.
- Trailing spaces and blank lines at the end of pasted text.
- Smart punctuation. Curly quotes and dashes are single characters, but some systems convert them to plain characters or to codes, which can change the total.
If an exact count decides whether your text is accepted, trust the count of the place you are submitting to and leave a small margin.
Counting characters in Word, Google Docs and Excel
- Microsoft Word: select Review › Word Count, or click the word count in the status bar. The window shows characters with and without spaces.
- Google Docs: select Tools › Word count or press Ctrl + Shift + C (⌘ + Shift + C on a Mac). See our step-by-step guide to checking the word count in Google Docs, including on a phone.
- Excel and Google Sheets:
=LEN(A1)counts the characters in cell A1, including spaces.=LEN(SUBSTITUTE(A1," ",""))counts them without ordinary spaces. Emoji may count as more than one character in spreadsheet formulas, so check them separately if they matter.
Using the Word Counter as a character counter
QuickToolsWorld doesn’t have a separate character counter, because the Word Counter already shows character totals:
- Open the Word Counter and type or paste your text.
- Read Characters for the total with spaces, line breaks included, and Characters (no spaces) for the total without them.
- Edit the text in the box until it fits. The totals update with every change.
- Select Copy text to copy the edited version back to where you need it.
Emoji and accented letters count as one character each, matching what you see. Your text is counted in your browser and isn’t uploaded or stored.
Frequently asked questions
Do spaces count as characters?
Yes, in most character limits. Spaces, tabs and usually line breaks are included in the standard character count. Some counters also show a total without spaces, which you should use only when the instructions ask for it.
How do I count characters without spaces?
Use a counter that shows both totals, such as our Word Counter’s “Characters (no spaces)” figure, or Word’s Word Count window. In Excel or Google Sheets, =LEN(SUBSTITUTE(A1," ","")) counts a cell without its ordinary spaces.
Are emojis counted as one character?
It depends on the tool. Counters that measure visible characters, like ours, count each emoji as one. Many systems count the stored units instead, so a simple emoji counts as 2 and a family or flag emoji can count as 4 or more. X counts every emoji as 2.
Does punctuation count as characters?
Yes. Full stops, commas, quotation marks, apostrophes and symbols such as @ and # each count as one character, both with and without spaces.
Do line breaks count as characters?
Usually yes, as one character each, and they count as whitespace in a total without spaces. Some programs count a Windows line break as two characters, so very tight limits are worth checking in the system you will submit to.
Why does X say my post is too long when my counter shows less than 280?
X weights some characters more heavily. Emoji and Chinese, Japanese and Korean characters count as 2, and every link counts as 23 characters. A standard counter counts each of these differently, so trust the counter in the X app when you are close to the limit.
For other quick text jobs, such as fixing capitalization, see the full list of tools.