Text & writing â—Ź Local processing

Character Counter

Count displayed characters, Unicode letters and number characters, whitespace, and UTF-8 bytes in text.

Preparing tool…
Try a small example

Try a small example

Load the fictional example in a cleared form. Check the options, run the tool if needed, and compare the result below.

Compare displayed-character counts with whitespace included or excluded, Unicode letters and number characters, whitespace, and UTF-8 byte size. Paste text and run the counter. Modern browsers count grapheme clusters (what people usually see as one character); older browsers use Unicode code points, which can split a combined character or joined emoji into several counts. The UTF-8 byte total measures encoded text size. For example, 🚀 is 1 grapheme and 4 UTF-8 bytes. Spaces and line breaks are included in the character and byte totals; the second character count excludes whitespace. Letter and number-character totals count Unicode code points. Number characters include decimal digits, fractions and numeral letters such as Roman numeral four (U+2163, a single Unicode character representing IV). Character counts depend on the unit: modern browsers use grapheme clusters, while the fallback uses Unicode code points and can count joined emoji or combining marks differently. Different services define their limits differently; this tool does not enforce a platform-specific limit.

Text to count

A1 Ă©

Expected output

Character count (grapheme clusters; includes whitespace): 4
Character count (grapheme clusters; excluding whitespace): 3
Unicode letters (code points): 2
Unicode number characters (code points): 1
Whitespace characters (code points): 1
UTF-8 bytes: 5

The example is unavailable until the tool is ready.

Text is processed in your browser.

âś“ Local processingâś“ No accountâś“ Inputs processed hereâś“ Free

Quick answer

Compare displayed-character counts with whitespace included or excluded, Unicode letters and number characters, whitespace, and UTF-8 byte size.

The page and its assets load from the site; this operation uses your entered values only in this browser and does not send them to a calculation endpoint.

How to use it

Paste text and run the counter. Modern browsers count grapheme clusters (what people usually see as one character); older browsers use Unicode code points, which can split a combined character or joined emoji into several counts. The UTF-8 byte total measures encoded text size. For example, 🚀 is 1 grapheme and 4 UTF-8 bytes. Spaces and line breaks are included in the character and byte totals; the second character count excludes whitespace. Letter and number-character totals count Unicode code points. Number characters include decimal digits, fractions and numeral letters such as Roman numeral four (U+2163, a single Unicode character representing IV).

Limits

Character counts depend on the unit: modern browsers use grapheme clusters, while the fallback uses Unicode code points and can count joined emoji or combining marks differently. Different services define their limits differently; this tool does not enforce a platform-specific limit.

Frequently asked questions

Why do character counts and bytes differ?

Modern browsers count grapheme clusters for characters; UTF-8 bytes measure encoded size. For example, 🚀 counts as 1 grapheme and 4 bytes.

Are spaces included?

Yes. The first character count and the UTF-8 byte total include spaces and line breaks. The second character count excludes whitespace.

Can this match every app’s limit?

No. Services may count grapheme clusters, code points, bytes or other units. Older browsers use code points as a fallback, which can split combined accents and joined emoji differently.

Sources and references

These references document the cited standard or browser API; they do not validate the tool’s output.