Text Tools

Character Counter

Count characters with and without spaces, letters, digits and lines.

Results are provided for general informational use. Verify important financial, health or legal figures before relying on them.

About this Character Counter

The Character Counter is useful when a form, profile, ad, title or code field has a strict length limit. It separates total characters from characters without whitespace and also counts basic Latin letters, digits and line breaks.

Character limits are enforced by countless platforms, from social media posts and SMS messages to form fields and title tags for SEO, and manually counting characters is impractical for anything beyond a very short phrase.

How to use it

  1. Type or paste text.
  2. Read the live totals below the input.
  3. Edit the text until it meets your required length.

Practical example

The text “Dekuz 2026” has 10 total characters including the space, 9 characters without whitespace, 5 letters and 4 digits.

The phrase Hello, world! contains 13 characters including spaces and punctuation, or 10 characters if only letters are counted, illustrating why character count needs a precise definition before it's meaningful.

Things to double-check

Character count can mean different things depending on context; some limits count spaces as characters while others don't, and some systems count certain symbols or emoji as multiple characters internally, so check exactly which counting method the specific platform uses.

Counting with and without spaces

The counter shows the number of characters including spaces and excluding spaces. The sentence Hello world has 11 characters with the space and 10 without. Platforms that set limits usually count spaces, but some forms and assignments ask for characters without spaces, so check which one applies. The tool also reports letters, digits and lines so you can see the structure of the text.

Common limits

Social media, search engines and messaging all limit length. A post on X is limited to 280 characters, and an Instagram caption to 2,200. A search result title of about 60 characters and a description of about 160 usually display in full. An SMS using the standard GSM alphabet holds 160 characters in one segment, but a message with Urdu, Arabic or emoji uses Unicode and holds only 70 characters per segment.

Special characters and emoji

Not every character counts as one. An emoji can count as two or more characters on some platforms, and accented letters may be stored as several bytes. Line breaks count as characters in some systems. If you are near a limit, test the text in the platform itself, as its counting rules may differ slightly from a general counter. Leave a margin for safety when you publish.

Editing to fit

To shorten text without losing meaning, remove filler words such as very, really and just, replace long phrases with short ones, and use numerals instead of words for numbers. For titles put the key terms first so a cut-off does not hide them. Count again after each edit. Keep a record of the limits for the places you publish most often, such as your website title tags and social profiles.

Planning an SMS

A single SMS can hold 160 characters from the standard GSM alphabet, but a longer message is split into segments of 153 characters each, because part of every segment is used for joining them. Some symbols, such as curly brackets, square brackets, the tilde and the euro sign, count as two characters. A single character outside the GSM set, such as an Urdu letter or an emoji, switches the whole message to Unicode, where a segment holds only 70 characters, or 67 when joined. Check the count before you send to avoid paying for extra segments.

Forms and applications

Application forms, personal statements and bios often set limits such as 500 or 4,000 characters. Check whether spaces and line breaks count, since the form will say. Copy the final text into the counter, adjust it, and then paste it into the form, where you can confirm the count. Remember that characters are not bytes: a letter in Urdu or Arabic takes more than one byte in UTF-8, which matters for databases with byte limits, but a form that counts characters will count each letter once.

Worked example: counting a sentence

The sentence The quick brown fox jumps over the lazy dog. has 44 characters including spaces and the full stop. It has 35 letters, 8 spaces and 1 punctuation mark, so there are 36 characters without spaces. The counter shows these figures along with the number of letters and digits, which helps when a form asks for one specific measure. If the limit is 280 characters, this sentence uses about 16 percent of it, which leaves 236 characters, and you can see at a glance how much room remains.

Lengths that matter for search

Search results show only part of a page's title and description. A title of about 50 to 60 characters usually appears in full, and a description of about 120 to 160 characters is typical, although the real limit depends on pixel width and device. Image alternative text is best kept to a short description, often under 125 characters. Web addresses are easier to share when short. Use the counter as you write these elements, and do not worry if a title is a few characters over, as long as the important words come first.

Limits on social and messaging platforms

Many platforms set limits. A post on X is limited to 280 characters, an Instagram bio to 150 and a caption to 2,200, and a LinkedIn post to about 3,000. Google Ads headlines allow 30 characters each. SMS messages hold 160 characters in the basic alphabet and 70 when they include characters outside it, such as Urdu letters or emoji. Limits change, so check the current rules of the platform, and draft in the counter first, then paste the final text where it will be published.

Why counts can differ between tools

Counting characters is not as simple as it looks. Some programming languages count in units that treat an emoji as two characters, and an emoji made from several parts, such as a family, as many. An accented letter may be stored as one character or as a letter plus a separate accent mark. Databases may limit bytes, not characters, so one letter in Urdu or Arabic can take two bytes. Hidden line breaks and spaces at the ends of lines also count. If a platform shows a different number, trust the platform's count.

Key terms explained

A character is a single letter, digit, space or symbol. Counting with spaces includes the spaces and counting without spaces leaves them out. A line break is a character that ends a line. A grapheme is what a reader sees as one character, which may be made of several code points. A byte is a unit of storage, and one character may use several bytes. A limit is the maximum length allowed. A meta description is the summary shown under a search result title.

Rules of thumb and quick checks

An English word averages about five letters, so 280 characters is about 45 to 50 words. A title of 60 characters and a description of 160 are common search targets. A basic SMS holds 160 characters. Leave a few characters of margin under any limit, and test the final text in the place where it will be published, since platforms may count emoji and line breaks differently.

Frequently asked questions

Are spaces included in total characters?

Yes.

Does it count line breaks?

Line breaks contribute to the total character count and the tool also shows the number of lines.

Does it count every Unicode letter as a letter?

The dedicated letter statistic currently counts basic A–Z Latin letters, while total characters include other text characters too.

Does this counter include spaces by default?

This tool typically shows both counts, with and without spaces, since different platforms define character limits differently regarding whether spaces count.

Why might a platform's character count differ slightly from this tool's count?

Some platforms count certain special characters or emoji as more than one character internally, which can cause a platform's official count to differ from a simple character-by-character count.

Keep exploring

More Text Tools

View category →