Skip to main content

Character Counter

Character limits are everywhere — social posts, SMS segments, page titles, meta descriptions, ad copy — and they are all slightly different. This counter shows characters with spaces, without spaces, words, and lines side by side, and checks your text against any limit you enter.

Counts update as you type, and the counting happens in your browser only.

Characters are Unicode code points — an emoji or an accented letter counts once. Counted in your browser only.

Characters (with spaces)

25

Characters (no spaces)

22

Words

4

Lines

1

For example 280 for a social post, 160 for one SMS segment, 60 for a page title.

Characters remaining

255

of your 280-character limit.

Embed this calculator on your website →

The formula

characters without spaces = all characters − whitespace characters

  • characters — Unicode code points: “é” is 1 character and an emoji is 1 character, the way a reader counts them — even though some software stores them as two units.
  • whitespace — spaces, tabs, and line breaks all come out in the no-spaces count.
  • remaining — your limit minus the with-spaces count; negative means over.

Worked example: “Short post, honest count.” = 25 characters with spaces, 22 without — three of the twenty-five are the spaces between its four words.

How it works

Type or paste, and the four counts refresh on every keystroke. Enter a limit — 280 for a standard social post, 160 for one SMS segment, 50–60 for a page title, 150–160 for a meta description — and the checker shows what is left, or how far over you are, live.

One honest warning: platforms count characters by their own rules. Some count a link as a fixed length regardless of its real length; SMS segments shrink to 70 characters when the message contains characters outside the basic GSM alphabet (one emoji can do it). This counter gives you the true count of the text itself — the number every other rule starts from.

Examples

  • A post draft → “Short post, honest count.” is 25 characters: with a 280 limit, 255 remain.
  • An accented word → “café” is 4 characters here — the é counts once, as readers see it.
  • A title tag → set the limit to 60 and draft until the remaining count stays non-negative; the title will fit the space search results give it.

Frequently asked questions

Why do some counters give a different number for emoji?

Many emoji are stored internally as two (or more) code units, and naive counters report the storage size. This counter reports Unicode code points — one per visible character — which is what length limits intend. A few compound emoji (flags, skin-tone combinations) are genuinely several code points joined together and count as such everywhere.

Does the no-spaces count remove only spaces?

It removes all whitespace: spaces, tabs, and line breaks. If a limit counts only literal spaces, the with-spaces figure minus the number of line breaks is the number to use.

What limit should I use for a meta description?

Search engines truncate by pixel width, not characters, but 150–160 characters is the common working range. Enter 160 and keep the remaining count at zero or above.

Is my text sent anywhere?

No — counting runs entirely in your browser, on every keystroke. Closing the tab discards everything.