RepeatText
Writing & List Tools

Character Counter

Count characters the way people see them, and check your text against common platform limits as you type.

Runs on your device. Nothing is uploaded.
Characters0
No spaces0
Letters0
Digits0
Spaces0
Line breaks0
UTF-8 bytes0

Platform limits

  1. Type or paste your text into the box.
  2. Read the live character count, letters, digits, spaces and bytes.
  3. Check the limit bars for X, Instagram, SMS, WhatsApp, YouTube and SEO.
  4. Tap Clear to empty the box.

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 pageResultWhy
Characters2117 letters + 3 spaces + 1 emoji
Characters without spaces183 spaces removed
Letters17Happy (5) + Birthday (8) + bhai (4)
Digits0No numbers
Spaces3Between the four parts
Line breaks0It is a single line
UTF-8 bytes2420 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

BarLimitNote
X post280For free accounts. Emoji count double on X, so leave a little room.
Instagram bio150Line breaks count as characters too.
Instagram caption2,200Only the first line or two show before "more", so put the point up front. Instagram now allows at most 5 hashtags per post.
SMS160Drops to 70 per part if you use emoji or Hindi.
WhatsApp About139The short status line under your name.
YouTube title100Long titles get cut on phones well before 100, so front-load keywords.
SEO title60A guideline, not a hard rule. Google trims by pixel width, so wide letters run out sooner.
Meta description160Also 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.

Questions people ask

How do I count characters in a text?

Paste or type it into the box and the Characters figure appears instantly. Emoji and accented letters count as one each, the way you see them. You also get characters without spaces, letters, digits, spaces, line breaks and UTF-8 bytes, all updating as you type.

Can I use this as a letter counter?

Yes. The Letters line counts only alphabet characters and leaves out numbers, spaces, punctuation and emoji. For 'Happy Birthday bhai' followed by a cake emoji, the page shows 21 characters but 17 letters. Digits and spaces have their own separate counts.

Why does X show a different character count?

X uses weighted counting, where most emoji and some scripts count as 2 toward the 280 limit. This page counts every visible character as 1, so a post with emoji can look like it fits here but run slightly over on X. Leave a few characters spare if your post has emoji.

Why did my SMS split into two messages?

A plain English SMS holds 160 characters, but adding one emoji or any Hindi text switches the phone to UCS-2 encoding, where a single message holds only 70. So a 100-character message with an emoji at the end needs two parts. The SMS bar here shows the 160 limit.

What is the difference between characters and bytes?

Characters are what you see. Bytes are how much storage the text takes in UTF-8. English letters use 1 byte, accented letters like é use 2, Hindi letters 3 and most emoji 4. Databases, APIs and some forms limit bytes, so check that number when text is rejected despite looking short.

What is the character limit for an Instagram bio and caption?

An Instagram bio allows 150 characters and a caption allows 2,200. Both have their own bars on this page, so you can see how close you are while typing. Captions also have a limit of 5 hashtags per post, so keep that in mind when you plan one.

More writing & list tools

Same family, different job.