WordsPolish.
← All Tools

Character Counter

Character counts with and without spaces, plus the exact limits platforms actually enforce.

This tool runs entirely in your browser. Nothing you type or paste here is ever sent to a server — see how the calculations work.

This counts characters two ways at once: with spaces included, and with them stripped out. Word count and character count answer different questions — a word counter tells you roughly how much you've written; a character counter tells you whether it will fit in a field with a hard limit, like a tweet, a bio, or a database column.

Character limits show up constantly in places word counters can't help with: social bios, SMS messages, meta descriptions, form fields with a maxlength attribute. This tool exists for that narrower, more literal question — will this fit?

Character counts appear here as you type.

0

With spaces

0

Without spaces

With spaces vs. without spaces, and why platforms disagree

"With spaces" is the length of the string exactly as typed — every space, tab, and line break counts as one character. "Without spaces" strips all whitespace characters first, which is the number some print and academic style guides use for estimating manuscript length (a rough rule of thumb from the pre-digital publishing era was roughly 6 characters per word including one trailing space, which is where "characters without spaces" as a metric comes from).

The harder issue is that not all platforms count a "character" the same way at the code level. Many count characters as UTF-16 code units — the internal representation JavaScript strings use — which means a single emoji or certain accented characters composed from combining marks can silently count as two characters instead of one, because they're represented by a surrogate pair or multiple code points. X (formerly Twitter) has documented that some emoji and complex characters count as more than one character toward its limit for exactly this reason, even though a human reading the text sees one visible glyph (a "grapheme"). This tool reports the straightforward JavaScript string length (UTF-16 code units), which matches how most Western social platforms actually enforce their limits, but it's worth knowing this is a different number from a simple "how many glyphs do I see" count if your text is emoji-heavy.

For plain ASCII text — ordinary English letters, numbers, and punctuation — none of this matters: one visible character is one code unit is one grapheme, and every counting method agrees.

Who uses this

  • Fitting a bio into Instagram's 150-character limit or a post into X's 280-character limit before pasting it in live.
  • Checking an SMS message length against the 160-character-per-segment limit carriers use for standard GSM-encoded texts.
  • Filling out a form field with a stated maxlength, like a product title or a database column with a fixed size.
  • Comparing with-spaces and without-spaces counts when a submission guideline specifies one but not the other.

Edge cases to know about

  • Emoji, some accented characters, and certain symbols can count as 2 or more characters even though they look like a single character on screen — see the platform-specific /limits/ pages for which platforms this actually affects.
  • Line breaks count as one character each toward the with-spaces total, so a heavily line-broken draft (like poetry) can have a much higher with-spaces count relative to its word count than a normal paragraph.
  • Tabs, if pasted from a spreadsheet or code editor, also count as a single character each here, even though they visually take up more horizontal space than a regular space.

Related tools

FAQ

Why do X and Instagram count characters differently for the same text?
Both largely count UTF-16 code units, but X has published specific rules for how certain emoji and CJK (Chinese/Japanese/Korean) characters count toward its 280-character limit, sometimes as 2 characters each, which Instagram doesn't apply the same way. Always check the specific /limits/ page for the platform you're posting to rather than assuming counts transfer between platforms.
Should I use the with-spaces or without-spaces count?
Use with-spaces for anything a platform or form field will actually store and display — that's the number enforced by a maxlength limit. Without-spaces is mainly useful for the older print-publishing convention of estimating manuscript length, or for comparing raw character density between drafts independent of spacing.
Does this count HTML tags if I paste rich text?
Yes — if you paste text that still contains visible HTML markup (e.g. you copied from a code view), every character of that markup is counted, since the tool has no way to know it wasn't intended content. Use /text-cleaner/ first to strip formatting before counting plain-text length.