Character Counter

Check Unicode length, UTF-8 bytes and custom limits. Explore SMS segment estimates without sending your text.

Text stays in this browser and is not saved or uploaded. Spellcheck is off.

Load UTF-8 text

Text analysis allows 200,000 characters; static HTML allows one million. Unicode style previews allow 20,000. These bounds protect local processing, not daily usage.

The length counters measure text after this whitespace choice. SMS always measures the complete original text, including spaces.

Grapheme clusters
…
Unicode code points
…
UTF-16 units
…
UTF-8 bytes
…

Line endings use LF as displayed. UTF-8 bytes describe this text, not an imported file’s original byte size. Browser Unicode segmentation versions can differ.

Estimated SMS segments
Encoding
…
Encoded units
…
Segments
…
Units left in the last segment
…

Estimate only. Extended GSM characters use two units. Unicode uses UTF-16 units and keeps grapheme clusters together. Provider packing, smart encoding and send limits can differ. No messages are sent and no costs are calculated.

How to use this tool

  1. Paste text or load a UTF-8 text file. Line endings are normalized to LF, as displayed.
  2. Compare the four length measures. A visible emoji can use several code points and bytes.
  3. Choose whether length counts include whitespace and set a custom maximum in the unit your destination requires.
  4. Expand SMS estimates to compare standard and toll-free packing. Check your provider before sending; nothing is sent here.

Try a known example

A😀 has two grapheme clusters, two code points, three UTF-16 units and five UTF-8 bytes. The combining sequence e + U+0301 has one grapheme cluster, two code points, two UTF-16 units and three UTF-8 bytes.

Try a working example

Questions and useful limits

Why do the four counts differ?

Grapheme clusters approximate user-perceived characters. Code points identify Unicode values; UTF-16 uses one or two units per value, and UTF-8 uses one to four bytes. Combined accents and emoji can contain multiple values. Ask your destination which measure its limit uses.

Are SMS segments guaranteed?

No. The estimate keeps browser grapheme clusters together and accounts for GSM extension characters and UTF-16 units. Providers may use different packing, smart encoding or limits. It does not send messages or calculate prices.

Does excluding whitespace change SMS estimates?

No. The optional whitespace policy affects the four length counters only. SMS always analyzes the complete original text, including spaces and LF line breaks.

More free tools