Calculator and Converter

Character count calculator

Paste or type your text and this tool counts the characters with and without spaces, plus letters, digits, spaces, punctuation, capital and small letters, lines and the size of the text in UTF-8 bytes.

Results

Enter your values to see the result.

About this tool

Enter a limit, such as the length allowed for a post or a form field, and it shows how many characters you have left or how far over you are.

How it is calculated
characters are counted as what you see (an emoji or a letter with an accent is one); letters, digits, spaces (spaces, tabs and line breaks), punctuation and symbols, upper and lower case are counted by their Unicode class; bytes = the size of the text saved as UTF-8; with a limit, remaining = limit − characters (below 0 means you are over)
Worked example
With Your text: Type or paste your text here. Letters, digits, spaces and punctuation are counted separately!; Your limit in characters (0 to skip): 0, the result is: Characters: 93; Characters without spaces: 80; Letters: 76; Digits: 0; Spaces, tabs and line breaks: 13; Punctuation and symbols: 4; Capital letters: 2; Small letters: 74; Size as UTF-8: 93 bytes; Lines: 1.
Good to know
Characters are counted as you see them, so an emoji or a letter with an accent counts as one. The byte size is the size of the text when saved as UTF-8, where some characters need more than one byte. Some platforms count characters in their own way.

Frequently asked questions

Does it count spaces?

Yes, both ways. The first result includes spaces and line breaks, and a separate result shows the count without them.

Why is the size in bytes larger than the character count?

In UTF-8, plain English letters use one byte each, but accented letters, many symbols and emojis use two to four bytes, so the byte size can be larger.

How does the limit field work?

Enter the maximum number of characters allowed. The tool shows the characters remaining, which becomes negative when you are over the limit. Leave it at 0 to skip it.

Related calculators