How to use it
This character counter tells you how many characters, characters without spaces, words and lines your text contains, all in one pass. Emoji, flags and letters built from several code points count as one character each, which matches what a reader actually sees. Use it to stay within limits for meta descriptions, social posts, SMS messages, form fields or app store copy before you publish.
Using the character counter
- Type or paste your text into the input box.
- Start the count with the "Run tool" button or the Ctrl + Enter shortcut.
- Read the four results: characters, characters without spaces, words and lines.
- Edit the text and run the count again until it fits your target length.
What each number means
- Characters counts every visible unit plus spaces, tabs and line breaks. Typing "Hello world." then pressing Enter and typing "Second line here" gives 29.
- Characters without spaces removes all whitespace, including line breaks. The same example gives 25.
- Words counts runs of text separated by whitespace. The example has 5. Hyphenated terms such as "state-of-the-art" count once, and so do URLs and email addresses.
- Lines counts the pieces between line breaks. The example has 2. A trailing line break adds an empty final line, so a text ending with Enter reports one more line than you might expect.
Graphemes, code units and bytes: why counts disagree
"One character" means different things to different systems. This tool splits text into grapheme clusters, the Unicode term for what a person perceives as a single symbol. Programming languages and databases often count something smaller. The table compares three common methods:
| Text | This tool | JavaScript length (UTF-16 units) | UTF-8 bytes |
|---|---|---|---|
| A | 1 | 1 | 1 |
| Letter a plus a combining ring (looks like a single accented a) | 1 | 2 | 3 |
| 🇯🇵 (flag) | 1 | 4 | 8 |
| 👍🏽 (emoji with skin tone) | 1 | 4 | 8 |
| 👨👩👧 (family emoji) | 1 | 8 | 18 |
This matters in practice. HTML form fields enforce maxlength in UTF-16 code units, so a thumbs-up with a skin tone uses 4 of the allowed characters. Some database columns and APIs limit bytes rather than characters. If your text is full of emoji and you are right at a limit, leave a small margin or test it in the destination itself.
Commonly cited limits worth checking
These figures are widely quoted guidelines rather than fixed platform rules, and some of them change over time. Search results, for instance, truncate titles and descriptions by pixel width, so wide letters run out of room sooner than narrow ones.
| Where | Commonly cited limit | Note |
|---|---|---|
| Title tag | 50 to 60 characters | Includes any brand name you append |
| Meta description | 150 to 160 characters | Often shorter on mobile results |
| Short-form social post | 280 characters | Links may be counted by the platform's own rule |
| Single SMS segment | 160 characters (GSM 7-bit) | Drops to 70 when the message needs Unicode, for example because of emoji |
| Subtitle line | About 42 characters | A frequent guideline for readability |
For the reasoning behind each number and more platforms, read the character limits guide.
Where the counter saves rework
- Writing meta tags: check a description before it goes live instead of discovering the truncation in search results. When the headline is final, turn it into a URL with the slug generator.
- Testing form validation: paste emoji, flags and combined letters to see how your own field behaves against a grapheme count.
- Localization: translated strings are often longer than the source. Counting both versions shows whether a button label or push notification will still fit.
- Editing to a brief: abstracts, cover letters and ad copy often come with word or character caps.
- Reviewing edits: when two versions of a text differ in length, the text diff checker shows exactly which lines changed.
Why your word processor may report a different word count
Word processors apply their own rules for punctuation and symbols. Here, a dash surrounded by spaces counts as a word, because it is a separate run of non-space text, while "don't" and "e-mail" count once. Differences are usually a handful of words. If an exact figure matters for a submission, use the tool the recipient uses.
Trimming text to fit a limit
Going a few characters over rarely needs a rewrite. Write numbers as digits ("three weeks" becomes "3 weeks"), drop intensifiers such as "really" and "very", and replace "in order to" with "to". Move a brand name to the end of a title so that truncation removes the brand rather than the message. In byte-limited fields, swapping an emoji for a short word frees far more room than its single on-screen symbol suggests.
Privacy
Counting happens in JavaScript inside your browser tab. The text you paste is not sent to the server, and the page only records an anonymous usage count, so drafts and private messages stay with you. More helpers for writing are listed under text tools.