Skip to content

Character Counter

Count every character (with or without spaces) in a piece of text — instantly.

Text & Document Runs client-side Free to use
Jump to the tool
Share: X WhatsApp
Loading Character Counter…

About the Character Counter

Character Counter gives you two numbers as you type: the total number of characters including every space, and the same total with all whitespace removed. Both update on every keystroke, so you can paste a draft, trim it, and watch it drop under a limit without clicking anything.

How to use

  1. Type or paste your text into the box.
  2. Read the two counts underneath — with spaces, and without.
  3. Edit in place until you are under your limit, or press Reset to start again.

Characters or words — which limit are you hitting?

Most hard limits are counted in characters, not words, because they map to storage or display width: an SMS segment is 160 characters, a Google meta description is truncated near 155, an HTML maxlength attribute is a character count, and a database VARCHAR column is sized in characters. Word limits tend to be editorial rather than technical — essay briefs, article specs, abstract lengths. If your limit came from a form, a platform or a schema, it is almost certainly a character limit; if it came from a person, it is probably a word limit and the Word Counter is the tool you want.

How whitespace is handled

The "with spaces" count is the raw length of what you typed. Every space, tab and line break counts, and a Windows-style line ending counts as two characters because it is a carriage return followed by a newline. The "no spaces" count strips all whitespace first — including tabs, line breaks and non-breaking spaces pasted in from a word processor — and then measures what is left. The gap between the two numbers is a quick way to see how much of a pasted block is actually formatting.

One limitation worth knowing

Counting is done the way JavaScript measures string length, which is in UTF-16 code units rather than visible characters. For English, European languages and most Indic scripts that is the same number. It differs for emoji and a few symbols: 😀 counts as 2, and an emoji built from several joined parts — a flag, or a family — can count as 4 or more. Platforms differ on this too. X counts most emoji as 2, so the number here will usually match; some form validators count them as 1. If your text is emoji-heavy and the limit is tight, check against the target platform before you publish.

Common use cases

  • Trimming a meta description to fit Google's display width before pasting it into a CMS.
  • Checking that a bio, headline or product title fits a field's maxlength without waiting for the form to reject it.
  • Estimating SMS or notification cost, where every 160-character block is billed as another segment.
  • Confirming that imported data fits a fixed-width database column before a migration fails on one long row.
  • Measuring a caption against a specific platform's limit — the Social Media Character Counter shows all the platform limits side by side.