Character Counter: Count Characters With & Without Spaces

Paste or type your text to see a live character count, with and without spaces, plus words, lines and bytes. Limit bars show how close you are to X, SMS, Instagram, YouTube and more.

Platform limits

How to use the character counter

This free character counter shows your character count the moment you type. Nothing to click and no sign-up. Here is how it works:

  1. Type or paste your text into the box.
  2. Read the live counts: characters, characters without spaces, words, lines, bytes (UTF-8), letters, digits and an emoji-aware grapheme count.
  3. Check the platform limit bars to see how close you are to the cap for X (Twitter), SMS, Instagram, YouTube, TikTok, LinkedIn or a search result snippet.
  4. Edit until the bar for your platform is no longer red. A bar turns red when you go over its limit.

If you only need a word total, the word counter is built for that.

How the character count is calculated

Each number answers a slightly different question:

  • Characters counts everything you typed, including spaces and punctuation.
  • Characters without spaces is characters - spaces.
  • Words are groups of text separated by spaces. Lines are groups separated by line breaks.
  • Letters and digits count only alphabetic characters and numerals.
  • Bytes (UTF-8) is the storage size of the text. Plain English letters take 1 byte each. Accented letters and emoji take more.

Worked example. Take the text Meet me at 5 pm on Friday, May 8. The tool reports 33 characters. It has 8 spaces, so characters without spaces is 33 - 8 = 25. It has 9 words, 21 letters and 2 digits. Every character is plain ASCII, so it is also 33 bytes.

Why emoji make counts tricky

Some emoji are built from several pieces. A thumbs up with a skin tone, for example, is a thumbs up plus a color modifier. You see one symbol, but the computer stores two.

That is why the tool includes a grapheme count, which counts what you actually see on screen. Try Great job 👍🏽. It shows 11 graphemes, because the emoji counts as one visible symbol. The same text takes 18 bytes in UTF-8, since that one emoji uses 8 of them.

Platforms do not all count the same way, so leave a little room if you use emoji. Watch the limit bars as you edit.

Character limits by platform

The limit bars use these figures:

WhereLimit
X (Twitter) post280
SMS160 (GSM) or 70 (Unicode)
Instagram caption2,200
Instagram bio150
Meta titleabout 60
Meta descriptionabout 160
YouTube title100
TikTok caption4,000
LinkedIn post3,000

Platforms change their rules from time to time, so treat these as a guide and check the app if a limit is critical. The two search limits are approximate because Google cuts snippets by pixel width, not by a fixed character count.

Counting characters for SMS

A text message that fits in one segment can have up to 160 GSM characters or 70 Unicode characters. Using even one emoji or a non-GSM symbol switches the whole message to Unicode, so your limit drops from 160 to 70.

Longer messages are split into segments, and each segment holds slightly fewer characters because some space is used to link the pieces together. A 300-character GSM message, for example, needs 2 segments, while a 150-character Unicode message needs 3, at 67 characters per segment. The tool shows the segment count, so you can see what you will be billed for.

Tips for staying under a limit

  • Put the key point first. Titles and snippets often get cut off at the end.
  • Replace long phrases with short ones before you cut real content.
  • Avoid emoji in SMS unless you need them. They cut your per-message limit sharply.
  • For web pages, aim for a meta title near 60 characters and a description near 160. Write the page copy itself with a text case converter handy to fix capitalization fast.
  • Need placeholder text to test a layout? The Lorem Ipsum generator will fill a box so you can see how the limit bars react.
  • Decorative text from a fancy font generator often uses special Unicode symbols. Those take more bytes and can push an SMS into Unicode, so check the count after you paste.

Spaces, line breaks and invisible characters

Spaces and line breaks count as characters in most places, so the total includes them. Blank-looking characters count too, because they are real characters even if you cannot see them. If your count looks higher than expected, a hidden character may be the reason. The invisible character generator shows what those look like.

Use the characters-without-spaces number when an assignment or form asks for that measure specifically. Use the plain character count when a platform enforces its limit on the full text.

Frequently asked questions

How do I count characters in my text?

Paste or type your text into the box and the character count updates as you go. You see characters with and without spaces, words, lines, bytes, letters, digits and a grapheme count at the same time, so there is nothing to submit or click.

Does a character count include spaces?

The main character count includes spaces, punctuation and line breaks. The tool also shows a separate number without spaces. For example, the text Meet me at 5 pm on Friday, May 8. has 33 characters with spaces and 25 without them.

How many characters can I use in a post on X?

The limit bar for an X (Twitter) post is set to 280 characters. Type or paste your draft and the bar fills as you write. If it turns red, you are over the limit and need to trim your text before posting.

How many characters are in one text message?

A single SMS holds up to 160 GSM characters, or 70 if the message contains Unicode characters such as emoji. Longer texts are split into several segments. The tool shows the number of SMS segments so you can estimate how many messages you will send.

What is the ideal length for a meta title and meta description?

Aim for about 60 characters for a meta title and about 160 for a meta description. These are rough guides, because Google truncates by pixel width, not by character count. The two limit bars let you check your draft against both numbers.

Why is my byte count higher than my character count?

Bytes measure storage size in UTF-8. Plain English letters use 1 byte, but accented letters, symbols and emoji use 2 to 4 bytes each. The text Great job followed by a thumbs up with a skin tone has 12 code points but takes 18 bytes.

Why does an emoji change the count?

Some emoji combine several pieces into one visible symbol, so different tools count them differently. The grapheme count shows how many symbols you actually see. Emoji also use several bytes each, and in an SMS they switch the message to the 70-character Unicode limit.

Is this character counter free, and is my text private?

Yes, the tool is free to use as often as you like, with no sign-up. It counts as you type and shows results instantly. Avoid pasting passwords or other sensitive details into any web page, as a general rule.

Related tools