140 Character Counter: How to Check Text Against a 140-Character Limit

How a 140 character counter works, what counts as a character, and how to check text against 140, 150 or 255 characters or a 10-letter requirement.

A 140 character counter tells you how many characters your text contains, so you can see whether it fits within 140 characters and how much room is left. To use one, paste or type your text, read the total, and compare it with 140. If the total is 140 or lower, the text fits. If it is higher, you need to trim the difference.

That basic answer comes with a qualification. Character counts are only reliable when the counter measures text the same way as the system that enforces your limit. Most plain text in English counts the same way everywhere. Spaces, line breaks, emoji, accented letters and some non-Latin scripts can be counted differently from one system to another.

What counts as a character

In most counters, every visible letter, digit, punctuation mark and symbol counts as one character. Spaces usually count as well, because they take up a position in the text. A 140-character limit therefore usually includes the spaces between words, not just the letters.

  • Letters and digits: normally one character each.
  • Punctuation and symbols, such as commas, full stops, hyphens and the at sign: normally one character each.
  • Spaces: normally counted, though some counters also show a total without spaces.
  • Line breaks: often counted as one character, but sometimes as two or not at all, depending on how the text was created and how the counter handles it.
  • Emoji, accented letters and characters from some scripts: may count as one, two or more, depending on the counting method.

Why two counters can give different totals

Text is stored as a sequence of encoded units, and a single character you see on screen can be made of several units underneath. Counters generally use one of three approaches: counting user-perceived characters (grapheme clusters), counting Unicode code points, or counting the storage units used by a particular encoding, such as UTF-16 code units or bytes.

For ordinary unaccented English text, these methods usually agree. They diverge with emoji, flags, skin-tone modifiers, combined accents and some scripts. For example, many emoji count as one visible character but two UTF-16 code units. An accented letter such as é can be stored as one precomposed code point or as a base letter plus a combining accent, which is two code points that look identical on screen.

The JavaScript snippet below shows the difference between a code-unit count and a count of visible characters. It assumes an environment that supports Intl.Segmenter.

const text = "Hi 👍";

// UTF-16 code units: the emoji counts as 2
console.log(text.length); // 5

// User-perceived characters (grapheme clusters)
const segmenter = new Intl.Segmenter("en", { granularity: "grapheme" });
console.log([...segmenter.segment(text)].length); // 4

If your text contains only standard English letters, numbers, spaces and common punctuation, this difference rarely matters. If it contains emoji or accented characters and sits close to the limit, check it in the system where it will be published or submitted.

Checking text against a 140-character limit

  • Confirm what the limit includes. Some systems count spaces, links or line breaks in particular ways. Check the documentation or field instructions of the system that sets the limit.
  • Paste the final text into the counter, not a draft you plan to edit further.
  • Read the count with spaces unless you know the limit excludes them.
  • If the total is over 140, cut the excess. Shorter synonyms, removing filler words and dropping repeated information usually work better than abbreviations that hurt readability.
  • If the text is near the limit and contains emoji, symbols or non-English characters, test it in the destination system, because its count may differ from the counter's.

Using the same counter for 150 or 255 characters

A counter that reports a total works for any limit, including 150 or 255 characters. There is no need for a separate 150 or 255 character counter. Compare the total with whichever limit applies. The same caveats apply: confirm whether spaces and line breaks are included and, for longer text with special characters, whether the system counts visible characters, code points or bytes.

Byte-based limits need particular care. When a limit such as 255 is enforced in bytes rather than characters, characters outside basic ASCII can take more than one byte each in encodings such as UTF-8. Text that shows 255 characters or fewer in a character counter can still exceed a 255-byte limit. Whether a specific system counts bytes or characters cannot be determined from the number alone, so check its documentation.

Counting 10 letters versus 10 characters

A requirement for 10 letters is not always the same as 10 characters. A character count includes spaces, digits and punctuation, but a letter count includes only alphabetic characters. For example, a two-word name with a space between them has one more character than it has letters.

If an instruction says "10 letters", check whether it means alphabetic letters only or any characters. Some counters report letters or characters without spaces separately. Others show a single total, and you need to subtract spaces and other non-letter characters yourself. For very short text like this, counting by hand is a reliable check.

Gaps to check for your specific case

This guide does not cover any particular counter tool or a specific platform's limits, because those details were not available to verify. Before relying on a count for an important submission, check three things against the relevant system's own documentation or interface: whether the limit is measured in characters, code points or bytes; whether spaces, line breaks and links are counted, and how; and how emoji and accented characters are handled. Also review any online counter's own privacy statement before pasting sensitive text into it. This guide makes no claim about how any specific tool processes or stores text.