This character counter counts characters the way your eyes do, so an emoji or an accented letter like é counts as one. Paste or type in the box and you get the character count instantly, plus characters without spaces, letters, digits, spaces, line breaks and UTF-8 bytes. Below the numbers, progress bars show how close your text is to common limits on X, Instagram, SMS, WhatsApp, YouTube and Google search results.
It works as a letter counter too: the Letters line counts only alphabet characters, leaving out numbers, spaces and punctuation. Everything is counted in your browser, and the Clear button empties the box.
One message, counted line by line
Here is a birthday wish many of us have typed at least once:
Happy Birthday bhai 🎂
| Stat on the page | Result | Why |
|---|---|---|
| Characters | 21 | 17 letters + 3 spaces + 1 emoji |
| Characters without spaces | 18 | 3 spaces removed |
| Letters | 17 | Happy (5) + Birthday (8) + bhai (4) |
| Digits | 0 | No numbers |
| Spaces | 3 | Between the four parts |
| Line breaks | 0 | It is a single line |
| UTF-8 bytes | 24 | 20 plain characters at 1 byte each, the cake emoji takes 4 |
Notice the gap between 21 characters and 24 bytes. That gap is the whole story of why apps disagree, so let's look at it.
Why X, your SMS app and this page show different numbers
Computers don't store "characters". They store code units, and different systems count different units.
- X (Twitter) uses weighted counting. Most emoji count as 2 toward the 280 limit, and so do characters from scripts like Chinese or Japanese. Our birthday wish counts as 21 here but 22 on X.
- SMS has two modes. With plain English letters (the GSM-7 set), one message holds 160 characters. Add a single emoji or any Hindi text and the phone switches to UCS-2 encoding, and the limit drops to 70. Our birthday wish is short enough either way, but a 120-character message with one emoji at the end gets split into two SMS parts.
- Databases and APIs often limit bytes, not characters. A plain English letter is 1 byte in UTF-8, "é" is 2, a Hindi letter is 3 and most emoji are 4. So "café" is 4 characters but 5 bytes, and a 100-character Hindi bio can be close to 300 bytes.
The Characters number on this page is the "what a human sees" count, which is what most people mean when they ask how long their text is. The bytes number is there for developers and for anyone filling a form that rejects text even though it looks short enough.
The limit bars, with notes from real use
| Bar | Limit | Note |
|---|---|---|
| X post | 280 | For free accounts. Emoji count double on X, so leave a little room. |
| Instagram bio | 150 | Line breaks count as characters too. |
| Instagram caption | 2,200 | Only the first line or two show before "more", so put the point up front. Instagram now allows at most 5 hashtags per post. |
| SMS | 160 | Drops to 70 per part if you use emoji or Hindi. |
| WhatsApp About | 139 | The short status line under your name. |
| YouTube title | 100 | Long titles get cut on phones well before 100, so front-load keywords. |
| SEO title | 60 | A guideline, not a hard rule. Google trims by pixel width, so wide letters run out sooner. |
| Meta description | 160 | Also a guideline. Google may show a shorter or different snippet. |
Because the bars count emoji as one character, treat the X and SMS bars as a close guide when your text has emoji, not an exact match. I chose to keep one honest "visible character" count on the page instead of pretending to copy every app's private rules, which change from time to time anyway.
Bytes vs characters if you build things
If you write code, the bytes line saves a few headaches. A column declared for 255 characters in a modern database usually holds 255 characters, but older MySQL tables using the legacy "utf8" setting cannot store emoji at all, and many APIs, push notification services and file formats cap payloads in bytes. Paste the longest real value you expect, including Hindi names and emoji, and check both numbers before you settle on a field size. If you are turning a title into a URL, the text to slug generator will strip the characters that make bytes balloon.
Ways to cut text down to a character limit
- Clean the spacing first. Text copied from PDFs often hides double spaces and stray line breaks. Running it through remove extra spaces can save a surprising number of characters for free.
- Swap long phrases for short ones. "In order to" becomes "to". "At this point in time" becomes "now".
- Drop filler adverbs. "Really", "very" and "actually" rarely add meaning.
- Use digits. "Twenty five" is 11 characters, "25" is 2.
- Watch the emoji. One emoji is one character here, two on X and enough to cut your SMS limit to 70.
- For bios, pick one idea per line. If you are stuck, the Instagram bio generator has short ideas that already fit 150.
Things this counter will not do
It counts and compares against the limits listed above, nothing more. It does not know your exact SMS split points, and it doesn't apply X's weighting, so a post sitting at exactly 280 here may be a little over on X if it has emoji. It also doesn't check spelling or rewrite anything for you. For essays where the rule is words rather than characters, the word counter is the page you want, with reading and speaking time included.
A note on complex scripts: Hindi and other Indian languages build some letters from more than one Unicode piece (a consonant plus a vowel sign, for example). This page groups them the way they display, but individual apps may count those pieces separately, so a Hindi caption can look slightly longer to Instagram or an SMS app than it does here. When you are right at a limit with Hindi text, leave a few characters spare.
Character count, letter count, byte count: all three update the moment you type, which makes this the quickest way to count characters before you hit post.