Free online tools

Character Counter

Check a form field, caption, or short draft. The counter shows visible characters, words, and storage length so you can choose the measurement your destination uses.

Enter your values

This tool processes your input in your browser.

Result

Choose the right length for your job

Use the character total for a length based on what a reader sees. Use the total without whitespace when a submission excludes spaces, tabs, and line breaks. Use UTF-8 bytes when an upload format or database gives its limit in bytes. JavaScript string length, measured in UTF-16 code units, is another common limit for web applications.

Why emoji and accents change the totals

A flag uses multiple Unicode code points and normally appears as one symbol. An e followed by a combining acute accent similarly appears as one letter. In modern browsers, grapheme segmentation counts each of these as one character. The byte and UTF-16 totals can be larger, and different forms of visually identical text can have different byte lengths.

Frequently asked questions

How do I count characters without spaces?

Look at the total without whitespace. It excludes whitespace characters such as ordinary spaces, nonbreaking spaces, tabs, and line breaks. Punctuation still contributes to the count.

Will every app report the same character count?

Some apps apply their own rules for links or use UTF-16 code units instead of visible characters. Compare the app’s stated rules with the individual measurements shown here.

How are words counted?

The browser’s word segmentation recognizes word-like units, including numbers, and excludes standalone punctuation and emoji. Older browsers use a simpler Unicode letters-and-numbers rule.