Writing tool

Character Counter

Measure text precisely with separate totals for whitespace-inclusive and whitespace-free character counts.

Practical advice & troubleshooting

Check a text limit

Count your characters

Add an optional limit to see how much space remains or how far your text goes over.

Try it first

“Hello world.” with a limit of 20 gives 12 characters, 11 without whitespace and 8 remaining.

The limit compares against characters including spaces and line breaks.

Character totals

0with whitespace
0without whitespace

The quick guide

Choose the count your form expects

Some platforms include every separator; others describe a limit as letters or characters without spaces.

With whitespace

This total includes spaces, tabs, and line breaks. It is usually the safer comparison for social posts, form fields, and title limits that say simply “characters.”

Without whitespace

This total removes whitespace before counting. It can help with editorial instructions that ask for letters or characters excluding spaces.

Example and limitation

Why one character may look different

The tool counts Unicode grapheme clusters, so a visible emoji or combined accented character is treated as one character. Browsers without Intl.Segmenter use a Unicode code-point fallback, which may count some joined emoji sequences differently. A third-party service may also use a different definition, especially for links or emoji sequences.

FAQ

What does the optional limit compare?

It compares the limit with the “with whitespace” total, including line breaks.

Can I enter a decimal limit?

No. A limit represents a whole number of characters, so the field accepts positive integers only.

What happens when I remove the limit?

The two character totals remain available, while the remaining or over-limit message is hidden.

Use the result well

Check the exact text that will enter the field

Character limits often apply to spaces and line breaks as well as letters. Use the inclusive total for a strict form unless its own rules explicitly say otherwise; the optional limit is a comparison, not automatic truncation.

A title must fit a short form field

Paste the final title and enter the field’s stated character limit.

Check: Review remaining characters after adding punctuation and spaces. A negative remainder means the draft is still over the limit.

A message contains emoji or combined accents

Compare this count with the destination field before sending.

Check: This tool uses grapheme clusters where available. A destination may count code points or code units instead.

When the result needs a second look

Why is the total larger than letters plus punctuation?

The inclusive total also counts whitespace. Check for a pasted trailing space, a blank line or an extra line break. Use the without-whitespace number only when that matches the recipient’s rule.

Why can an over-limit draft still be typed?

The optional limit reports remaining or excess characters; it does not block input or delete the end. Revise deliberately so the important words survive, then check the actual destination field.

Checked against this tool’s inputs and behavior on . How we check the guides · Report an unclear or incorrect result.